WordPress.org

Ready to get started?Download WordPress

Forums

WP-TopBar
[resolved] My topbar is not working, what do I do? (19 posts)

  1. Bob
    Member
    Plugin Author

    Posted 2 years ago #

    99% of the reasons a plugin is not working is because the custom CSS that you entered i s not valid.

    To double check your CSS, go to the debug tab and look at the EXACT HTML that the plugin is generating. If you need to, copy that into a HTML validator to find the error.

    Then, simply, change your custom CSS to fix the error.

    http://wordpress.org/extend/plugins/wp-topbar/

  2. Bob
    Member
    Plugin Author

    Posted 2 years ago #

    Also, if your TopBar isn't showing, please don't just start a support request without also supplying the details of how your plugin is configured. So, tell me the options you are selecting and copy the generated HTML/CSS from the Debug Page.

    Also, look at the Live Preview page. You should see a "Time Check" and "Cookie Check" message. That will tell you if you have a time range or a cookie that will cause the TopBar not show up.

    Finally, you have may have a PageID or Category ID (new in 3.10) that may prevent the TopBar from showing.

  3. Iono
    Member
    Posted 1 year ago #

    The whole Plugin doesn't work? When I activated it, wp told me that it didn't have a valid header. (and yes I'm pretty sure it doesn't mean mine :-) )
    Plus, there are no topbars displayed in the settings menu. Nothing to set up.

  4. Stefano
    Member
    Posted 1 year ago #

    i had the same problem as Iono, when I try to install it via the automatic installer i get the error message that says it didn't have a valid header.

    so I've downloaded the plugin, uploaded it in the plugin directory, but then i received a php error...

    to fix it you should edit line 516 in \wp-content\plugins\wp-topbar\lib\wp-topbar-admin.php
    changin it from
    <?
    to
    <?php

    Hope it helps! ;)

  5. Stefano
    Member
    Posted 1 year ago #

    and do the same on line 143 of \wp-content\plugins\wp-topbar\lib\wp-topbar-control-tab.php

  6. Bob
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks, Stefano!

    Not sure how that bug didn't hit my various test beds. I just pushed out a fix in 4.02.

  7. Stefano
    Member
    Posted 1 year ago #

    Great! ;) Thank you!

  8. bonkerz
    Member
    Posted 1 year ago #

    I am still getting the error on 4.02, and I cant find the fixes above!

  9. Bob
    Member
    Plugin Author

    Posted 1 year ago #

    Bonkerz, pls turn on debuging in wp-config.php and send me a link to the logs.

  10. xpaw01
    Member
    Posted 1 year ago #

    I'm having the same issue. "The plugin does not have a valid header."

  11. Bob
    Member
    Plugin Author

    Posted 1 year ago #

    Xpaw01, pls turn on debuging in wp-config.php and send me a link to the logs.

  12. zoltanentertainment
    Member
    Posted 1 year ago #

    I'm getting the same error as xpaw01. How do I turn on debug in wp-config.php?

  13. Bob
    Member
    Plugin Author

    Posted 1 year ago #

  14. Bob
    Member
    Plugin Author

    Posted 1 year ago #

    Fixed the invalid header issue in v 4.12

  15. msllama
    Member
    Posted 1 year ago #

    Do you do any customization to your top bar plugin?
    I would like to be able to add widgets such as Sharing (addthis) additional social media and a short menu.
    The footer on this site is pretty much the idea...
    This would provide a lot of flexibility to the plugin. Let me know.

    I also have a test site in case the other one is not live, since we are working on it.

    I have implemented as much as was available to me with your current top bar.

    Let me know. Thanks for your time...I love the concept!

  16. msllama
    Member
    Posted 1 year ago #

    Sorry the links for the first one is incorrect.

  17. Bob
    Member
    Plugin Author

    Posted 1 year ago #

    msllama -

    I tried creating a widget area in the TopBar. That would allow you to drop any widget into the TopBar.

    Unfortunately that causes a jQuery error in the .prepend function I use to insert the topbar in to the html.

    I'll think about alternativess...but it will not be a quick change.

  18. msllama
    Member
    Posted 1 year ago #

    OK Thank you, any idea on the time frame?

  19. Bob
    Member
    Plugin Author

    Posted 1 year ago #

    msllama, the next version will allow you to run PHP for each TopBar. Would you be willing to test this?

    If you do, you would need to modify this recipe to create a widget via PHP:
    http://digwp.com/2010/04/call-widget-with-shortcode/

    Bob

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.