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:
    866
    Likes Received:
    923
    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 Premium Member

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

    clevelandslim Jr. VIP Jr. VIP

    Joined:
    Nov 15, 2008
    Messages:
    2,080
    Likes Received:
    197
    Gender:
    Male
    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:
    286
    Likes Received:
    49
    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,618
    Likes Received:
    6,078
    Gender:
    Male
    Location:
    South Africa
    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:
    497
    Likes Received:
    260
    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?