In your WordPress Admin area, under Settings > General Section, you can see two input fields named WordPress Address (URL) and Site Address (URL) which will auto-populate with the value when you set up a WordPress site.
site_url() function returns the WordPress Address (URL) value. It refers to the directory where you have all WordPress files and folders. For example, if your domain name is https://example.com and the site_url() function returns https://example.com/blog, it means your WordPress is installed from the blog directory. So your admin page URL will be like this: https://example.com/blog/wp-admin.
home_url() function returns the Site Address (URL) value. It means that where you have set your homepage. For example, if you set your Site Address (URL) to https://example.com/homepage and try to visit your site home page, then you can see this( https://example.com/homepage ) URL on your address bar and other page URLs followed by this like https://example.com/homepage/about. But your admin URL will be like this( https://example.com/wp-admin ). It will not be like this( https://example.com/homepage/wp-admin ).
Plugins to Enhance Your WooCommerce Store
Carefully selected tools to help you customize, manage, and optimize your WooCommerce experience.
Woo Parent Category Selector
- Automatically assign parent categories when child categories are selected
- Prevent accidental removal of required parent categories
- Automatically repairs missing parent category assignments during product save
- Bulk repair existing WooCommerce product category structures
- Keeps product category structures organized and consistent
Product Catalog Mode For WooCommerce
- Turn your WooCommerce store into catalog mode instantly
- Hide Add to Cart buttons and product prices conditionally
- Apply rules by user role, country, or scheduled time periods
- Display custom messages and inquiry options for products
- Control visibility settings globally or per product
Remove Add to Cart Button for WooCommerce
- Remove Add to Cart buttons from shop and product pages
- Hide buttons conditionally for selected products or categories
- Replace Add to Cart with custom text or messages
- Control button visibility by user role and product type
- Lightweight settings interface with easy customization
Remove Product Content for WooCommerce
- Hide product title, image, price, rating, and descriptions
- Remove tabs, meta information, SKU, tags, and related products
- Control visibility separately for shop and single product pages
- Customize WooCommerce layouts without coding
- Enable or disable content elements with simple settings
Really Simple XML and HTML Sitemap
- Generate both XML and HTML sitemaps automatically
- Display sitemaps anywhere using ShortCode support
- Include pages, posts, and custom post types
- Exclude selected pages or posts easily
- Supports WPML and Polylang multilingual plugins
