1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Wordpress plugin for Topbar?

Discussion in 'Blogging' started by flashmobber, May 19, 2016.

  1. flashmobber

    flashmobber Newbie

    Joined:
    Sep 4, 2012
    Messages:
    47
    Likes Received:
    0
    Hey guys,

    I am looking for a plugin that shows a bar on top of the screen once a user leaves my homepage. Kind of like when you visit theme websites and they display above the theme a bar with their information on it. Anybody an idea?
     
  2. BlogPro

    BlogPro Jr. VIP Jr. VIP

    Joined:
    Apr 23, 2012
    Messages:
    565
    Likes Received:
    497
    Home Page:
    https://www.hellobar.com/ Is this what you're looking for?

    If you want it show when a user tries leaving your page, it's called "exit intend tracking" - not sure if Hello Bar does exit intent.
     
  3. Linkzo

    Linkzo Jr. VIP Jr. VIP

    Joined:
    Jun 20, 2015
    Messages:
    1,155
    Likes Received:
    213
    yeloni exit popup .i think this was the plugin you searching for.
     
  4. clevelandslim

    clevelandslim Jr. VIP Jr. VIP

    Joined:
    Nov 15, 2008
    Messages:
    1,973
    Likes Received:
    191
    This plugin was easy to set up and use. Unfortunately, it is non-responsive, down to the code used for the spacing at the top.
     
  5. hatsatz

    hatsatz Regular Member

    Joined:
    Jul 28, 2014
    Messages:
    265
    Likes Received:
    40
    Gender:
    Male
    Top bar, Storefront top bar, Custom top bar, Mail chimp top bar, and Fancy top bar countdown are the plugins in WP. You can try these plugins.
     
  6. Conor

    Conor Elite Member

    Joined:
    Nov 7, 2012
    Messages:
    3,579
    Likes Received:
    5,965
    Gender:
    Male
    Location:
    South Africa
    Home Page:
    You could create it with a little bit of HTML/PHP:

    Code:
    <?php 
    function topbar() {
    if ( !is_front_page())  {
    ?>
    <div class="topbar">Some Content</div>
    <?php }
    }
    add_action('wp_footer', 'topbar');
    ?>
    
    The CSS will be something simple like:

    Code:
    .topbar {
    position: fixed;
    width: 100%;
    height: 40px;
    top: 0;
    padding: 10px 0;
    background: black;
    color: white;
    }
    
     
  7. flashmobber

    flashmobber Newbie

    Joined:
    Sep 4, 2012
    Messages:
    47
    Likes Received:
    0
    hey guys,

    thanks first of all for all suggestions. However, I am looking for a topbar that stays on top once a person leaves my website. Is there such a plugin?
     
  8. iBrazilian

    iBrazilian Regular Member

    Joined:
    Oct 10, 2013
    Messages:
    492
    Likes Received:
    255
    Sure, if you manage to create a custom browser add-on and have the user install it, lol good luck with that.
     
  9. flashmobber

    flashmobber Newbie

    Joined:
    Sep 4, 2012
    Messages:
    47
    Likes Received:
    0
    how did they make it here?

    http://www.jurablogs.com/

    EDIT:
    Wait, when you click on a link it does not lead to the other website but rather it opens the external website on their own website right? How can you achieve that with wordpress?