This topic contains 1 reply, has 2 voices, and was last updated by  Mahesh 2 years, 4 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #116695

    [email protected]
    Participant

    I would like to have a front page that features posts from a certain category. I do not want posts from all categories; just one. I also don’t want just a list of the posts, but to show the actual excerpts.

    I can do this in the Joomla site I maintain by marking the posts “featured” so they automatically go on the front page until I change the featured setting, but I cannot find a way to do that in WP. Basically, I want to feature all of the posts in my upcoming events category, then have them disappear when I change the category to past events.

    I did try the List Category Posts plugin, but it only lists the names and does not show the excerpts. I would prefer the whole post, but at least have the excerpts if I can’t have the whole post.

    Any help would be greatly appreciated.

    #116732

    Mahesh
    Keymaster

    @sandysandybalascak-com: For this, you’ll need to create a child theme. You can find more details on creating child theme HERE. Then in your child theme, create page.php and content-cat.php file and copy the code from the link below respectively.

    page.php: http://bit.ly/2qRx7MN

    content-cat.php: http://bit.ly/2qWcPgc

    Let me know if any problem.

    Regards,
    Mahesh

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

The topic ‘Insert Category Excerpts into Static Front Page’ is closed to new replies.