WordPress Simple Popup Plugin

January 29th, 2009

Here’s my first WordPress plugin; blood, sweat, and tears have gone into making this simple thing.  The function of this plugin is to easily create a simple popup window like so.

I figure there’s got to be a bunch of bands/musicians using WordPress that need an easy way to create a popup music player to showcase their songs without having visitors go to a separate page of the site.

*This plugin is compatible with WordPress 2.8 and above.

Installation

  1. Download and install/activate this Simple Popup plugin.
  2. Adjust settings in the options page.
  3. Use.

Usage

-Create a popup link in a post or a page by using the shortcode:

[popup url="http://www.popupurl.com"]Link Text Here[/popup]

-For simple sidebar links use the widget

-Create a popup link anywhere else in a sidebar, header, footer, etc. by using the template tag:

<?php simple_popup_link("http://www.popupurl.com","LINK TEXT HERE"); ?>

Screenshot

Simple Popup Plugin v3 Screenshot

Download

Changelog

2/23/09 – Version 2.0 – Now has an option for toggling scrollbars, a widget for easily adding a link to the popup in your sidebar, and a template tag for adding a link wherever else you might want one!  Roll it!

11/1/09 – Version 3.0 – Added support for multiple popup links.  Now has the option to position the window on the screen.  Removed widget :(   Wasn’t very useful.

11/3/09 – Version 3.1 – Brought back widget with easier usage! :D There you go Julie!

1/15/10 – Version 3.2 – With the help of Rich added ability to use multiple popups in the widget and window centering support.

Categories: Internet, Wordpress Plugins


180 Comments on “WordPress Simple Popup Plugin” Comments RSS Feed

  1. Red Reynolds says:

    I have a few enhancements I am needing that others may also find useful:

    1. We want our radio player to pop up on a configurable delay after the site loads no matter what page they hit in WordPress.
    2. We only want the popup to launch one time, so they can browse the site and listen to our music without multiple pop-ups happening.
    3. If they close the pop-up to stop the music, but continue to browse the site, we don’t want the pop-up to launch again until they leave the site and come back some other time.

    Doable and if so how, when, and how much?

    • SW says:

      I want this exact functionality as well. any plans to make this happen? thank you! Your plugin is the best for this, but I’d prefer to have visitors not be required to click to launch the music player I’m embedding in the popup.

  2. Stokko says:

    Hallo Garret

    It could have been so good…
    Could not get it to work – running wp 2.9.1 – it just opens up a new tab in the browser…???
    Am I going crazy – I think I am.

    Cheers
    Stokko

  3. rooob says:

    is there a way i can use like a hard-coded link?
    i’ve tried the <?php simple_popup_link… but didn't work.

    i'm making a link from a table that is inside a widget.

    so i can't use the widget funcion, and the [popup ...] doesn't work either.

    is there some other way i can make it work?

    thanks

  4. John says:

    I recently downloaded and installed version 3.2 from the WordPress plugin site (http://wordpress.org/extend/plugins/simple-popup-plugin/) and noticed that the admin “options.php” file is missing from the archive.

    Hence when administering your plugin from the admin side you can not update/save your settings.

  5. Zimmaron says:

    Can I use an image for the pop-up link instead of text?

  6. Anupam Verma says:

    Hi,I want to use an image in place of text,
    Please suggest me th way
    thx

  7. Anupam Verma says:

    Hi,I want to use an image in place of text,
    Please suggest me th way
    thx

  8. Robin Hall says:

    Hi

    I just tried your great plugin and wanted to point out a slight problem – and the fix for it. If – when inserting the code on the page or post – you copy and paste a URL into the code instead of typing it in manually the pop up won’t work.

    I was inserting a particularly long URL so it seemed a lot easier to copy paste – is there any other way to fix this? – Thanks again – I love the plugin. Robin

  9. paul says:

    hi thanks for the great plug in.
    I’m just wondering on my pop up tap bar is still show up but not yours I want to take it out. is there anyway i have to check?
    and is there anyway to use image as a place holder?

    let me know,
    Thanks.

  10. paulo says:

    how to open a post im popup?
    My idea is to have a link that when clicked open the content of post in a popup.
    Only the contents, without menus, etc..
    tks

  11. Kelly says:

    I love this plug in, it’s exactly what I need, but there seems to be something a little janky with it and I can’t for the life of me see what I might be doing to make it this way.

    I have a website where I want users to be able to open windows. I have several links (about 60) that I want to link to a pop up window.

    I’m at about linking 12 of them, and for some reason if I add anymore links, my whole page will render blank. I’ve tried typing it in, copy and pasting, I’ve double and triple checked my codes to make sure I’m not missing a character, and it’s all correct. However, like I said, if I try to add anymore then the 12 links I have on my page it’s all rendered blank.

    Perhaps I’m doing something my eyes just aren’t catching? Any advice? The page in question is located here:
    http://seedbank.populuxe.ca/?page_id=11

    Thanks so much for any insight you might be able to provide!

  12. Tevya says:

    Hi,
    Your plugin seems perfect for what I want to do. However, when I insert a popup link in a page, as shown in your instructions, it simply links back to the page from which the popup is launched. So I just get the same page I’m already on, inside the popup window. For some reason its just going to the source page, instead of what I put in url=’xxx’ on the page. I’m using WP 2.9.2 and can’t figure it out. My code points to an HTML page that I want to popup, but even on mouseover it just shows the address of the page that the link is on, not the address I put in the code. Any ideas?

    • Tevya says:

      I apologize. I have since figured it out. I looked at the HTML view and discovered that when I pasted in the address, it had pasted the html code to make it a link. So instead of url=’xxx’ it was (modified so it wont be code) url=”a href=”xxx”xxx/a” and that appears to be what was messing it up.

  13. John says:

    Is there any way to make the text wrap in the popup? I have a text file that pops up but it doesn’t wrap so you have to scroll horizontally…

  14. Quentin says:

    Hi just install the plugin… its activated on the gallery page and nothing simply happens.

    anyone would know why?
    thank you

    http://www.fredevents.com/event-gallery

  15. Francis says:

    Works fine in Firefox and Safari. For some reason, in Internet Explorer, the popup window can’t be expanded.

    Any ideas?

  16. Dan B says:

    Hi Folks,

    Simple issue i’m sure. Well not even an issue more so incompetence.

    I’m trying to link the popup plugin to the permalink and have no idea how this would be done!

    Example:
    <a href="<img src="/images/clickhere_icon_darkgrey.gif” alt=”" />

    Many knowledge of Javascipt is absolutely nil, and I got someone to implement the wordpress. I just did the initial design.

    Happy help would be hugely appreciated. manythanks,

    Dan

  17. Dan B says:

    Hi Folks,

    Simple issue i’m sure. Well not even an issue more so incompetence.

    I’m trying to link the popup plugin to the permalink and have no idea how this would be done!

    Example:
    <a href="<img src="/images/clickhere_icon_darkgrey.gif” alt=”" />

    Many knowledge of Javascipt is absolutely nil, and I got someone to implement the wordpress. I just did the initial design.

    Happy help would be hugely appreciated. many thanks,

    Dan

  18. flygirl says:

    Instead of getting a popup window, it opens a new tab.

    Is anyone else getting this? How do I fix that?

  19. flygirl,

    It probably means you have javascript turned off.

    And it CAN vary by browser or browser settings. If the popup fails, a new tab or full window is the fallback.

  20. flygirl says:

    My javascript is enable

  21. wojtke says:

    What kind of music player are you using with your demo? I like it and I want to use it
    Thanks

  22. Dan says:

    You sir are truly a legend. This is exactly what I was after

  23. Jose says:

    How to open a post im popup?
    My idea is to have a link that when clicked open the content of post in a popup.
    Only the content, without menus,header etc..
    tks

  24. marco says:

    I need the code so when I click on an IMAGE, it pops up a link. not click on a LINK and popup an image..

Trackbacks/Pingbacks

  1. [...] 7. Simple Popup Plugin Com este plugin poderá apresentar o que bem desejar com um simples pop-up. Artigos, publicidade, newsletters, etc. [...]

  2. [...] 7. Simple Popup Plugin Com este plugin poderá apresentar o que bem desejar com um simples pop-up. Artigos, publicidade, newsletters, etc. [...]

  3. [...] Simpele Pop-Up Plugin Een heel effectieve manier van reclame maken is via een pop-up. Dit is de ultieme manier om dat voor elkaar te krijgen. [...]

  4. [...] have been abundant when it comes to using my Simple Popup Plugin for WordPress to create a popup music player.  Thus, I have written this guide to help you on your [...]

  5. [...] Simple Popup Plugin “makes it easy to create a simple, modifiable popup window” [...]

Leave a Reply