Wordpress exit bar

Discussion in 'Programming' started by web@master24, Jun 18, 2014.

  1. #1
    Hello everyone, somebody know a wordpress plugin that allow insert a exit bar when the user click on external link. For example: http://awesomescreenshot.com/0d7306y442

    You click on external link on codecanyon, but still are a bar on the header and the url is from codecanyon. I hope somebody know some plugin what allow me to do this.
     
    web@master24, Jun 18, 2014 IP
  2. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #2
    If you want this, you need to load the page the user want (the external site) in an iframe, and then basically just have a top bar with the info from your page - and a way to get rid of it (basically closing the bar reloads the actual website in the iframe in the browser window).
    I'm not aware of any plugins that does this automatically, but there are plugins for loading content in an iframe for WP, and they might be possible to change to do what you want. However, creating this in a separate template file should be possible - it will involve some custom coding, and probably also a bit of javascript to get it working as you want it, but it is possible.
     
    PoPSiCLe, Jun 20, 2014 IP