Skip to:
Content
Pages
Categories
Search
Top
Bottom

Allow user to edit text widget

  • Hello Everyone,
    I want to allow specified users the ability to edit text widgets in the footer, from their Author roles. Is this possible at all? I’m trying to do this without giving them Admin capabilities.

Viewing 6 replies - 1 through 6 (of 6 total)

  • danbpfr
    Participant

    @chouf1

    Hi,

    please read the roles capabilities in wordpress
    https://codex.wordpress.org/Roles_and_Capabilities
    If you need more precision work, try a role plugin like this one:
    https://wordpress.org/extend/plugins/user-role-editor/

    Thanks Chouf1,
    The User Role Editor seems to be what I need to get going on what I want :)

    However, editing widgets is not one of the default options. Editing widgets falls under edit_theme_options, but I don’t want that.

    I’m using a modified version of the default theme, so in the widget dashboard I have First Footer Widget Area, Second Footer Widget Area, Third…etc. If I create new roles (say NewRole1, NewRole2, etc.) can I assign the corresponding footer text widgets to the NewUser roles?

    I know this might be asking a lot, but I’m just wondering if this is possible.

    BTW, in case you haven’t realized, I’m kind of a newbie, so I apologize :)


    pawriter
    Participant

    @pawriter

    I am interested in the answer to this too – sadly not knowledgeable enough to answer it.


    danbpfr
    Participant

    @chouf1

    Hi,
    first, no matter WHERE the widget is, but only WHO can access to it (or not).
    Did you find a plugin named capabilities manager (aka capsman) ?
    Widget editing has nothing to do with BP, that’s implemented WP stuff and is manageable through WP admin.
    I believe Editors have access to this.
    So give a trusted member access to widget admin.
    And perhaps give here more details about what you exactly want to do.

    Hey guys,

    Found a work around. Not perfect, but it is good enough for now. Requires the following plugins:

    WP Category Post Lists – https://wordpress.org/extend/plugins/wp-category-posts-list/
    Restrict Categories – https://wordpress.org/extend/plugins/restrict-categories/
    User Role Editor – https://wordpress.org/extend/plugins/user-role-editor/

    So essentially, you create a new category just for the user you want to allow.

    Then you create a new role in User Role Editor just for them. Copy the capabilities from your default user role.

    In Restrict Categories, you restrict that new category to the new user role.

    Then, you put the Category Post Lists Widget wherever you want it, and assign it that new category.

    Tell the user to post what they want displayed in that category.

    Essentially, we’re telling WP to only display posts in that specific category, which is restricted to a specific role, which is only a specific user. I set my widget to only show one post at a time, and to show 300 characters. That way, it looks like the user’s very own text widget!

    Worked for me! If only til something better is thought up.

    Upon further review, you can skip the New Role process and assign the categories directly to the user in Restrict Categories :)

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Allow user to edit text widget’ is closed to new replies.
Skip to toolbar