Support » Plugin: Front-end Editor » [Plugin: Front-end Editor] Editors role cannot edit widgets

  • Resolved swingarody

    (@swingarody)


    Hi there,

    I installed this plugin specifically for clients who aren’t tech savvy so they don’t have to go to backend, but the editor role doesn’t allow them to edit the widgets like an admin. the “edit” option doesn’t even show up.

    Page edits work fine.
    Can you please show me how to resolve this?
    Cheers.

    http://wordpress.org/extend/plugins/front-end-editor/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author scribu

    (@scribu)

    You need to give the editor role the edit_theme_options capability.

    This can be done with a plugin, such as Capability Manager.

    thanks,
    You’re a legend.
    I have another question though. When I go to edit the HTML widgets, it keeps adding extra <br> tags on the lines.. is there a way to disable that?

    Plugin Author scribu

    (@scribu)

    Hm… create a HTML widget from WP Admin with some content (A).

    Open the same widget for editing on the front-end and click Save, without changing anything.

    Go back to WP Admin and see what the content looks like now (B).

    Paste both states of the content (A) and (B) here.

    Ah, I just figured it out.

    When you type in the edit box from front-end, the output looks like this:
    text<br>more text<br>bla bla bla

    But if you type code in html, every new line gets translated into br lines. so this:

    text<br>
    more text<br>
    bla bla bla

    becomes this:

    text<br><br>
    more text<br><br>
    bla bla bla

    So if I want to edit from Admin > Widgets page, I need to wrap the text in <p> tags and make sure it’s on one line, like this:

    <p>text<br>more text<br>bla bla bla</p>

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Front-end Editor] Editors role cannot edit widgets’ is closed to new replies.