Home>Support>Post loop shows entire post

Post loop shows entire post

I just upgraded to Page Builder 1.5 and Vantage 1.2.
I’m using the Post Loop widget on my home page to show the most recent posts.
Unfortunately, after the upgrade the Post Loop shows the entire post and not just until the tag.
Please fix this in the next version. In the meantime, I don’t mind editing the faulty php myself.

Thanks,
Joost

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

  1. 10 years, 2 months ago Joost van den Boom

    I’m sorry, I meant the

    <!--more-->

    tag.

  2. 10 years, 2 months ago Andrew Misplon
    Hi, I Work Here

    Hi Joost

    Apologies for the hassle – we are currently working through a home page issue post the 1.5 update. We made changes to the way the home page behaves to bring the behaviour inline with WordPress standards. This is the first time we’ve seen this error though. If you still have that widget live, please send through a link and we’ll take a look and revert ASAP.

  3. 10 years, 2 months ago Joost van den Boom

    Hi Andrew,

    I’m sorry, but the website is not live yet. I’m working towards an August release, so at the moment it’s running locally. However, I can show you that this is what has been generated by the widget:

    <a href="http://localhost/~Joost/bowlingverenigingutrecht.nl/?p=52" title="Permalink to Test" rel="nofollow">Test</a>
    						
    					Posted on <a href="http://localhost/~Joost/bowlingverenigingutrecht.nl/?p=52" title="10:17 " rel="nofollow">15 juli 2014</a>  by <a href="http://localhost/~Joost/bowlingverenigingutrecht.nl/?author=1" title="View all posts by Joost" rel="nofollow">Joost</a>				<!-- .entry-meta -->
    		<!-- .entry-header -->
    					
    				This is a test message.
    
    And here is the rest of the content!
    							<!-- .entry-content -->		
    	
    <!-- #post-52 -->

    Looks like instead of creating a Read more button, a span is generated and after that the rest of the message.

    Thanks for helping!

  4. 10 years, 2 months ago Joost van den Boom

    Hmm, that code block doesn’t look like much, does it?

  5. 10 years, 2 months ago Joost van den Boom

    Maybe it’s worth noting that if I show the latest messages on the home page (instead of the static home page) the “Continue reading” works find. So it must be a bug in Page builder.
    Reverting to the previous version also fixes it for me. What has changed in the Post Loop???

  6. 10 years, 2 months ago Joost van den Boom

    Okay, maybe it’s WordPress’s fault. Even with the previous versions of Page Builder and Vantage, this problem occurs when the Post Loop is used on any other page than the Home page. I guess that somewhere WordPress decides whether to show the entire post or just the part until the “more” tag. By bringing the Vantage home page more in line with WordPress standards, something must trigger the output of full posts.

  7. 10 years, 2 months ago Joost van den Boom

    Found it!

    WordPress uses a global variable $more to determine if it should output the entire post or not. When I set $more = 0 in the widget function of the Post loop, everything works as I want it.

    Perhaps this would be a good additional setting for the Post Loop widget: show entire post yes/no.

  8. 10 years, 2 months ago Andrew Misplon
    Hi, I Work Here

    Super, glad to hear you made progress there.

    We’ll introduce an option in the Post Loop widget in the next Page Builder update.

    Thanks for the effort.

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