Taxonomy list page:add sticky to custom post type
-
Hi! (:
So I have a custom taxonomy list page, that shows all posts with the taxonomy “Place”, however I want it to only show the posts that have the taxonomy, and show the post type “Diggsite” at the top of the page as an “infobox”.I’ve tried adding two queries one that only shows the post type and one that shows all posts except from the post type
'!post_type=diggsites'
and it excluded all post from that post type, however it now showed all post, no longer sorting by taxonomy. The same with the post type, it show the post recent post type no longer sorting by taxonomy.Previously adding a sticky to the post type would have been the soloution, but as I understand that have benn deprecated? Is there any way to still add a sticky function?
I can’t hardcode the taxonomy because “Place” has about 50 different list pages.
I appriciate any help I can get, as this is an urgent matter…
- The topic ‘Taxonomy list page:add sticky to custom post type’ is closed to new replies.