Create child of child custom page in wp-admin
Create child of child custom page in wp-admin
Create child of child custom page in wp-admin
Add submenu page to a custom menu page
Custom database table entry edit page
add_submenu_page add multilevel menu
Try something like this: in the load hook, you can ouput your xml code. u function my_menu_pages() { $hook = add_submenu_page( null, ‘Page Title’, ‘Page Title’, ‘administrator’, ‘sub-menu-slug’, function() { } ); add_action(‘load-‘ . $hook, function() { // add your xml code here, // you will get a blank page to start with exit; }); … Read more
Multiple plugins settings of same developer into ONE settings page linked together
My submenu page does not show for users with the capability provided while adding the submenu page
The method to use is… In the acf_add_options_sub_page declaration, add ‘post_id’ => ‘article’ as a parameter. (post_id) This is how the field data, as entered on the Options page corresponding to my post type, will be saved. On the display end, display using $featured_posts = get_field(‘featured_posts’, ‘article’); ‘article’ and ‘report’ are both used. In my … Read more
Concerning your question: Can my theme be submitted for approval with these errors? I’m assuming you’re asking whether your plugin, while throwing an error upon activation using TGM library, can still be submitted and accepted to official WordPress repository. My answer would be, no, it cannot. It seems like you made your plugin work once … Read more
You’re recieving this error because WordPress notices the post_type query argument and that sampletype is a valid registered post type, and thinks you’re on an edit page. Try using a different query arg then post_type. Note that admin.php?page=plugin-slug-posttypes-add&post_type=thisisnotaposttype and admin.php?page=plugin-slug-posttypes-add&foo=bar will both work fine.