You can try something like this:
[loop type=post count=4]
<div>
<h3><a href="[field url]" title"[field title escape=true]">[field title escape=true]</a></h3>
<p>[field excerpt words=25] <a href="[field url]" title="Read more"> Read more</a></p>
</div>
[/loop]
Let me know if it is what you’re looking for!
Peter
Hi there, when I do this, it populates the URL of the current page rather than the blog post.
Any suggestions as to what’s going wrong & how to fix?
Hey Raychill, I recommend you open a new thread if the topic is a different one. It keeps things cleaner and helps other users find problems easier. To add info to the current post I suggest you consider a plugin that lets you append or preppend info to the post, such as this one:
https://ww.wp.xz.cn/plugins/append-or-prepend-content/
Once istalled go to Settings > Writing and add in the corresponding box (post type & before or after):
[loop]
[field you-field]
[field you-other-field]
[/loop]

There is no need for parameters since it will detect the current post.
Good luck!
-
This reply was modified 9 years, 7 months ago by
Alvaro Gómez.