WordPress.org

Ready to get started?Download WordPress

Forums

Posts in Page
[resolved] Not work output categories in one line (5 posts)

  1. webstyle2011
    Member
    Posted 1 year ago #

    I want to output 3 categories and sort them. I write like:[ic_add_posts category-1='questions',category-2='recommendations',category-3='webinars']
    BUT DOWNT WORK!
    Please write right example for 3 categories. Thanks

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

  2. Eric Amundson
    Volunteer Moderator
    Plugin Author

    Posted 1 year ago #

    Hey webstyle2011,

    Try this:

    [ic_add_posts category='questions,recommendations,webinars']

    Per the documentation, it should work like this:

    [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.)

    Hope that helps,

    Eric

  3. webstyle2011
    Member
    Posted 1 year ago #

    I Try this:

    [ic_add_posts category='questions,recommendations,webinars']

    But on site error:

    Warning: urlencode() expects parameter 1 to be string, array given in /home/p/polsts/forexac-vip.com/public_html/wp-includes/formatting.php on line 3192

  4. webstyle2011
    Member
    Posted 1 year ago #

    page site url - http://forexac-vip.com/gold-klub
    where i past a code

  5. ivycat
    Member
    Plugin Author

    Posted 1 year ago #

    Hello webstyle,

    I'll take a look at the error and get back to you asap. :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic