Category archive in menu

WordPress has actions and filter to be used to add elements on menu admin, and so it’s possible to write a plugin that put on the menu admin screen the month/year archives. However, that plugin should consist in some dozen lines of code, and once you have not tried to write anyhing, if this was … Read more

Navigational error

Option 1: Edit the Contructor theme The Constuctor theme checks the theme options and then includes the home link based on the option value. The code that adds the Home link is located in /wp-content/themes/Constructor/libs/Constructor/Main.php. // show link to homepage if ($this->_options[‘menu’][‘home’]) { echo ‘<li id=”home”><a href=”‘.home_url().”https://wordpress.stackexchange.com/” title=”‘.get_bloginfo(‘name’).'”>’.__(‘Home’, ‘constructor’).'</a></li>’; } Link Text To change the … Read more

Contributor post to be reviewed and published by only one editor

You don’t say how you save the editor -> contributor associations, I assume you store it in a user meta field with key ‘assigned_contrib’ where you save an array of contributors user id. First off all, hide posts to other editors using pre_get_posts hook: add_action(‘pre_get_posts’, ‘hide_posts_to_editors’); function hide_posts_to_editors( $query ) { if ( is_admin() && … Read more

Duplicate use of WordPress plugin

This is a very generic answer but you can’t just rename the plugin, you are also going to have to alter the add_menu_page and add_submenu_page registration code starting around line 48 and going to about line 81. You need to change at least the $menu_slug and $parent_slug, but probably want to change $page_title and $menu_title … Read more