Remove “minor-publishing” div from Publish admin metabox

In short- no. The html in question is hard-coded in the post_submit_meta_box callback function. You can, of course de-register the publish metabox and re-register your own which mimics post_submit_meta_box (but making your alterations) and being sure to keep the names of the inputs exactly the same. This method has been outlined the following posts where … Read more

Tool bar in editor missing in WP

I’m guessing you mean the WordPress Admin bar which shows in the header of the logged in user page? Can you get the user to login and check that they haven’t disabled this under the User > My Profile menu option Also you might like to check out this plugin which allows you to switch … Read more

Show posts of parent in edit.php

If you are using just using 4 posts, I think that schools would better be suited as taxonomy terms rather than a post type. Associate your Posts with the school tax term. I would then create custom templates for each of those terms. taxonomy-schools-cambridge.php taxonomy-schools-teeside.php taxonomy-schools-newcastle.php taxonomy-schools-sunderland.php Within those templates, use a WP_Query object to … Read more

TinyMCE buttons broken

Solved: It appears chrome had a corrupt cache as I attempted to visit the backend on Firefox and noticed that the issue wasn’t there. I had to delete all Chrome browsing data (cache alone wouldn’t do it).

HTML5 Summary tag in editor

You can use the $allowed_tags global. Add the following to your functions.php file. global $allowedtags; $allowedtags[‘summary’] = array(‘class’ => array()); Add more attributes within the array similar to the class element. You can learn more on Otto’s post here:

Limit post view and management to custom user meta information

You have to filter user_has_cap and compare the user meta fields. The following code is based on this answer and not tested. add_filter( ‘user_has_cap’, ‘wpse_99393_filter_cap’, 10, 3 ); /** * Allow editing others posts only for editors from the same school. * Administrators can still edit those posts. * * @wp-hook user_has_cap * @param array … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)