Posts list by category - Plugin Shortcodes not working

Discussion in 'Infoway WordPress Theme' started by judester, Jul 30, 2013.

  1. judester

    judester New Member

    Joined:
    Feb 6, 2013
    Messages:
    8
    Likes Received:
    0
    I need to have the ability to create a page and add a shortcode to it -- this shortcode needs to output a list of posts by category name or id (and have other parameters if possible). I've used 2 different plugins and tried modifying the shortcodes.php file. Nothing works. The plugins I've tried are display-posts-shortcodes and list-category-posts.

    I could create a unique template that queries by category but I don't want to create a new template every time I need to produce a page of specific posts.

    Thanks!
     
  2. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107
    Hello,
    I think you want to display the posts related to a particular category in a page.
    So for this, you do not need to use any plugin.

    To achieve this follow the steps given below.
    1. Simply create your category from the Posts > Categories in your dashboard

    2. Then go to Appearance > Menus in your dashboard and add that category to the custom menu.
    See the link for the reference.
    http://screencast.com/t/C6TSOdoT

    3. And then create your posts from the Posts > Add New in your dashboard and select that category for the post.
    See the link for the reference.
    http://screencast.com/t/8LCSOXoiI

    and then your all the post of particular category will display on the category menu.
    This will solve your issue.
     

Share This Page