WordPress.org

Support

Support » Plugins and Hacks » Display Posts Shortcode » [Resolved] [Plugin: Display Posts Shortcode] Showing posts by first letter: first A, then B, then..

[Resolved] [Plugin: Display Posts Shortcode] Showing posts by first letter: first A, then B, then..

  • Hi there

    First of all I would like to say thanks – this plugin is so simple and easy to use.

    What I need is an alphabetic list of all my posts. Quite easy with this plugin. But I would like to split the list between every letter.

    Example:

    A:
    A great day
    A great week
    A great wwww
    
    B:
    Be great
    Be worldclass
    
    ... and so on

    How can I do this? Is it possible to add something like this:

    display-posts startingwith="a" orderby="title"

    Thank you,
    Kenneth

    http://wordpress.org/extend/plugins/display-posts-shortcode/

Viewing 1 replies (of 1 total)
  • Plugin Author Bill Erickson

    @billerickson

    The only way I know how to do this is to:
    – Create a taxonomy called “Post Title” or something similar
    – Create taxonomy terms for each letter: a, b, c…
    – Assign each post to the correct term (or you could write a function that does this for you on publish)
    – Use Display Posts Shortcode to show all posts inside a certain taxonomy term

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] [Plugin: Display Posts Shortcode] Showing posts by first letter: first A, then B, then..’ is closed to new replies.
Skip to toolbar