Articles of editor

Allow editors access to added plugins

I created a custom plugin which i want Users who are Editors to be able to use the plugin. I found a link here to allow access for editors to allow editors to edit menusallow editors to edit menus? using this code. $role_object = get_role( ‘editor’ ); // add $cap capability to this role object […]

Accidentally deleted php code in WordPress website

I have a website: . While trying to remove the “continue reading”, I accidentally deleted some code and updated it in the theme editor‘s functions.php. Now the website does not work and here is the error code Parse error: syntax error, unexpected ‘}’ in /home2/efulas/public_html/wp-content/themes/catch-box/functions.php on line 395 How can I fix this?

Show WordPress Plugin Menu(Admin) To Editor

I am an Admin of wordpress website and I have created one user with Editor role, I have installed one plugin Pretty Link( this plugin shows its menu on Admin page but not on Editors page. I want to display this menu option on Editor page also, so how to do this? I am using […]

Why WordPress not using WP_Filesystem

On wp-admin/plugin-editor.php and wp-admin/theme-editor.php, why WordPress not using $wp_filesystem to read and modify the file? if writing and modifying file do not require wp_filesystem then when to use wp_filesystem?

Save editor's value in user meta and retrieve it

I am making user meta fields. I have to implement a field named business_profile and implement editor on it. I have implemented the editor but I can’t seem to either save its value or retrieve it. Below is my code. <tr> <th> <label for=”address”>Business Profile</label></th> <td><?php $content = get_the_author_meta(‘business_profile’, $user->ID); $editor_id = ‘mycustomeditor’; wp_editor($content, $editor_id); […]

How to add custom 'layout' buttons to wordpress editor?

I’d like to modify the editor by adding some ‘layout’ buttons. Ideally, I’d like to add the ability to add some html ‘partial’ by simply clicking a button. This is to help my client to create pre-coded pieces of page by himself, since he can’t code html markup. So, I would pre-program some micro-templates and […]

stop WordPress removing shortcode from content

I’ve found that WordPress is removing &nbsp; from my content, so from this page, I added the following to my functions.php: function nbsp_shortcode( $atts, $content = null ) { $content = ‘&nbsp’; return $content; } add_shortcode( ‘nbsp’, ‘nbsp_shortcode’ ); I refreshed my WordPress admin, and after I add [nbsp] in my content code, and save, […]

Disable text tab on WordPress text-editor

I’m looking for a way to disable text tab on wordpress text-edito (red square on the pic) for all my users roles except ADMINISTRATOR because i don’t want them to have the possibility to add javascript code on the pages. I also looking for a way to add justify icon to the text-editor (like you […] post editor replacement

I love WordPress, and I keep a blog on a domain hosted at However, it’s so damn slow! (Blogger wasn’t much better.) Are there any full-featured substitutes available? I use several computers, depending on where I am and what I’m doing: An older mac, a windows netbook, and a ChromeOS laptop, so the best […]

Capabilities not working with custom post type

I have created a custom post type called Alerts. I want Editor users to be able to have full permissions to publish and edit alerts. I copied all of the capabilities of an administrator to satisfy this requirement. Yet, the having all capabilities for my custom post type has removed permission to publish altogether, which […]