• Resolved AndyFromVandy

    (@andyfromvandy)


    OK, with the help of several of you on this support forum, I about have my site looking the way I want — customizing Customizr theme to my liking.

    I would like to make the search results a bit friendlier — creating links within the results and stylizing what comes back from the search function.

    I’ve read a lot of posts – many recommend installing various Plug-ins, but to MIXED results. I’m CONVINCED there’s some PHP I could modify, but I cannot find it. I don’t think Customizr has a search.php file (or the equivalent), so it must be using some inherent WP functions (right?). But, despite my searching (file by file!), I cannot find anything that helps. I’m confident I could make the subtle changes in the php and css — if I could find the code.

    Can someone point me in the right direction? Many thanks in advance!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Mmm, I struggled too. Try looking in customizr\parts\class-content-post_list.php which looks a likely contender.

    Thread Starter AndyFromVandy

    (@andyfromvandy)

    Thank you! In looking through that file, I noticed that the PHP was actually generating the code I wanted — a title and link to the destination page. I wasn’t seeing this on the search results because I’d “killed” the page titles with

    entry-title { display: none; }

    as I didn’t want the page titles appearing on the pages. I’ll have to work out a solution.

    THANKS AGAIN for setting me straight!

    .entry-title is way too generic to use.
    If you only want to hide page titles on single pages just use

    body.page header h1.entry-title {display: none;}

    and it will not affect the display of titles anywhere else (posts, search results, archives, categories, author content lists, etc)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Arranging and Formatting Search Results’ is closed to new replies.