• Resolved juansandro

    (@juansandro)


    Hello everyone,

    I am looking for a solution for the following issue related to the Author, post title and the
    tag.

    I use
    tag to create another line in my post title and it works fine if I am logged in as an Admin. However, if logged as an Author, saving a post in which I have
    tag does not work, actually post is saved but the
    is not in the pots title anymore.

    I searched forum for the same issue but was not successful in finding a solution.

    Regards.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Due to security reasons “Author” and lower roles haven’t the unfiltered_html capability.
    You can add this capability to a role by plugin user role editor or similar.
    Second way is to add this code snippet to your theme’s functions.php file.

    function add_theme_caps() {
        $role = get_role( 'author' );
        $role->add_cap( 'unfiltered_html' );
    }
    add_action( 'admin_init', 'add_theme_caps');

    Thread Starter juansandro

    (@juansandro)

    Oh, thank you for replying, I’ll try the plugin, hopefully the plugin is safe!?

    Note: Enabling this option for untrusted users may result in their posting malicious or poorly formatted code.

    This is the only risk with unfiltered_html.

    Thread Starter juansandro

    (@juansandro)

    vjpo, thank you!

    I have installed above plugin, it just does what I need.

    Regards.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘tag not saved in title by Author’ is closed to new replies.