Display posts shortcode- substitute for Archives shortcode?

  • Author
    Posts
  • #1168405

    maidiebike
    Member

    I noticed the ‘display posts” shortcode http://en.support.wordpress.com/display-posts-shortcode/ for listing posts on a page, that match a certain criteria, has all sort of more useful possibilities.

    Instead of the limited archives shortcode for automatic listing of all blog posts (I have one in “Site Index”), how can one use the display posts shortcode with some extra info. by the post title, so that I leave the number of post titles, unlimited?

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

    #1168676

    maidiebike
    Member

    Anyone tried using more the advanced coding for “Display Posts Shortcode”?

    #1168689

    justpi
    Member

    I’m not sure I understand your question. If you mean display a list of all the posts in alphabetical instead of chronological order, you’d write this:
    [display-posts posts_per_page="-1" order="ASC" orderby="title"]

    #1168750

    maidiebike
    Member

    I actually would like to do more with the display posts shortcode, and list the date of the post after each post title.

    The drop down archives widget groups by category, etc. which I have already.

    Right now my site index uses the archives shortcode and merely gives a long list of articles. I’m trying to find more easier ways to help a user make faster selection instead of reading a mere listing of blog post titles.

    #1168751

    justpi
    Member

    To display links to all the posts, including their date, you would use the above and add the include date property:
    [display-posts posts_per_page="-1" include_date="true" order="ASC" orderby="title"]

    What else what you like to do?

The topic ‘Display posts shortcode- substitute for Archives shortcode?’ is closed to new replies.