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
I’m sorry, I meant the
tag.
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.
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:
Looks like instead of creating a Read more button, a span is generated and after that the rest of the message.
Thanks for helping!
Hmm, that code block doesn’t look like much, does it?
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???
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.
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.
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.