Customizing search results

Community Forums Forums General Discussion Customizing search results

This topic is: not resolved

Tagged: 

This topic contains 2 replies, has 3 voices, and was last updated by  Joe 2 months, 3 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #38255

    wjdennen
    Participant
    Post count: 6

    Hi, I’d like to add some custom fields to the search results. But, I’m not exactly sure where this is done.

    Is there a list of the hooks one can use in search.php in a child theme to modify this?

    • This topic was modified 11 months, 3 weeks ago by  wjdennen.
    • This topic was modified 11 months, 3 weeks ago by  wjdennen.
    #38313

    David Chu
    Participant
    Post count: 1181

    Hi,
    That’s an interesting question that I’ve never run into before.

    A place to start would be to go here, and do a search on “search”. :-) The place I would start looking would be “genesis_search_form”.

    If that doesn’t bear fruit, I would look at plain old WordPress filters for search. Here are some interesting code snippets.

    Good luck,
    Dave


    David Chu · Custom WordPress Developer – likes collaborating with Designers

    #86851

    Joe
    Participant
    Post count: 11

    Did you ever find a solution for this? I’m trying to figure out the same thing.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.