WordPress popup

March 24, 2012 | Posted by: Gopi R | Wordpress plugin | 118 Comments | Video tutorial

WordPress popup plugin create a popup message to your website. Sometimes its useful to add a popup to your website to show your ads, special announcement and for offers. Using this plug-in you can create unblock-able, dynamic and fully configurable popups for your blog.

One easy way to send your visitors a welcome message, notice, or advertisement is to add this popup plugin to your site.

This popup ads are very effective advertising tools for your website since they won’t get automatically blocked by popup blocking tool.

See the live popop demo on this page. click here to refresh the page to see the demo again.

Feature of this plugin

  • Simple.
  • Easy installation.
  • Easy configuration.
  • Unblockable.
  • Once per session option.

How to add the popup only on home page?

Option 1 : Take “footer.php” file from your theme folder and add the below PHP code. (or)

Option 2 : Go to Appearance → Editor → Select “footer.php” file from the right page list. and add the below code above slash body.


<?php
if(is_home())
{
if (function_exists (mypopup)) mypopup();
}
?>

How to add the popup on all the page except home page?


<?php
if(!is_home())
{
if (function_exists (mypopup)) mypopup();
}
?>

How to add the popup only on post?

<?php
if(is_single())
{
if (function_exists (mypopup)) mypopup();
}
?>


Installation instruction

Method 1

  • Download the plugin popup.zip from download location.
  • Unpack the popup.zip file and extract the /popup/ folder.
  • Drop the popup folder into your ‘wp-content/plugins’ folder.
  • In word press administration panels, click on plug-in from the menu.
  • You should see your new popup plug-in listed.
  • To turn the word presses plug-in on, click activate.

Method 2

  • Go to ‘add new’ menu under ‘plugins’ tab in your word-press admin.
  • Search popup plugin using search option.
  • Find the plugin and click ‘Install Now’ link.
  • Finally click activate plug-in link to activate the plug-in.

Method 3

  • Download the plugin popup.zip from download location.
  • Go to ‘add new’ menu under ‘plugins’ tab in your word-press admin.
  • Select upload link (top link menu).
  • Upload the available popup.zip file and click install now.
  • Finally click activate plug-in link to activate the plug-in.

Like to add custom HTML content in your popup message?? Then use my Cool fade popup plugin.

Plugin configuration

Add the given short code in to page/post to show the popup.

Short code: [POPUP=IMG1]

Dashboard plugin attributes

Random message : Set this to “YES” if you want display the image randomly

Popup IMG1 txt & Popup IMG1 url : In this text box enter popup image URL and text(Six box available).

Popup session option : Set this “YES” if you want to open the popup once per session.

Version history

3.0 : Option to add link for popup images.

2.0 : Session option available. we can set the popup only once per session.

1.0 : First version.

Frequently Asked Questions

Q1. How to arrange the width & height?

Width and height option available in the CSS file (wp-content/plugins/popup/popup.css)

Q2. Possible to add the pop up into the particular page/post?

Yes, Add the given code into page/post. See comment 1 to find the short code.

Q3. How to update the popup information?

Administration → Settings → popup

Add your text, image link in the above admin location.

Q4. How to display the message in random order?

Administration → Settings → popup

In the above link set random message is equal to YES.

Q5. Is possible to set the popup once per session?

Yes, this is possible in the version 2.0. We have “Popup session option” in the plugin dashboard page, just set YES/NO for this option.

Q6. Is possible to add text in the popup?

There is another plugin in my plugin list with text and image option.

i.e  cool-fade-popup

Q7. Possible to add link to images?

Yes, now we can add the link to images. this option available in version 3.0. each image have link. if the user click the popup image it will redirect to that given link.

Q8. If i dont have have link?

If you dont have link simply add “#” tag in the link text box.

Download link

http://www.gopiplus.com/work/wordpress-plugin-download/

Donation

All modules, plugins in this website are completely FREE. If you find the software useful please consider making a donation(PayPal). All donations will go towards improving this web website and maintenance.

