Support » Plugin: Participants Database » Alphabetical pagination/sorting

  • Hello,

    Instead of having the pagination the way it is now, is there a way to just have A – Z, so people can click on a letter and then get a listing with all the fields with that letter?

    For instance, I am using it for a list of wineries…right now it is a little hard to find things if you aren’t quite sure what you’re looking for. For example, right now, users have to guess that Page 4 may contain wineries that start with the letter E.

    I would instead like them to be able to click on E out of ‘A B C D E…” and find all the wineries that start with that letter.

    Please let me know if this is possible! Thanks!

    https://wordpress.org/plugins/participants-database/

Viewing 1 replies (of 1 total)
  • Plugin Author xnau webdesign

    (@xnau)

    Yes, you can do this, but you’ll have to construct the navigation control yourself. You can make a link to the list page that includes a search, so what you do is create a series of links, one for each letter.

    Each link will be something like this…let’s say your list is on a page named ‘participant-list’ and the winery name is in a field named ‘winery_name’ to show all the wineries that begin with the letter “B” your link could look like this:

    <a href="participant-list/?search_field=winery_name&value=b*">B</a>

    the b* means find a word the begins with the letter b.

Viewing 1 replies (of 1 total)
  • The topic ‘Alphabetical pagination/sorting’ is closed to new replies.