WordPress.org

Forums

Customizing search result format (9 posts)

  1. brochasimon
    Member
    Posted 2 years ago #

    I am trying to customize what comes up when I search on my website http://www.gtorah.com. For example:

    I search School:
    I get

    Title
    Excerpt
    Author, Date

    I only want to get the Title. If the excerpt cant be taken out that's fine but ideally only the title.

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    You need to customise your theme's search.php template file.

  3. brochasimon
    Member
    Posted 2 years ago #

    Which part and with what?

  4. esmi
    Forum Moderator
    Posted 2 years ago #

    Since this is a custom theme, I can't provide you with exact details. All I can suggest is that you familiarise yourself with the Loop and then remove the elements that you do not want in your search page.

  5. brochasimon
    Member
    Posted 2 years ago #

    Thank you but it looks unbelievably confusing and in the Search.php and index.php file i dont see any elements to remove! Im using the Oh theme with no modifications

  6. esmi
    Forum Moderator
    Posted 2 years ago #

    Try contacting the theme's developer for assistance.

  7. brochasimon
    Member
    Posted 2 years ago #

    Will do, thank you!

  8. brochasimon
    Member
    Posted 2 years ago #

    Would anyone else be able to help me? There seems to be no way to contact the theme's developer

  9. esmi
    Forum Moderator
    Posted 2 years ago #

    If you cannot manage this yourself, perhaps you need to consider hiring someone to carry out the work for you.

Topic Closed

This topic has been closed to new replies.

About this Topic