Exclude Category or Dont Repeat Post
-
Hi,
First of all, thanks for the great software.
I’m building a home page where I should have two
custom post typeblocks:1) First one showing a selected featured post, and
2) a second one showing the 4 more recent posts except the featured one.I created a custom taxonomy (
featured), and wanted to include in the first block posts marked asfeatured:yes, and in the second block posts NOT marked asfeatured:yes.Is it possible to do this, i.e., set an exclude category? (Without making user have to set
featured:no). Another option would be a filter to avoid repeating posts through several blocks in the same page.As a side note, I tried to use sticky posts. However, if my first block is set to show one post, and the second more recent post is marked as sticky, it shows two posts. Is this a bug?
Best,
alan
The topic ‘Exclude Category or Dont Repeat Post’ is closed to new replies.