• I’m writing a plugin and something has caused my plugin to make the Screen Option on a Post become blank. If I deactivate my plugin the Screen Options works just fine.
    When viewing the source where a Post is edited the only traces I can find of my plugin are the links on the lefthand menu, and some CSS files.

    My scripts are loaded in the ‘init’ and ‘admin_init’ actions.

    I’m guessing there’s something in my CSS files that breaks the Screen Options, but I don’t know what that might be.

    So:

    1. What styles should I avoid using in my CSS files
    2. How can I make it so that the CSS files only load when my plugin is actually used?

Viewing 1 replies (of 1 total)
  • Thread Starter GTHvidsten

    (@gthvidsten)

    After some frustrating late night hours I finally found the culprit.
    In my CSS I have a class named “hidden”. If I removed this the screen options showed up again.

    Question 2 still remains, though.

Viewing 1 replies (of 1 total)
  • The topic ‘Screen Options are blank’ is closed to new replies.