to include custom post types
-
It appears possible to include custom post types by inserting a line line
function where_show_pages($show_pages, $show_attachments='false') { if (function_exists('get_post_type')) { $typelist = array(); $typelist[] = "'my_custom_type'";// <-- insert post typeCaveat; I don’t know if it breaks anything but seems to work for me and the logic seems relatively straightforward there. Thought maybe it will help someone else or post types to include could become an integrated option?
The topic ‘to include custom post types’ is closed to new replies.