• Resolved natebin

    (@natebin)


    I have several blog categories. For each, I’d like to show the list of posts with excerpts included. But right now I can either show a list of blog titles in the category without excerpt, or I can show all posts with excerpt but they’re not limited to the category.
    Attempted fixes:
    1. I used this short code, but it doesn’t limit my posts to the category:
    [display-posts posts_per_page=”6″ cat=”3″ include_excerpt=”true”]
    I don’t know why that doesn’t work. (That’s the bottom section of my page.)
    2. So from https://diveinwp.com/shortcode-display-post-from-categories/ I got some code I added to functions.php, and then I used this short code:
    [diwp_recent_posts cat=”3″ num=”20″ order=”desc”]
    But it doesn’t show excerpts. So I tried changing it to this, but it didn’t work:
    [diwp_recent_posts cat=”3″ num=”20″ order=”desc” include_excerpt=”true”]
    (It’s shown at the top of the page.)

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor zymeth25

    (@zymeth25)

    Wrong forum. This is the List Category Posts plugin’s support forum, the shortcodes and link you posted refer to other plugins.

    Plugin Contributor zymeth25

    (@zymeth25)

    That said, our plugin can help you achieve what you need. Read the plugin’s description and head over to our documentation to learn how to use it.

    Thread Starter natebin

    (@natebin)

    I solved this, but now I have different problems, with the style of the category-list-with-excerpt page.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Include excerpts in posts by category’ is closed to new replies.