WordPress.org

Ready to get started?Download WordPress

Forums

Special alphabetic display (4 posts)

  1. BoInG
    Member
    Posted 8 years ago #

    Me again! I have search the forum, but didnt find anything about this.

    I have in a category to many posts and i want to sort them alphabetticly (i'm using this: $posts =query_posts($query_string .'&orderby=title&order=asc&posts_per_page=-1'), but i'm trying to display them like this:

    A
    ------------------------------
    all post starting with "A"
    B
    ------------------------------
    all post starting with "A"
    ,etc...

    Is there an plugin or a way to make something like this? Or if there is in php a way to detect the post that ar starting in title with a specific letter... so i can make my own template for them?

  2. BoInG
    Member
    Posted 8 years ago #

    I see it's a little difficult to do something like this :(

    -ok - but there is a way to show in a topic only the posts that starts in the title with "A" for example?

  3. basketball
    Member
    Posted 8 years ago #

    Ive never seen something like this done, but maybe this might shed some light on it?
    http://wordpress.org/support/topic/12379
    The only thing I
    ve seen done is people using the sortable archives and arranging by title, then by ascending.

  4. BoInG
    Member
    Posted 8 years ago #

    Tnq for your reply - thats what i was searching for... Tnq again.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags