Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Recent Posts

  • @sn0zb0z

    Participant

    I have a page with all the recent posts on and an archive, but it shows the content for each post and I don’t want it to (I just want title, author, date and category). I would like a summary/excerpt/short description to show, but not the main content.

    I did find a theme that removed it but now I’ve installed BuddyPress not all features work with this theme. So how can I shorten the posts on the recent posts and archives pages?

    Thanks.

Viewing 8 replies - 1 through 8 (of 8 total)
  • @jrcdyer

    Participant

    Find out what template you’re using for that page and then go into your template editor: dashboard > appearance > editor and find the template.

    Switch: the_content();
    to: the_excerpt();

    @sn0zb0z

    Participant

    Thanks. I’m using the Buddypress default theme. Where abouts under editor does it say the_content();? I can’t find it.

    Also, if I change the theme will I have to switch that again?

    @jrcdyer

    Participant

    Ummm, well in that case you shouldn’t have to edit anything. Try this: In your Dashboard, go to: Settings > Reading and look for the option that says “For each article in a feed, show:” and gives you two options: “Full text” and “Summary”. Make sure it’s switched to “Summary”, if not then change it and check your page.

    @sn0zb0z

    Participant

    It’s already on summary.

    @mercime

    Participant

    @sn0zb0z

    1. create a child theme of the BP Default theme https://codex.buddypress.org/legacy/building-a-buddypress-child-theme/

    2. copy over index.php from BP Default theme into your child theme folder and change the_content to the_excerpt

     

    @jrcdyer

    Participant

    Also, here’s an image that will show you what you’re looking for: https://i.imgur.com/baPYq.png

    @sn0zb0z

    Participant

    Thankyou to both of you 🙂 That image really helped and solved the problem.

    @jrcdyer

    Participant

    You’re welcome. Glad you got it sorted.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Resolved] Recent Posts’ is closed to new replies.
Skip to toolbar