Ready to get started?Download WordPress


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

  1. 10in30Fitness
    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)


  2. 10in30Fitness
    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
    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
    Posted 1 year 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...


  5. Nick Ciske
    Posted 1 year 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
    Posted 12 months ago #

    thx! that worked :-)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.