jeudi 5 février 2015

Tags and Templates with Plugin Conflict


I am using WP Courseware (www.flyplugins.com) for a client's site and my basic understanding is that the course units are basically a custom post type ('course_units'). The course units can be created directly or converted from posts.


WP Courseware does not support category or tags taxonomy out of the box and it had to be enabled.


All of that was said to say that when I have posts tagged that they show up when you call http://ift.tt/1D2nYOR however the course units tagged with "design" do not show up. I have never bothered with tags enough to care about tag clouds, etc so I do not know what file, template or function that needs to be updated to support the custom post type of "course_units" when it displays posts containing tags.


I followed the advice found here: Combining tags from post types



register_taxonomy_for_object_type( 'post_tag', 'portfolio' );


And now I see Tags under my Course Units in WP Dashboard. I click on Tags and see the tags and click on the count and it shows the course units that tagged correctly in the backend, so I just need to know how to enable support on Tag Cloud for the front end where it actually returns the course unit posts instead of "Sorry, no content matched your criteria."


What connection am I missing?





Aucun commentaire:

Enregistrer un commentaire