Support » Plugin: Posts in Page » 2 more categories in 1 page,and

  • Resolved ifeng

    (@ifeng)


    I use [ic_add_posts category=’category-slug’] to pull my post into the page.when there is 1 category per page,it works well.
    when I try to put 2 categories in 1 page,short code like below

    [ic_add_posts category=’Tibetan buddhism festival,Tibet news’]

    Tibetan buddhism festival and Tibet news are my two categories.
    and all my posts appear in this page.

    Did I miss something ?

    http://wordpress.org/extend/plugins/posts-in-page/

Viewing 8 replies - 1 through 8 (of 8 total)
  • problem solved,this is a GREAT plugin!

    Plugin Author Eric Amundson

    (@sewmyheadon)

    Volunteer Moderator

    Thanks ifeng. 🙂

    Glad you solved your issue. 🙂

    Since you didn’t mention the solution, I will here, in case it helps someone else:

    There’s a problem with the shortcode you originally posted:

    [ic_add_posts category='Tibetan buddhism festival,Tibet news']

    When you’re pulling in categories, you need to use the slug for the category, rather than the category title.

    The easiest way to find the slug for a normal post is to visit your WordPress Dashboard and click on Posts/Categories, which will list all of your categories with their:

    • Title
    • Description
    • Slug
    • Number of associated posts

    So, I’m guessing that the shortcode that worked for you looked something like:

    [ic_add_posts category='tibetan-buddhism-festival, tibet-news']

    Hope this helps someone. 🙂

    Eric

    Thank you ,Eric!
    Actually ,I still don’t know what’s going on although the problem was solved.
    I tried to use the shortcode [ic_add_posts category=’tibetan-buddhism-festival, tibet-news’] but it’s failed.
    and I tried to add posts by using tags,and a BIG error happened.
    Hopeless!I changeed back to [ic_add_posts category=’Tibetan buddhism festival,Tibet news’],and it works!
    I guess it was a system error.

    Plugin Author Eric Amundson

    (@sewmyheadon)

    Volunteer Moderator

    Quite welcome, ifeng. 🙂

    I’d be interested to know if it works when you use the shortcode with the category (or tag) slugs without any space between the comma and the next slug, like so:

    [ic_add_posts category='tibetan-buddhism-festival,tibet-news']

    That should work. I have a sneaking suspicion that it’s the spaces and I apologize because I should know better; we even call attention to that in the instructions:

    [ic_add_posts category='category-slug'] – Show posts within a specific category. Uses slugs, can have multiple but separate by commas. category-1,category2, etc (no spaces.)

    [ic_add_posts tag='tag-slug'] – Show posts using a specific tag. Like categories, it uses slugs, and can accommodate multiple tags separate by commas. tag-1,tag-2, etc (no spaces.)

    Hi Eric ,

    Am using [ic_add_posts category=’expert-talk’] to pull the posts in to my page & it works well but i wish to display thumbnail as well. Can you please help me on this.

    Plugin Author Eric Amundson

    (@sewmyheadon)

    Volunteer Moderator

    Hi chakra_wp,

    In the future, do me a favor and post a new support topic for a new question. 🙂

    but i wish to display thumbnail as well. Can you please help me on this.

    See this post:

    http://wordpress.org/support/topic/how-to-add-featured-image?replies=5

    Thank you very much Eric ! …

    Plugin Author Eric Amundson

    (@sewmyheadon)

    Volunteer Moderator

    You’re quite welcome. 🙂

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘2 more categories in 1 page,and’ is closed to new replies.