WordPress.org

Ready to get started?Download WordPress

Forums

Search author names (7 posts)

  1. lrivers
    Member
    Posted 6 years ago #

    I've got thousands of authors and I'd like to be able to search on author name using the search form. Is that possible?

  2. sjeantet
    Member
    Posted 6 years ago #

    I have been wondering the same thing. At http://www.sermonexchange.net we have a growing list of authors and would like to offer that as well. If I can't find something, I'm going to set about the task of trying my first plugin! Though I need to get through finals at seminary before that would be possible...

  3. MichaelH
    Member
    Posted 6 years ago #

    If nothing else you can look at how the User->Authors&Users does the search of users.

  4. thedesigncoalition
    Member
    Posted 6 years ago #

    Exactly MichaelH! We need something for the frontend that searches the same way but the list it returns can probably be a little simpler. For example:

    If we enter "Travis" in the search box it would return a list like:

    SEARCH RESULTS

    •Travis Dahl > 5 Posts
    •Travis Doe > 3 Posts
    •Travis Watkins > 2 Posts

    and then when you click on one it brings you to that persons author page (i.e. http://www.yourdomain/index.php?author=1)

    Please let me know if anyone has (or is willing to) develop(ed) a plugin like this.

  5. darrenmac13
    Member
    Posted 6 years ago #

    hi guys this can be done...

    simply use this format in your URL:

    http://www.yourdomain/?author=1
    http://www.yourdomain/?author=2
    http://www.yourdomain/?author=3

    HTH,
    Darren.

  6. thedesigncoalition
    Member
    Posted 6 years ago #

    not sure if you understood the dilemma. Here is a solution though http://wordpress.org/support/topic/121766?replies=6

  7. tedinoz
    Member
    Posted 6 years ago #

    I had a similar problem (1,300+ authors and growing) but my solution takes a slightly different approach.

    For the front-end, I made an A-Z "list authors" page (http://writing.navyhistory.org.au/list-authors/)-IMHO, this is much better than a search; it's driven by a simple no-frills plug-in based on code for wp_list_authors.

    For the back-end, I use Manage-Me (a plug-in by stilglog that's not published anymore). I made a small amendment so that when you look up the user name, you also see the user ID.

    BTW, works on 2.1.3 and 2.2.1

    I'm no expert, but happy to make some/all available. Send an email from website and ask for it to be forwarded to Ted.

    Ted

Topic Closed

This topic has been closed to new replies.

About this Topic