800,000+ WordPress sites are already using MetaSlider!

Exclude the Current Post from the Slideshow

The code in this MetaSlider sample will allow you to exclude the current post from a “Post Feed” slideshow. This allows you to place a slideshow inside a post without showing that post inside the slideshow.

Place this code in the functions.php file of your theme, or in a custom plugin.


We hope that this code will be useful, but do not make guarantees. If you need troubleshooting help, or modifications to this code, please contact MetaSlider Pro support.