Beginner Question. How to put category of posts in page (4 posts)

  1. dbrats
    Posted 4 years ago #

    I'm sorry if this is too basic, but I tried all kind of variations on my blog and seem not to hit the mark as yet.

    What exactly do I put on my page where I want posts from a certain category to appear in blog format?

    Thank you.


  2. vtxyzzy
    Posted 4 years ago #

    First you need to find the 'slug' of the category you want on a Page. Go to Admin->Posts->Categories and copy the slug (in the Slug column) for the category.

    Then, edit the Page (not Post) where you want the Posts in the Category to appear. Enter the shortcode below, replacing my-category-slug with the slug you copied:

    [blog_in_blog category_slug='my-category-slug' ]

    Update (or Publish) the Page.

    Now when you view the Page, you should see Posts in your category.

  3. cbvmercado
    Posted 3 years ago #

    Would it be possible to add more than one category per blog?


    [blog_in_blog category_slug='my-category-slug,category-2' ]

    any idea about the syntax?

  4. vtxyzzy
    Posted 3 years ago #

    That does not seem to be supported in the current version.

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