Viewing 1 replies (of 1 total)
  • Plugin Author Jonathandejong

    (@jonathandejong)

    Hi jkbrad,

    I assume you’ve actually changed the my_custom_post_type_slug to your posts slug? (just have to check).

    When I’ve seen this issue before it has almost always been because of a query that ran before the filter which hadn’t been reset properly. Either using wp_reset_query() or wp_reset_postdata().

    Could you try adding those before the do_action call? I’m not sure wether it would work out of context of the query where this is happening but it’s worth a shot. If it does then you know for absolute certain that’s the issue and you can go about looking for the code that causes the issue.

Viewing 1 replies (of 1 total)
  • The topic ‘Taxonomy Displays 0’ is closed to new replies.