• I’ve noticed that I end up with duplicate text on my homepage in the Boutique child theme. You can actually see an example of this on their live demo page (the text displays both above and below Featured Products): https://demo.woothemes.com/?name=boutique
    Is there a good way to prevent this from happening (that won’t just revert with updates)?

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi chrissy833,

    Great question! Here’s what I did for our demo:
    1. Installed Homepage Control (https://www.ads-software.com/plugins/homepage-control/)
    2. Went into the Customizer, and unchecked “Homepage Content” from the Homepage Control section.

    Now it’s only showing up once!

    If anyone else also has the problem with Boutique where any content added to your home page is repeated, please see this topic where the answer is detailed:

    https://www.ads-software.com/support/topic/storefront-show-only-main-content?replies=5

    In summary, place the following code into the Boutique child theme functions.php file. Adding this code removes the duplicated home page content. This way you don’t need to use a plugin.

    add_action( 'init', 'jk_edit_storefront_homepage' );
    function jk_edit_storefront_homepage() {
    remove_action( 'homepage', 'storefront_homepage_content',   10 );
    //remove_action( 'homepage', 'storefront_product_categories', 20 );
    //remove_action( 'homepage', 'storefront_recent_products',    30 );
    //remove_action( 'homepage', 'storefront_featured_products',  40 );
    //remove_action( 'homepage', 'storefront_popular_products',   50 );
    //remove_action( 'homepage', 'storefront_on_sale_products',   60 );
    }

    IMHO this really needs to be corrected in a future update of the theme. Nice theme though!

    Thanks for reporting, we’ll fix this in the next release of the theme.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Duplicate Content on Boutique (Storefront Child) Homepage’ is closed to new replies.