Shortcode Wordpress in html

anneke
104 Posts
anneke posted this 30 September 2015

Hi,

I need to a shortcodes in to a html block. I know there are shortcode inserts, but I can't add html in to the shortcode fields. So, thats not the solution.

I tried to find html/php codes instead of shortcodes (for example: <?php anythingpopup('[anything-popup:1]');=""?> )
But the HTML blocks will change this to comments in the code?

I want to make a popup with a Wordpress plugin. After clicking on a link (I added in to the HTML) a popup has to be visible.

Hope someone can help!

Thanks in advance

Hi, I need to a shortcodes in to a html block. I know there are shortcode inserts, but I can't add html in to the shortcode fields. So, thats not the solution. I tried to find html/php codes instead of shortcodes (for example: &lt;?php anythingpopup(&#39;[anything-popup:1]&#39;);=&quot;&quot;?&gt; ) But the HTML blocks will change this to comments in the code? I want to make a popup with a Wordpress plugin. After clicking on a link (I added in to the HTML) a popup has to be visible. Hope someone can help! Thanks in advance
Vote to pay developers attention to this features or issue.
1 Comments
Order By: Standard | Newest
Stagger Lee
1840 Posts
Stagger Lee posted this 30 September 2015

Shortcode in this way you put inside CMS Code control, not HTML control.

CMS is a bit universal, accepts all code and tags, except pure shortcode "[]"..

Shortcode in this way you put inside CMS Code control, not HTML control. CMS is a bit universal, accepts all code and tags, except pure shortcode "[]"..

Last edited 30 September 2015 by Stagger Lee

You must log in or register to leave comments