Mike Hendrickson
asked 10 years ago

Hello,

So whenever I have a post with a featured image, it automatically shows up in the slider. I want to make it so only certain posts show up in the slider, instead of all of them. This is so every post can have a thumbnail but not necessarily be featured in the scroller. I believe there is a way to do this by just having a designated tag such as “featured” on the post.

I’ve looked at other responses to similar questions and i’ve had a lot of trouble doing it through the coding end of the website. When i got to select which tag will be the one that the scroller picks up, it automatically goes back to no tag.

Is there a plugin or something I’m doing wrong?

1 Answers
Allen
answered 10 years ago

Hi there, in your situation i think you should create a "tag" in that post your don’t want to display in slider, and in the php file of the slider , at the WP_Query() section of slider , you can query out all the post that don’t have that "tag" by using "tag__not_in => < ID of your tag >" . That’s my idea , hope that help 🙂

Powered by DW Question & Answer Pro