Permalinks setting

It’s possible to have them share the same slug, but you need to manually resolve conflicts yourself. You have to check if the end of the requested URL is an existing term, and reset the query vars accordingly if it’s not found: function wpd_post_request_filter( $request ){ if( array_key_exists( ‘category_name’ , $request ) && ! get_term_by( … Read more

Input select option Change Content in Metabox

This is totally wrong. Metaboxes are shown on post/page editing screen, so if you submit your own form, the whole page will be submitted/refreshed. Look up what a metabox is here => SO Thread You should use WP’s own functions to deal with this. Look add_meta_box() and check this tutorial to know how you should … Read more

Prevent creation of unused database tables?

I’m afraid it won’t be easy to do (if possible at all). These tables are empty and you don’t use them, but… There are still many SQL queries that use them in JOINs. It means, that if you remove these tables, these JOINs queries will cause errors. There are many functionalities in backend, that use … Read more

Remove category number fill

In order to override the default of per page, you can set the number to ” to instruct the query to return all categories. Add the following code to your functions.php file. add_filter( ‘get_terms_args’, ‘show_all_categories_admin_nav_menu’, 10, 2); function show_all_categories_admin_nav_menu( $args, $taxonomies ) { if( reset($taxonomies) === ‘category’ ) { $args[‘number’] = ”; } return $args; … Read more