• Hi,

    I am using Meta Slider on an OptimizePress theme on WordPress. I created a slider, copied the shortcode and it works perfectly on the Blog homepage in the feature area section.

    However, it is not showing on a Category Archives page. I have a category name “Football” and want to display it only there on the top of the page.

    How to do that? Thank you!

    https://wordpress.org/plugins/ml-slider/

Viewing 1 replies (of 1 total)
  • Hi there,

    The archive page uses a template to dynamically display the corresponding content:
    https://codex.wordpress.org/Creating_an_Archive_Index

    Note that the exact method varies between themes, however you will need to locate the template that creates the archive page and use a Meta Slider ‘template include’ to display the slider you want, something like:

    <?php if (is_category( 'Football' )) {
    
    	echo do_shortcode("[metaslider id=1705]"); 		
    
    } ?>

    Thanks,
    Dave

Viewing 1 replies (of 1 total)
  • The topic ‘How to display Meta Slider on Archived Category page?’ is closed to new replies.