If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
I’d like to remove the slider at the top of each single post page (http://www.whitesummitproductions.com/portfolio-item/property-showcase/) without affecting the page which shows all portfolio items (http://www.whitesummitproductions.com/video-work/).
I’ve tried a simple display:none in the quick css box however this turned off both sliders on the pages I mentioned above.
Do I just remove this code from the single.php? I haven’t yet as I didn’t want to mess anything up.
* Function that displays headings + subheadings for pages
* Located at the bottom of functions.php, in case you want to edit the output
$slider = new avia_slideshow(avia_get_the_ID());
Not sure if I do understand it right but I guess a simple
the body of each page/post type gets unique classes applied so you might just want to check those to target the slideshows on those pages
should do the trick
The topic ‘Removing slider from single post page’ is closed to new replies.