WordPress.org

Ready to get started?Download WordPress

Forums

Simple PopUp
[resolved] PHP / Updates (9 posts)

  1. dhoffmann
    Member
    Posted 2 years ago #

    Hi,

    is it possible to run PHP Code in the announcement? And how to get updates for the ++ Version?

    Daniel

    http://wordpress.org/extend/plugins/simple-popup/

  2. Muneeb
    Member
    Plugin Author

    Posted 2 years ago #

    Hi,

    It's not possible to execute to execute the PHP code In the editor in WordPress but there are few plugins like exec-php which let you do this I'm not sure because I've not tested this either it will work with SimplePop or not.

    Please contact me on the email from where you received the order email for paid version support and you'll receive an email with download link of the updated version when I update is made.

    Thanks
    Muneeb

  3. dhoffmann
    Member
    Posted 2 years ago #

    Hi Muneeb,

    thanks for your answer. Yes, I use exec php and it works fine in posts, pages and widgets.

    But if I use it in your plugins editor box it can't be saved / it is filtered out.

    Daniel

  4. Muneeb
    Member
    Plugin Author

    Posted 2 years ago #

    Enter the PHP code in the HTML mode otherwise Editor will filter it out. I've tested it and it's working without doing any tweaks

  5. dhoffmann
    Member
    Posted 2 years ago #

    the normal way to use exec php is to switch off the html-editor in the profil. if I do that, all content is filtered out.

    if I do it not, it seems to work, but paragraphs and breaks are included and the code does not work correctly.

    is it possible to turn off the editor in simple popup?

  6. Muneeb
    Member
    Plugin Author

    Posted 2 years ago #

    Sorry for the delay yes it's possible to turn off the editor it uses global settings when you disable visual editor

    Disable the visual editor by going to Users->Your Profile

  7. dhoffmann
    Member
    Posted 2 years ago #

    as I told you above, if I do that, all content is filtered out.

    I wanted to know, If there's a possibility to completly turn off the editor in your plugin?

    If not, I'll write by hand. The plugin works as described.

  8. Muneeb
    Member
    Plugin Author

    Posted 2 years ago #

    Yes It's you have to edit options-menu.php

    remove the code from line 212 to 228 then on line 229 removes the style="display:none" and remove the on_click attr in submit input tag

    If you feel difficult to make changes let me know by email Thanks

  9. dhoffmann
    Member
    Posted 2 years ago #

    ok, I'll try it out.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic