How to hide but not disable? (6 posts)

  1. ICanHazCode
    Posted 3 years ago #

    Is there a way to hide something from certain users without disabling it?

    For example, I am using the WP to Twitter plugin to auto-tweet posts. I don't want that to show up for all authors on their New Post screen, so I have restricted it to show only for admin using the additional fields boxes.

    But because I restricted it, WP to Twitter won't autotweet anymore. Can I hide this widget on the backend without disabling it?


  2. Joe Dolson
    Posted 3 years ago #

    What are your options for 'the lowest user group that can send Twitter updates'? Those options should be completely separate; whether users can view the options shouldn't have any impact on whether they can Tweet.

  3. ICanHazCode
    Posted 3 years ago #

    I assumed that as well, but it doesn't seem to be the case. WP to Twitter settings are correct, and it didn't stop autotweeting all authors until i installed Adminimize and blocked restricted the WP to Twitter box in New Post.

  4. Joe Dolson
    Posted 3 years ago #

    Well, that's the problem. Removing the panel entirely will prevent tweeting, because the key variables aren't getting passed on saving.

  5. ICanHazCode
    Posted 3 years ago #

    Right, so I'm trying to figure out a way to hide certain backend widgets for some roles without disabling the widgets' functionality.

  6. Joe Dolson
    Posted 3 years ago #

    In this case, you'll need to hide it using CSS, probably. It needs to be present.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Adminimize
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.