WordPress.org

Forums

Blog-in-Blog
add limited recent posts using blog in blog (3 posts)

  1. MouseClicks
    Member
    Posted 1 year ago #

    Hi,

    I'd like to use this plugin to add 3 blocks of recent posts on a home page. However, I'd like to have a way to limit how many posts and also to be able to categorize them. Example:

    3 most recent posts from Category A (in block 1)
    3 most recent posts from Category B (in block 2)
    3 most recent posts from Category C (in block 3)

    Is this possible and if so, how would I accomplish this with shortcodes? I don't see a short code for recent posts, just post_id.

    Thanks!
    Deb

    https://wordpress.org/plugins/blog-in-blog/

  2. MouseClicks
    Member
    Posted 1 year ago #

    Also, is there a way to do the same thing for recent comments but just the excerpts?

    [Moderator Note: No bumping, thank you.]

  3. urkekg
    Member
    Posted 1 year ago #

    You need to know category ID (rad it from Category tab on Blog-in-Blog settings page), and then:

    [bib category_id=ID_FOR_CAT_A num=3 pagination=off]
    [bib category_id=ID_FOR_CAT_B num=3 pagination=off]
    [bib category_id=ID_FOR_CAT_C num=3 pagination=off]

    Cheers

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Blog-in-Blog
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic