0
votes
0answers
66 views

Who to echo custom post type on submenu page

i have custom post type and i want to echo the content of it in submenu page like these <?php function codex_custom_init() { $labels = array( 'name' => 'Books', ...
0
votes
1answer
98 views

Custom post type submenu sorted by specific meta_key & meta_value

I have a created a custom post type called "Events" using register_post_type. I am now trying to create a submenu within "Events" that will only show events sorted by a specific meta_key and ...
0
votes
0answers
136 views

When using TinyMCE which function should i use to sanitize the data?

I am developing a theme with several custom post types and each custom post type has its own settings page added with [add_submenu_page(...)][1]. One of these submenu pages includes a tinyMCE rich ...
0
votes
2answers
3k views

How to Add a Sub Menu Page to a Custom Post Type?

I am trying to create a link under a custom post type I have named "portfolios". If I change "add_submenu_page" to "add_options_page" it correctly shows a new link under the "Settings" menu. But it ...