Tagged: x
-
AuthorPosts
-
December 7, 2016 at 10:54 am #1284792
Kelsey LParticipantURL: http://orgess.com/wordpress/wp/
Hello, I’m trying to add a layer slider below the masthead of each product page. I found the code below, which works great – the only issue is that I’d like a different slider appearing on each product page. When I try combining this with if ( is_single( 257 ) ) I break the whole site (500 error). How can I make this work?
// Add custom layerslider below the masthead // ============================================================================= function custom_slider_below_masthead() { ?> <?php if ( is_product() ) : ?> <div class="custom-slider"> <?php echo do_shortcode('[layerslider id="1"]'); ?> </div> <?php endif; ?> <?php } add_action('x_after_view_global__slider-below', 'custom_slider_below_masthead'); // =============================================================================December 7, 2016 at 12:28 pm #1284926
RupokMemberHey there,
Thanks for writing in! Regretfully, this particular customization request is outside the scope of our support as this is not related to an issue with the theme and instead has to do with your customization of it. As such, you will need to investigate this particular issue on your own or seek help from a developer should you not feel comfortable making these changes yourself. If you have any further questions about the theme, we are more than happy to provide you with assistance on these inquiries.
Thank you for your understanding.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1284792 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
