If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.
Helo, may i ask how to get 1 latest post snippet so that it’s shown on Sentence’s homepage after gallery?
Some of the Themes have the additional template builder but Ismael was mistaken as Setence does not.
The best way to do this would be to create your own page template that then gets assigned to the frontpage through the theme options. You can use the template-blog.php as a good starting point. Use the code at the top and change the posts_per_page to “posts_per_page”=> 1 .
The template needs to be tagged as a template which you can see the details for here: http://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates
Its not something that can be done via the wordpress admin options unfortunately so if you aren’t comfortable with php and using FTP to add/modify theme files I would suggest looking into a freelance web developer to do the customization for you.
The topic ‘WP Query for only 1 latest post’ is closed to new replies.