Different footers on different pages?

Hello,
Lots of questions today… This ties into my earlier question about having templates, but I need to have a navigation bar as seen in the attached image ONLY ON PRODUCT PAGES of the site and not in any other pages. I can’t really add it to the footer section because it would show up everywhere… I played around with iFrames, but it just doesn’t look right… or at least, I couldn’t make it look right…

Any way to do this so that I wouldn’t have to manually copy this Product Navigation repeater to all the pages and every time I need to add/remove/modify something, I’d have to do this manually on all of the pages?
Thank you!

1 Like

You could leave it in the footer and use
if (wixLocation === “/products”) {$w(‘#footerProductStrip’).show()}
else{$w(‘#footerProductStrip’).hide()}

I’m sorry, I’m not upto date on Corvid… Where would I place that code and where do I name the strip? Thank you so much for your help!!!

@roma The whole snippet would be this, and it would go in your site code:

import wixLocation from 'wix-location';

$w.onReady(function() {
    if (wixLocation === "/products") {
        $w('#footerProductStrip').show();
    } else {
        $w('#footerProductStrip').hide();
    }
} );

(take out the duplicated hashtags and apostrophe the Forum app makes)