Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #681042

    Hello,
    I need to get the “theme options” located in the Admin top bar.
    I tested the explanations below more did not work:
    http://goo.gl/vSyQV0
    http://goo.gl/gEVVdu
    http://goo.gl/rwkMVG

    Would you help me?
    Thank you.

    #681534

    Hey Vinicius,

    Try this in your functions.php file:

    function ava_remove_theme_option() { ?>
    <style>
    #wp-admin-bar-avia {
    display:none;
    }
    </style>
    <?php }
    
    add_action('init', 'ava_remove_theme_option');

    Thanks,
    Rikard

    #681640

    Worked!

    Tks!

    #681931

    Hi,

    Great, glad we could help :-)

    Please open a new thread if you should have any further questions or problems.

    Regards,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Remove "Theme Options" from admin bar’ is closed to new replies.