Arty Popup
[resolved] Contribution to Arty Popup (7 posts)

  1. Cristian Tacchi
    Posted 3 years ago #

    Hi EnigmaWeb,
    I downloaded your plugin. it works great, but i found that the size of the popup is fixed at 800px (width) and 650px (height).

    I'm not a developer, but i found that this values are recorded and readed from the wordpress database, so i added some lines of code in setting_page.php, after "Popup Image" title, to be able to change them.

    <tr valign="top">
    	<td>Popup Image Size</td>
    	<p><input type="text" name="arty_settings[popup_width]" id="popup_width" size="3" value="<?php echo $options['popup_width']; ?>"> Width of the image</p>
    	<p><input type="text" name="arty_settings[popup_height]" id="popup_height" size="3" value="<?php echo $options['popup_height']; ?>"> Height of the image</p>

    I hope you can add this code (or a better one) to the official version.

    Have a nice day!


  2. Maeve Lander
    Plugin Author

    Posted 3 years ago #

    Thanks Cristian, I'm glad you managed to make it the size you want with this.

    Yeah I considered having more options in the settings including custom size like you suggest, but the question is always where to draw the line with features... I just wanted to make this popup as simple and lightweight as possible. But I'll definitely keep a list of any request from users and if this keeps coming up then I'll include it in later version.

    Thanks again for your input. :-)

  3. dainismichel
    Posted 3 years ago #

    hi, is there an easy "is user logged in" switch?

    can that be added to the php file easily?

  4. Maeve Lander
    Plugin Author

    Posted 3 years ago #


    The first option is a box to 'show popup to admin only' which you can use for testing purposes.... is this what you mean?

  5. dainismichel
    Posted 3 years ago #

    close, i mean the other way around: only show the popup to visitors who are not logged in.

    this one:


  6. Maeve Lander
    Plugin Author

    Posted 3 years ago #

    No sorry, not a feature at present.

  7. giovanirfreitas
    Posted 3 years ago #

    Cristian Tacchi, a great contribution!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Arty Popup
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic