Need help? Check out our Support site, then


shorcode [display-posts] ?

  1. [display-posts] lets you list posts of a specific category, author, or tag

    cf support: http://en.support.wordpress.com/shortcodes/#miscellaneous

    Hi everybody,
    Since there's no more info available on the above support page, does anybody know how to customise this shortcode in order to display such a list of posts from a specific category onto a static page, please?

    e.g I've tried this one, but it only displays a kind of archive list for my 10 latest posts with no category selection
    [display-posts taxonomy=category tag_ID=914 post_type=post]

    Any suggestion would be great, thanks in advance :-)

    The blog I need help with is lilmaouz.wordpress.com.

  2. "shortcode" ^^ sorry :-s

  3. Hello LittleMinnie,
    thank you for the information... i didn't know it... so I searched and here is what I found which works for me :
    [display-posts tag="SLUG_ID" posts_per_page="NUMBER" ]
    or
    [display-posts category="SLUG_ID" posts_per_page="NUMBER" ]

    where SLUG_ID is the word in the Slug column facing the name of the desired category or tag in the lists of tag or category,
    and of course NUMBER is the name of article you want to see in the page. You will see the last posts of that category (or tagged with the specified tag)
    A Bientôt and Happy new Year ! (in english for today !)

  4. Thank you! I never noticed that before but it could be quite useful!

  5. hello meuheuh, tank you paris match ^^ (heureusement que les potines sont là, j'aurais largement le temps de sècher avant qu'on s'intéresse à moi ici :-) lol

  6. hey hey hey Tessie, mmmwah!!! a huge kiss for you my old pussycat friend ❤

  7. ...and of course to display posts from a specific author :

    [display-posts author="USERNAME" posts_per_page="NUMBER" ]

    where USERNAME is (what a surprise!) the WP username of the specific author and NUMBER is the number of articles you want to see in the page. You will see the last posts written by this specific author.

    Sorry for my first answer : NUMBER is the name of article you want to see in the page
    Of course I wanted to write : NUMBER is the number of articles you want to see in the page.

    @ lilmaouz : c'est à cela que servent les potines ! ne pas vous laisser aller seule vers l'étranger.

  8. Thank you Tassi, you're simply perfect, dear :p

  9. You can try this as well.
    http://en.forums.wordpress.com/topic/shortcode-display-posts-options?replies=4

    I found this topic while looking up the tag.

  10. @lilmaouz
    @tassiopee
    Waving to you two. :)

  11. @designdolphin
    Cool. :)

Topic Closed

This topic has been closed to new replies.

About this Topic