WordPress.org

Ready to get started?Download WordPress

Forums

ITRO Popup Plugin
[resolved] Shortcodes? (6 posts)

  1. 10in30Fitness
    Member
    Posted 1 year ago #

    Looks very promising but it appears that shortcodes do not work in the editor. I use a shortcode to hide the popup from mobile phones and another shortcode to play the videos. (currently using xyz popup but it doesn't allow excluding individual pages)

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

  2. 10in30Fitness
    Member
    Posted 1 year ago #

    Also, why is the editor window so small? Perhaps it would fit better underneath so it can be full width. I want to use the buttons of Ultimate Tinymce but they are hidden to the right.

  3. ITRO Team
    Member
    Plugin Author

    Posted 1 year ago #

    Hello, sorry for late answer. The editor window is small for a compact user interface. For now use the full width view to see all editor buttons.
    Sorry no shortcode integrated for now.
    Due to low donation will be released a "pro" version at a very low price with many other features.

  4. sdk
    Member
    Posted 11 months ago #

    Is there any way for me to make shortcodes work? maybe i can add some code? If you point me in the right direction that would be awesome! I really love your plugin and would like to continue using it... but if we can't have shortcodes than i'm afraid my client will no donate to the plugin and we will need to move to another...

    thanks!

  5. Nick Ciske
    Member
    Posted 11 months ago #

    To enable shortcodes in the popup:

    Edit /itro-popup/templates/itro-popup-template.php

    Change this line:

    echo str_replace("\r\n",'',$custom_field); /* return the string whitout new line */

    To this:

    echo do_shortcode(str_replace("\r\n",'',$custom_field)); /* return the string whitout new line */
  6. sdk
    Member
    Posted 10 months ago #

    thx! that worked :-)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.