WordPress.org

Ready to get started?Download WordPress

Forums

one format for all search results? (5 posts)

  1. storyfirst
    Member
    Posted 7 years ago #

    I've got almost 1,500 posts on my weblog. If you search by category or tag or anything, really, you are likely to get a lot of hits. The way WP is set up, if you search "dialogue" you'll end up with fifty or so complete posts. You have to wade through all tht to find what you're looking for.

    I'm new to WP, so please bear with me if this is a dopey question.

    Is there one template of module that controls the format for search results, no matter what kind of search we're talking about?

    So for example if somebody searched for 'writing prompts' they would get a neat list of twenty or thirty posts, reverse ordered by date, with links. For example:

    12 Jan 07: Start with an overheard conversation.
    4 Dec 07: Charles Bronson's greatest fan (writing prompt)
    1 Dec 06: Woman finds old trunk (writing prompt)

    ...in each case, the title itself is a link to the post.

    To summarize -- is there any global way to set this up, so that no matter what you search for, or how you search, all results come up in a list like this?

    thanks for any help you can provide.

  2. storyfirst
    Member
    Posted 7 years ago #

    Okay, so: is this a stupid question? A hard question? Doesn't anybody have a clue?

    Would somebody please tell me (1) it's impossible; or (2) go away, you're interrupting our parcheesi game; or (3) hhow to do this.

  3. whooami
    Member
    Posted 7 years ago #

  4. storyfirst
    Member
    Posted 7 years ago #

    whooami -- thank you, but I did read that part of the codex. It stops just short of the information I need which is (just to clarify, as I obviously didn't express myself clearly):

    Anytime somebody clicks on a category or tag, or does a search, they get a results page.

    Is there one template for all results pages, or does each type of search (category, tag, search) have its own? Once I figure that much out, I'll know if I have to create/modify one template, or three. Or more.

  5. whooami
    Member
    Posted 7 years ago #

    youre using the word "search" .. so the answer is that there is one output.

    the default search behaviour of wordpress is one search form == one available template to customize the output, as indicated by the link I gave you.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.