Home>Support>Page builder formatting not retained within post loop widget

Page builder formatting not retained within post loop widget

Hi,

Great theme and plugin!

I am having trouble with the formatting of a post when it is displayed within a post loop widget.

I have created 3 sample posts with a category of “Volunteer News”:
http://thecarecommunities201410031445.bitnamiapp.com/wordpress/sample-volunteer-news-post-1/
http://thecarecommunities201410031445.bitnamiapp.com/wordpress/sample-volunteer-news-post-2/
http://thecarecommunities201410031445.bitnamiapp.com/wordpress/sample-volunteer-news-post-3/

…and here is the page that has the post loop on it, limiting the category to “Volunteer News”
http://thecarecommunities201410031445.bitnamiapp.com/wordpress/volunteer/volunteer-news/

Here is my post loop setup (screenshot), using a custom loop-volunteer-news.php template:
https://s3-us-west-2.amazonaws.com/fergusllcscreenshots/post-loop-setup.jpg

…and here is my loop-volunteer-news.php template:

<?php
/**
 * Loop Name: Volunteer News
 */
?>
<?php if ( have_posts() ) : ?>
	<?php /* Start the Loop */ ?>
	<?php while ( have_posts() ) : the_post(); ?>
		<?php the_content() ?>
		<a href="<?php the_permalink() ?>">Read More</a>
	<?php endwhile; ?>
	<?php vantage_content_nav( 'nav-below' ); ?>
<?php else : ?>
	<?php get_template_part( 'no-results', 'index' ); ?>
<?php endif; ?>

It is basically the same as loop-blog.php, but with…

instead of:

I tried using the_content() from the discussion this post:
https://wordpress.org/support/topic/category-select-function-within-page-builder-post-loop

How can I get the posts within the post loop to retain the nice page builder formatting seen when going to a single post?

thanks!
Will

URL: http://thecarecommunities201410031445.bitnamiapp.com/wordpress/volunteer/volunteer-news/

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 9 years, 9 months ago WillCarter

    this code snipped part got changed a bit from the original post:

    It is basically the same as loop-blog.php, but with…

    php the_content()

    instead of:

    get_template_part( 'content', get_post_format() )
  2. 9 years, 9 months ago Andrew Misplon
    Hi, I Work Here

    Hi WillCarter

    Thanks for this detailed report. It’s unfortunately a bug from pre Page Builder 2.0. I’ll check that it’s still correctly logged and give it a bump now.

    Sorry I don’t have more. It’ll need to be addressed in a future update.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More