Help me move this "Layered Nav Widget" off Home Page!
-
Hello all!
I am pretty sure this will be a very simple cut and paste job, so I don’t exactly want to hire it out if a kind person on this forum could simply walk me through it.Please see https://vapevine.ca
Notice the left side bar?I would simply like to move the ‘sorting nav widgets’ (Filter by Price, Filter by Brand, Filter by Color, Filter by Ohm) to appear ONLY on the interior product category pages “/product/” and NOT on the home page anymore, since they currently have no sorting function on the index.
So, the filtering nav would continue to appear here: https://vapevine.ca/product/starter-kits/ and here: https://vapevine.ca/product/tanks-clearomizers/ and on every product category listing page just NOT ON THE HOME PAGE.
This is called an ISOTOPE container, right? The sorting function works great, I just want to move the isotope off the index to work on the interior pages.
I believe I have found the code on the index.php template (BELOW)…I am afraid to just delete it and paste it somewhere like the content-page.php?
Also, take note that it is a responsive site and this is an “off-canvas navigation menu” that slides into view on mobile. Not sure if that matters.
… NEED YOUR HELP! ANY ADVICE?
<div class=”blog-isotop-container”>
<div id=”filters” class=”button-group”>
<button class=”filter-item is-checked” data-filter=”*”>show all</button>
</div><div class=”blog-isotope”>
<div class=”grid-sizer”></div><?php /* Start the Loop */ ?>
<?php while ( have_posts() ) : the_post(); ?><div class=”blog-post hidden <?php echo get_post_format(); ?>”>
<div class=”blog-post-inner”><h1 class=”entry-title-archive”>
” class=”thumbnail_archive”>
<span class=”thumbnail_archive_container”>
<?php the_post_thumbnail(‘blog-isotope’); ?>
</span>
<span><?php the_title(); ?></span>
</h1>
The topic ‘Help me move this "Layered Nav Widget" off Home Page!’ is closed to new replies.