Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #13608

    Helo, may i ask how to get 1 latest post snippet so that it’s shown on Sentence’s homepage after gallery?




    I think you can use the Template Builder to do this.




    Sorry what is Template Builder and how do i use it?


    Hi winnerlicious,

    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:

    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.



Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘WP Query for only 1 latest post’ is closed to new replies.