Posted 27 October 2012 - 09:42 PM
[pl_modal title="Newsletter Sign-Up" type="btn" colortype="info" label="Newsletter Sign-Up"]
[pageview url=" height="630px" width="100%"]
As you can see I'm using a shortcode inside a shortcode here. But what is the php behind these shortcodes? I can't seem to find them elsewhere.
Posted 27 October 2012 - 10:15 PM
The bigger question is, where do you want the button to appear?
Posted 27 October 2012 - 10:16 PM
This shortcode "pageview" need PageView plugin that will display another web page inside the current post.
Are you use this plugin?
Posted 27 October 2012 - 10:20 PM
You could use a shortcode with a hook, you just also have to give it the instruction to be processed.
You will need to escape any single quotes you have in your shortcode content with a backslash like so ( \' ) if you have any to keep it from breaking your string prematurely. The example code should work as-is as long as you change the hook to a real hook.
You can check out the php for all of the pagelines core shortcodes in !
Posted 27 October 2012 - 10:58 PM
I use your code in a simple post
and this don´t work
then I modify for
This work fine to me