Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].
Hello,
Thanks for creating such great plugin!
However on my new template PB is not outputting anything (or it displays just post content, which I don’t want) Im not using the default loop, just this:
$screenContent = apply_filters( 'the_content', $screen->post_content ); $screenContent = str_replace( ']]>', ']]>', $screenContent );
$screenContent is outputted to frontend.
Hi Marcin
Page Builder uses some standard WordPress content filters, which aren’t ever applied to $post->post_content. Either you’d need to set up the post data with setup_postdata, or you’d need to use the following technique to apply all the necessary filters.
http://wordpress.stackexchange.com/questions/9667/get-wordpress-post-content-by-post-id
Sorry, but this renders the same code… :(
Im outputting $screenContent. Normal (from normal editor) content is displaying correctly.
I will check this out, thank you!
W dniu 2015-03-09 o 14:41, Greg Priday pisze:
Okay I got it working. I changed my foreach with the standard loop: