0
Welcome Guest! Login
0 items Join Now

ROCKETTHEME IS CLOSING ON JUNE 30, 2025. As a thank-you to our community, enjoy 50% off all themes with the promo code THANKYOU before we shut down. Read our Farewell Blog Post for more details.

Wordpress question

    • Yamadan's Avatar
    • Yamadan
    • Sr. Rocketeer
    • Posts: 106
    • Thanks: 0

    Wordpress question

    Posted 12 years 1 month ago
    • Hi,
      If using a RT wordpress site is it possible to disable access to the gantry design area?
      But still allow them access to widgets and any other content related items they may need.
      Thanks
    • Shazdeh's Avatar
    • Shazdeh
    • Elite Rocketeer
    • Posts: 4984
    • Thanks: 29

    Re: Wordpress question

    Posted 12 years 1 month ago
    • Hi,
      this feature is not supported by WordPress core unfortunately, but there are 3d party plugins that give you Access Control Lists by which you can manage who can access what. My personal favorite is the Members ( wordpress.org/extend/plugins/members/ ) and with it you can limit access to areas of your site that you want.
    • Please don't PM unless requested ;)
      Consider using the custom stylesheet for all your CSS customizations: gantry-framework.org/documentation/wordp...custom_stylesheet.md .
      Please provide the URL to the issue.
      And please mark the thread as solved if the issue is resolved.
    • Yamadan's Avatar
    • Yamadan
    • Sr. Rocketeer
    • Posts: 106
    • Thanks: 0

    Re: Wordpress question

    Posted 12 years 1 month ago
    • Hi,
      Thanks for reply.

      Just tested that out, it works well.
      But not for blocking access to the gantry template settings while still allowing access to "Appearance" & widgets, menus.

      Looks like a bit of extra work could get this to work though?

      Has anyone else not requested this?
      As I see that a few clients may find it very easy to have a mess with the template settings.
      But they still need access to widgets and menus.
    • Shazdeh's Avatar
    • Shazdeh
    • Elite Rocketeer
    • Posts: 4984
    • Thanks: 29

    Re: Wordpress question

    Posted 12 years 1 month ago
    • Hi,
      I see what you mean, if we give editors the "edit_theme_options" capability, they will be able to access the theme settings page as well. Here's a little snippet to change that:
      function remove_gantry_menu() {
           if( ! current_user_can( 'manage_options' ) )
                remove_action( 'admin_menu', 'gantry_admin_menu', 9 );
      }
      add_action('_admin_menu', 'remove_gantry_menu', 1);
      The snippet checks if the current user has "manage_options" capability and if not, it disables the Gantry admin page. Note that this is more secure than hiding the admin page and it blocks their access. Add the snippet to your theme's functions.php file (or alternatively add it via this plugin ).
    • Please don't PM unless requested ;)
      Consider using the custom stylesheet for all your CSS customizations: gantry-framework.org/documentation/wordp...custom_stylesheet.md .
      Please provide the URL to the issue.
      And please mark the thread as solved if the issue is resolved.
    • Yamadan's Avatar
    • Yamadan
    • Sr. Rocketeer
    • Posts: 106
    • Thanks: 0

    Re: Wordpress question

    Posted 12 years 1 month ago
    • Thanks for the quick response.

Time to create page: 0.100 seconds