Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Johan van der Wijk

    (@vanderwijk)

    To try to keep the plugin as simple as possible to use, I deliberately did not include support for categories. I’m not sure why your code is not working as it looks completely valid but as a test you could try modifying the plugin code and include the taxonomy directly on line 119 of post-widget.php to see if that works.

    ‘taxonomies’ => array(‘category’, ‘post_tag’)

    To display a category on the front end you also seem to have to change exclude_from_search to ‘false’. See: http://codex.wordpress.org/Function_Reference/register_post_type

    Thread Starter dbraphael

    (@dbraphael)

    Thanks for the note. I actually only use the categories to help filter the content on the admin side as I have a a fairly large site.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Custom Post Widget] Trouble adding "category" taxonomy’ is closed to new replies.