Can’t format content of Rich Text Editor in Template

Good question for your first question! Try running the variable through the_contnet Filter – You can use it like this: $editor_value = get_post_meta( $post->ID, “PLUGIN_VALUE”, true ); echo apply_filters( ‘the_content’, htmlspecialchars_decode( $editor_value ) ); I believe what’s happening is that whenever you save your postmeta, it is being escaped as it should and converted to … Read more

Open ‘View Page’ Button in Editor in new Tab

Firstly it is best to not edit your wordpress core files inside wp-admin but rather modify them with filters/actions and hooks. Check the wordpress codex to see all the filters you could use. Here is the code for a filter that you can put into your theme functions file (/wp-content/themes/{the-theme-you-are-using}/functions.php) to make the view post … Read more

Make nav-menus.php available for editor

OK now i understand : There was something wrong due to previous manipulations. add_cap is modifying the database, so somehow i had written over other capabilities and it broke the wanted result. So i cleaned the role with the use of a few remove_cap, put my functions back and voilà !

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