The Admin Dashboard Div
You can use wp_add_dashboard_widget function: wp_add_dashboard_widget($widget_id, $widget_name, $callback, $control_callback = null) This Codex article should help you: http://codex.wordpress.org/Dashboard_Widgets_API
You can use wp_add_dashboard_widget function: wp_add_dashboard_widget($widget_id, $widget_name, $callback, $control_callback = null) This Codex article should help you: http://codex.wordpress.org/Dashboard_Widgets_API
How to handle change the appearance of ‘categories’ box on dashboard?
If I understand you, what you are doing is almost correct. You need add_menu_page instead of add_submenu_page add_action(‘admin_menu’, ‘register_my_custom_submenu_page’); function register_my_custom_submenu_page() { add_menu_page( ‘My Custom Submenu Page’, ‘My Custom Submenu Page’, ‘manage_options’, ‘my-custom-submenu-page’, ‘my_custom_submenu_page_callback’ ); } function my_custom_submenu_page_callback() { echo ‘<h3>My Custom Submenu Page</h3>’; } As far as the “embedded” PHP, you already have it. … Read more
Those are some dangerous words “public…can enter data directly to the DB” You could write your own form and use wp_insert_post() Something like this: $new_post = array( ‘comment_status’ => ‘closed’, ‘ping_status’ => ‘closed’, ‘post_author’ => 1, // id of admin, or some other user ‘post_title’ => $_POST[‘title’], ‘post_name’ => $_POST[‘title’], ‘post_status’ => ‘draft’, ‘post_type’ => … Read more
Change column of row action (Quick Edit) links in WP_List_Table
Remove dashboard access but allow ajax file upload
Here is the short sweet answer. Somewhere you, a plugin, or your theme are doing something like this: wp_register_script( ‘myscript’, get_template_directory_uri() . ‘/path/to/myscript.js’, ”, ”, true ); What should be happening is this: add_action( ‘wp_enqueue_scripts’, function() { wp_register_script( ‘myscript’, get_template_directory_uri() . ‘/path/to/myscript.js’, ”, ”, true ); } ); From the Notice: Scripts and styles should … Read more
WooCommerce shows a listing of product categories at /products, which can be added to a menu as a simple link to that url. It took me a while to find that url. To override the categories page template, grab a copy of templates/content-product_cat.php from the WooCommerce repo and place it at woocommerce/content-product_cat.php in the child … Read more
Cloning/replicating/copying dashboard admin settings
The Custom Post Types are probably set up with the Plugin “Types – Complete Solution for Custom Fields and Types” that is missing on the second install. According to their docs this plugin has an export/import feature. You can use it to export in the old install and then import the Custom Post Types in … Read more