Donate

Comments (118)

  1. Gopi R says:

    [POPUP=IMG1]

    Add the above code into page or post to display the popup alert.

  2. jon says:

    I can’t find a download link for the pop up plug in??

  3. jon says:

    I found the link but it just takes me back to this page..

  4. jon says:

    Okay, I found it.

  5. Max Pen says:

    This looks just like the plugin I been searching for.

  6. shah erhan says:

    Thanks for the plugin sir.. :D
    im planning to use it for a promotion on my website..

  7. jayachandran says:

    Very nice gopi.

  8. Jerry says:

    Hi,
    Having some problems with it.
    I added [POPUP=IMG1] at the bottom of one of my articles.

    But a blank popup shows up in one in my right column?

    My popup image1 text is: Free Books
    That shows up, all be it in the wrong place.

    However nothing else shows up?

    In my popup image1 url, I’ve added the link to my autoresponder where I created the form.

    Again, nothing else is showing up.

    What have I done wrong?

    Thanks for any help.

    cheers,
    Jerry

  9. jas says:

    Good plugin. The only thing is I would like this to pop up on the left hand corner of my page. Or even wherever I choose. Can this be done?

    tHANKS

  10. jas says:

    Hi gopi,

    How do I update the CSS file? It says it’s inactive. Which parts do I change to make the changes I want? Your help greatly appreciated.

    Thanks

    Jas

  11. Mack says:

    My frontpage is a splash page (template) I cannot get the popup to work.

  12. hotel supplies says:

    Is there a way to show a more big comfortable button to close the popup? for example into the popup html code? to add for example the double button:
    ENTER – EXIT ?

  13. Manish says:

    Hi brother,

    Great work. Can we use this pop up plugin with contact form 7. Because I want to take user information into two step. In first step Visitor have two fields (Name and email) on my home page and then when you hit submit it takes them to another page with the rest of the fields, but the name and email are already filled in with the values entered on the home page. If there is any possibilities, then let me know.

  14. easy tips says:

    great plugin…thanks..I’m going to try on my blog..

  15. Michael Conroy says:

    Got your plugin working fine. Thanks for it. One question I have ? I would like when a person clicks on the image that I am using it opens up a page or goes to a hyperlink.

    Can this be done … and how ?

  16. Elizabeth says:

    I don’t think there is enough instructions on how to use this plug I also am not getting the image I had to look at how you did your links to know how to add links correctly. At first I had the images when I change the size now no images comes out help please.

  17. Piotrek says:

    Grate’s site!

  18. Bruno Marques says:

    Hi,
    I can put popup in my home page!
    how can I put the popup on the home page?
    Where, which file I must edit?
    i need help!

  19. James Taylor says:

    Great plugin man. Just what I needed!

    Thanks a lot =)

  20. Nerd Busters Tech Support says:

    Great plugin! Will try it on my site. Thanks.

  21. Brent Santiago says:

    I have a client who who wants a plug in. i did everything that I know of and it still does not appear as a pop up on the website : http://www.smokin-z.com

  22. T Tomic says:

    please let me know how to ad an active link to the pop up picture?

    tnx

  23. insibir says:

    Hi there guys! I think it’s possible – to use different pop-ups on each page

  24. kelley says:

    Is it possible to add embed alive video in this popup?

  25. marios says:

    hey guys, i am not well into php but i manage a little bit. one quick question…is is possible to change the location of the pop up on the screen? i have a flashfader plugin and the pop up appears behind, not being able to read the pop up window.
    thanks for any suggestions posted.

  26. marios says:

    well…i actually meant location of the pop up, not position but after fiddled around with the css, i managed to work it out, just placed lower so it doesn’t come up behind my flashy plugin. anyhow, the plugin is awesome, does what it says. nicely done gopi!

  27. marios says:

    won’t upload the image. can u help? the pop up window shows the cracked image icon but the image is on the server. if i type the url it will take me there but it won’t show in the pop up window…

  28. marios says:

    ok, done, sorry for the 4 posts. it’s all good now. thanks gopi!

  29. MaD says:

    please let me know how to ad an active link to the pop up picture?

  30. rizwan says:

    Hi i want to show Google ads on pop up in which filed i paste Google java script thanks hope you reply me soon

  31. Scott says:

    Can you provide the HTML for the plugin? I have a theme (Narm from Themeforest) which is only using HTML, no shortcodes, on the home page. I’ve had to convert all shortcodes into HTML (i.e. buttons) but am having a difficult time dissecting what is all added with your plugin. It looks great and can’t wait to use it.

    Thanks,

    Scott

  32. Hal says:

    It seems to be installed correctly because it shows your photos on the page. I’ve changed the php file to reflect the images in my server rather than yours.

    add_option(‘PPOPOUPUP_URL2′, “http://www.gopiplus.com/work/wp-content/uploads/pluginimages/320×250/320x250_1.jpg”);

    I’ve changed the URL to be a jpg on my server. I can paste the address of my jpg into a browser and see it. What could be wrong?

    Thanks

  33. Liam says:

    Possible to add a java script to this? if so, how?

  34. Craig says:

    I have to put the code [POPUP=IMG1] somewhere in a post, or in a template file? Putting it into the regular single.php code doesnt’ work; it just prints out [POPUP=IMG1] in the post. Putting it between tags throws an error

  35. Craig says:

    That didn’t come out right. putting it between tags doesn’t work right. The tags didn’t print out in my last comment.

    I see now that if I put the code into a post it works, but I don’t want to put it in every post by hand. Is there a way to get it into single.php, catagory.php, etc. ?

  36. ARS says:

    hey, you’ve cool plugin. but, unfortunately it can’t placed in template files. please show me if I’m wrong!

  37. JaceMan says:

    Can you embed autoresponder code from GetResponse or Aweber into these popup boxes?

  38. James says:

    hi,

    is there any way to place wp or buddypress login form into popup, so that popup appears when login link is clicked?

    thank you.

  39. Walter Silva says:

    What css code should be modified to locate the position in a desired location?

  40. Roy Kuijpers says:

    Hi,

    just a quick question about the size.
    I’ve changed the heigth, but I still dont get a complete picture.

    Can you maybe give me a hint what i’m doing wrong?

    Btw, a great plugin!
    Makes live lost easyer!

    Thanks!!

  41. Sanoj says:

    Hi Gopi,

    Its a fantastic plugin which i was searching for. But i have some problem.

    I have separate php file and i am including that to the wordpress template. so i cannot add [POPUP=IMG1] to that page, it will support only with posts and pages. So if you can help that would be great (instead of [POPUP=IMG1] i want like php command). I dont know how to explain, because i am not a software professional.

    Thanks in advance.

    Sanoj

  42. Shaz says:

    Hi Gopi! I like the idea of your popup but I can’t really instal it because it hasn’t been tested on the latest version of wordpress.

    I am wondering when you could test it because I like this popup.

  43. Nonoy says:

    Thanks. I’ve just installed this plugin. But I want to know the function of “show the popup” for __ days and ___ visits. I put 1 day and 3 visits. Is that okay?

    Also, I have deactivated all the plugins except this one and WP super cache. I wonder if I can bring back my other plugins like adsense injections and other widgets. Thanks.

  44. Rotem Ayalon says:

    Hi,
    the popup is showing nicely.
    the problem is, that for some reason after I close the popup, some links on the page are inactive.
    specifically, hyperlinks are not clickable. when disabling the plugin they work.
    any idea?

    thanks,
    Rotem

  45. Clyde says:

    Hi,
    I did all steps but I’m having problem. The popup picture does not appear. I could not find the reason.
    If you can help me to solve the problem…
    thanks,

  46. gg says:

    Hello, Gopi.

    Can I make the popup appear in response to a click on a text/image link?

    Thank you for your work!

  47. Rasco says:

    Hello gopi ,

    Plugin works great on post/page but how can I make it to work on HOMEPAGE.

    Please advice

    Rasco

  48. rod says:

    This plugin not working ffor me at all

  49. DoK says:

    Hello,

    thanks for this greet Plugin.
    Sorry i be a newbee.

    I like cange the horizontal position of this Popup from the righside to the middle of the side.

    Could you please post it, how i can do it?

    the Codes is follow:

    #PopupDiv {
    background: transparent;
    text-align: center;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    position: absolute;
    margin: 0 auto;
    top: 70px;
    left: 100
    z-index: 2;
    border: 4px solid #999999;

    }

    #PopupDiv a {
    text-decoration: none;
    border: none;
    }

    #PopupDiv .PopupDivAds {
    height: 750px;
    }

    #PopupDiv img {
    border: none;
    }

    #PopupDiv .PopupDivBar {
    background: url(‘img/topbar.gif’) repeat top middle;
    height: 20px;
    line-height: 20px;
    }

    #PopupDiv .PopupDivBar a {
    margin-left: 10px;
    font-weight: bold;
    float: left;
    color: #FFF;
    font-size: 10px;
    }

    #PopupDiv .PopupDivBar .close {
    margin-right: 5px;
    display: block;
    width: 12px;
    height: 20px;
    float: left;
    background: url(‘img/close.gif’) no-repeat center;
    }

    #PopupDiv.show {
    display: block;
    }

  50. Scott Brady says:

    You do good work with use full plug-in Gopi. Thank you.

  51. Pagina web tenerife says:

    Excellent plugin, but what i have to do to included on the theme not on each post.

    regards

  52. MrHung says:

    How can i fix new tab link in image?

  53. berk says:

    hello;

    i could manage to run this plugin on my site but not closely to my wishes. how can i make it centered horizontally and aligned top vertically?

    thanks

  54. jack says:

    Wondering the same as a few above – how to put it in theme for every page on site instead of individual posts/pages?

  55. Val says:

    Hi Gopi

    Impressed with features of your popup plugin However, it is being blocked even though you state it is unblockable

    My theory is it’s because it’s where it’s being installed

    I’ve deactivated yours, installed another popup plugin and it works The only difference that I can see is in installation location

    This image explains in more detail
    http://i53.tinypic.com/rti51e.jpg

    PS If you wish for me to remove this image URL, please advise

  56. Daniel Dumond says:

    Is their any way I can dim the screen in the background?

    I tried messing around with the CSS and JS but I can’t seem to implement it on my own!

    Thanks in advance!

    • Admin says:

      This is possible in the “Scrolling down popup plugin” in that if you not enter the background color u can view the transparent effect…

  57. Aidan Formosa says:

    First of all well done for the plugin.

    I wanted to ask if there is a way to activate the popup according to the origin country of the viewer?

    For example if a person is browsing from USA it will show a different popup then a person browsing from UK.

    Thanks for your help
    Aidan

  58. marie says:

    is a flash file applicable here?? thanks.

  59. marie says:

    one more thing, how can i put the popup in the homepage.. thanks again.

  60. youmi says:

    I created a blog on wordpress but i would like before access a my blog, everyone see my photos and a message “welcome to my blog”, then they can click on “welcome to my blog” they can to access my blog. this plugin can do that, dear ?

    pls, reply me.

  61. youmi says:

    It’s ok, i well done !

    thanks

  62. sajeev says:

    Thanks Gopi. That is a nice plugin. Thank you for your efforts.

  63. Gian says:

    Hi, thank you for the plugin
    But I have the same problem of others: can’t work in the homepage. I tried to call the plugin with php command
    echo do_shortcode(“[POPUP=IMG1]“) but didn’t work.
    Haw can we do? I think many people would like to use your plugin from home pages! Does anybody found a way to use it?

  64. suhail says:

    Dear Gopi
    There are lots of issue about installation of this plugin.
    could you please upload a video that shows installation of this plugin.
    it will be helpful for those who have lack of knowledge about installing this plugin.
    i am using classipress and want to install this plugin but i am also new to wordpress and not getting right way to install on my classipress

  65. Rian says:

    Is there a way where I can remove the picture and only show the pop up message?

  66. Di says:

    Is it possible to use this plugin and trigger the popup from a link in the menu?

  67. Karan says:

    this is worked great plugin thanks for ur great support…
    http://www.dardsms.com team

  68. Sharon says:

    HOLY MOLY…this was easy! I’m no an expert like all you other are and this worked very nicely!

  69. Quin says:

    Excellent set of plugins.

    I need to set a time delay before the pop “pop’s up!’ using the image based popup.

    I had a look at the popup.php but couldn’t see any miliseconds to chance there. I looked at the other two plugins and couldn’t see anything in there php either.

    Are you able to help me offset the time by say 3000 miliseconds before loading?

  70. Joe Smith says:

    umm this plugin sucks

  71. todie says:

    shit plugin did´nt work!!!
    i can´t change the image or text.
    i can write do anything but it still takes the standart.

  72. Aman says:

    Really nice plugin. I am using it currently on my site.

  73. Maureen says:

    Can I add a delay to the popup so it does not appear as soon as the page opens up?

    Thank you.

  74. Pk says:

    Super plugin, wish I had found this one earlier!

    Last blog: nieuws over de eerste Nederlandse artikel spinner: artikel tornado.
    http://www.internetmarketingweblog.nl/artikel-tornado-review/

  75. Kim says:

    Hi!

    I need the popup to show up relative to the mouse pointer. Do you happen to know how I can alter the code so I can do that?

    thanks! :)

  76. Mario says:

    It don´t works at all. First, display the default foto, now after deleting it and putting my own, there happens nothing. Maybe it don´t works with wp-cycle and WP Supersized? Or any other plugin that stops the execution?

  77. Fabrizio says:

    Is it possible close window pop up without to be redirect to any page?. I need open your pop up only in filter categories and when a visitor close window should not be redirect to home page! Can you help me?

  78. cNews24x7 says:

    Nice, popup is working! – latest news update. see news 24 hours in 7 days @ cNews24x7.Com

  79. rank says:

    Search Engine Ranking Site Submission >>>> Get High Page Rank And Traffic
    Submit website @ RankRoots.Com over 130 engines at a time, do not lost your time just for one click your site will be listed in the most important search engines.

  80. Greg says:

    Hey great toturial, most likely gonna use the first method since i’m using wordpress, for the internetgeheimen ervaringen website.
    Thx!

  81. Greg says:

    Hey great toturial, most likely gonna use the first method since i’m using wordpress, for the internetgeheimen ervaringen website.
    Thx!

    Messed up link in previous post, sorry.

  82. Glenn says:

    Is it possible for me to add java script to this? If so? how can I? I am not that experienced yet.

  83. Kees says:

    Great plugin mate! Very well done.
    Is it possible to have more than 6 pop-overs?

  84. Ben says:

    I’m trying to set the popup to open on the index.html page only- however the code for the home page setting is not working- I’m having to use the code that opens it in every page except the home page. Interestingly the pop up works on the index.html page with this code.

    Any idea how to get the home page code to work on the index.html page only?

    I have also tried inserting the single line code in the page as mentioned above- nothing worked.

    I set the popup message option to YES- however this stopped the popup code from working at all.

    Thanks
    B

  85. brian h says:

    can you add video to the pop up and can you customize the location of whee the pop up appears thanks!

  86. Glenn says:

    Is it possible for me to add java script to this? If so? how can I? I am not that experienced yet. Just started my Internet geheimen ervaring site.

  87. Glenn says:

    Is it possible for me to add java script to this? If so? how can I? I am not that experienced yet. Just started my internet geheimen ervaring site.

    Sorry link missed in previous post.

  88. Jibe- Formateur Web says:

    Since Worpdress Update, I have problem with the plugin.

    Even if I desactive and active it !

Leave a Reply