WordPress.org

Ready to get started?Download WordPress

Forums

Twenty Thirteen
[resolved] Using page of posts as home page, how to limit to excerpts? (2 posts)

  1. jamminjames
    Member
    Posted 2 months ago #

    I have a Twenty Thirteen child theme and have a page of posts by category set up for the home page.

    I'm limiting it to three posts, and would like the first one to be full, while the others are excerpts, but I can't figure out how to do it.

    Other posts I've read here talk about making changes around '<?php the_content(); ?>', but Twenty Thirteen doesn't have that in its suggested Page of Posts (pageofposts.php), which I found at http://codex.wordpress.org/Page_Templates

    How can I set this up? Thanks for any help.

  2. jamminjames
    Member
    Posted 2 months ago #

    Ok, the reason I had switched to a page of posts static page was that when I changed to restricting the home page to a category, it stopped showing the slider on top.

    But in another post I was told that the general recommended way to do this is via 'pre_get_posts' action, as explained here:
    http://codex.wordpress.org/Plugin_API/Action_Reference/pre_get_posts#Show_Only_One_Category_on_Home_Page

    So I did that and it resolved my problem, so I'm marking this resolved.

Reply

You must log in to post.

About this Theme

About this Topic