Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Visual builder content not displayed #1857

Closed
ziuzea87 opened this issue Aug 2, 2016 · 6 comments
Closed

Visual builder content not displayed #1857

ziuzea87 opened this issue Aug 2, 2016 · 6 comments

Comments

@ziuzea87
Copy link

ziuzea87 commented Aug 2, 2016

Hey there, I'm using Unyson for a custom template and I have a query where I some specific custom posts content. There is used Visual builder inside those posts and until today everything worked fine, the_content() displayed content for each post and everything worked perfectly. Now, nothing displayed for the posts. Will appreciate some help on this matter. Thanks.

@ghost
Copy link

ghost commented Aug 3, 2016

Hello,

Please edit

wp-content/plugins/unyson/framework/extensions/shortcodes/extensions/page-builder/class-fw-extension-page-builder.php

replace this line with

} else {
    foreach ($posts as &$post) {
        $post->post_content = $this->get_post_content_shortcodes($post);
    }
}

and let us know if it fixes the problem.

@ghost ghost self-assigned this Aug 3, 2016
@Ataurr
Copy link
Contributor

Ataurr commented Aug 3, 2016

Look like its working. Let me try my clients site as well

@ziuzea87
Copy link
Author

ziuzea87 commented Aug 3, 2016

Yep, that did the trick. Thanks.

@ghost
Copy link

ghost commented Aug 3, 2016

I removed that foreach as a performance improvement but I will add it back because it breaks some themes.

ghost pushed a commit to ThemeFuse/Unyson-PageBuilder-Extension that referenced this issue Aug 3, 2016
@ghost
Copy link

ghost commented Aug 3, 2016

@Ataurr
Copy link
Contributor

Ataurr commented Aug 3, 2016

Please release as soon as.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants