Forums

How do I link to all posts beginning with a particular letter? (9 posts)

  1. timothyb
    Member
    Posted 2 years ago #

    Using search, do I create a link that will show all the posts on one page that begin with a certain letter like G or P?

    For instance on this page http://www.bestgreenblogs.com/greenblogs/ I have it incorrectly set up from A to Z . How do I correctly link to posts that start with each letter?

  2. timothyb
    Member
    Posted 2 years ago #

    Would this link structure be correct for searching for posts that begin with the letter g?

    http://www.bestgreenblogs.com/greenblogs/?letter=g

  3. pizdin_dim
    Member
    Posted 2 years ago #

    I don't think the WP query function supports the argument "letter", so, no, you can't do that. Try looking for a plugin.

  4. rudolf45
    Member
    Posted 2 years ago #

  5. timothyb
    Member
    Posted 2 years ago #

    Thanks for that link!!!! Muchos Gracias!!! =) I was going crazy trying to figure it out on my own..

  6. timothyb
    Member
    Posted 2 years ago #

    Well, after testing this plugin, it's not appropriate for what I need. You need to have a separate page such as http://www.mysite.com/glossary for the ability to have post titles show up alphabetically. I needed something that would show them on the index page.. =( Also there is no category theme in the theme that I use "pixelgreen-10" and the instructions for creating one in the wp codex are unclear and not understandable. Back to the drawing board..

  7. timothyb
    Member
    Posted 2 years ago #

    I'm going to use a very non technical way to show posts beginning with a particular letter. For each post that begins with "G" , I will put that post under category "g" then just simply link to greenblogs/category/g on the top of the page. I will just do that for the other 25 letters of the alphabet as well...

  8. Haecceity
    Member
    Posted 2 years ago #

    Just what I was going to suggest!

  9. nateomedia
    Member
    Posted 2 years ago #

    timothyb — WP-SNAP! will work on the index page or any other page that uses the Wordpress Loop.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags