• Resolved apg1912

    (@apg1912)


    When I create a new informative page on my site which uses WooCommerce and the Storefront theme, I get a section headlined ‘New In’ at the bottom of the page with 4 products that are classed as new.

    I don’t want this. I thought you could disable this with a setting, but I can’t find it. Can it be disabled or do I need to add code to the functions.php file to get rid of it?

    thanks

    • This topic was modified 3 years, 11 months ago by apg1912.
Viewing 9 replies - 1 through 9 (of 9 total)
  • Please post a link to a page on your site which shows this.

    Thread Starter apg1912

    (@apg1912)

    If you find this page in the list of pages, edit, go to the Page Attributes meta box and change the template from Homepage to Default template, how does that work for you?

    Thread Starter apg1912

    (@apg1912)

    That does indeed work. The reason I didn’t originally select default is because it leaves a lot of space down the left (on a desktop), presumably for the sidebar that does not contain anything. If I go for ‘Full Width’, that works as well and removes the blank space.

    I currently use the ‘Shop’ page as the home page. Is this why this happens? I am in the process of changing the home page to a welcome page from which the shop page can be called. I’ll have to see if that changes the way things work with regard the page templates.

    Google says the site is too slow on a mobile and I’m thinking it’s because there are a lot of categories displayed on the shop (home) page.

    thanks for your suggestion ??

    Using the ‘Shop’ page as the home page I don’t think is relevant.

    If you don’t have a sidebar in your design, use the full width template rather than the homepage template. You can use the full width template for your homepage if you don’t need the homepage template features.

    A slow site is a different problem. I don’t think you have too many categories. I’ve seen a lot bigger shop pages. I think your shop page is actually quite slim and I find the site quite fast from where I am. I suspect your download speed using mobile may be not the best. Maybe your signal strength is not great.

    Try a cache plugin such as WP Fastest Cache to speed thing up.

    Thread Starter apg1912

    (@apg1912)

    Many thanks for your advice. When I went to Google Search console it said all of my pages took over 2.5 seconds to load on a mobile device and so needed improving. This worries me because I read Google ranks your site based on it’s mobile performance even if it’s a site that was designed with the desktop in mind.

    I use the sidebar on the shop page for filtering, but the filters don’t appear on other pages which is why I think I get a blank sidebar if I choose the default template.

    If you can manage without emojis and/or Gutenberg, you can remove their stylesheets.

      // remove emoji support
      remove_action( 'wp_head', 'print_emoji_detection_script', 7 );
      remove_action( 'wp_print_styles', 'print_emoji_styles' );
      remove_action( 'admin_print_scripts', 'print_emoji_detection_script' );
      remove_action( 'admin_print_styles', 'print_emoji_styles' );
    
      // if not using the Gutenberg editor, so the styles aren't needed
      add_action( 'wp_print_styles', 'tc_dequeue_gutenberg', 100 );
      function tc_dequeue_gutenberg() {
        wp_dequeue_style( 'wp-block-library' );
        wp_dequeue_style( 'wp-block-library-theme' );
        wp_dequeue_style( 'storefront-gutenberg-blocks' );
      }

    There are plugins which might help:
    https://en-gb.www.ads-software.com/plugins/wp-asset-clean-up/

    Did you try a cache plugin before the speed test. Ensure it has loaded and cached the page before testing.

    Thread Starter apg1912

    (@apg1912)

    Thanks. No, I’ve not tried any cache plugins before. I’ll take a look at asset clean up and fastest cache. I do use the Gutenberg editor though because I find there is a good selection of blocks to choose from and it saves having to create all the html yourself.

    • This reply was modified 3 years, 11 months ago by apg1912.
    Plugin Support mouli a11n

    (@mouli)

    It’s been a while since we heard from you, so I’m marking this thread resolved. Hopefully, you’ve been able to resolve this, but if you haven’t, please open up a new topic and we’ll be happy to help out.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘New In Not Wanted!’ is closed to new replies.