Timeline for apply_filters to $GLOBALS
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 11, 2015 at 14:19 | comment | added | David |
Your question was, how to use apply_filters() on the returning value of the page builder object. Please don't write code in comment but update your question.
|
|
Aug 11, 2015 at 10:27 | comment | added | MartinU | Thanks for your response David! I tried it, but sadly the shortcodes still don't work. I also tried to activate the plugins manually in the page.php, like this: echo "<div class='content'>"; echo "<h2>$title</h2>"; echo $content; if (is_page( 83 )) { echo do_shortcode('[wds id="1"]'); } if ( is_page( 109 ) ) { echo do_shortcode('[formidable id="2"]'); } echo "</div>"; This time, the plugins DO show, but sadly they show on every single page on the onepage website, although I only target the pages 83 and 109. Maybe this is an easier fix? Many Thanks. | |
Aug 11, 2015 at 10:16 | history | answered | David | CC BY-SA 3.0 |