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

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

    Thanks

    #79883

    Hello,

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

    Regards,

    Ismael

    #79884

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

    #79885

    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: 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.

    Regards,

    Devin

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

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