ThemeShaper Forums » Thematic


I would like a thumbnail photo from the post to show up in the search results

(5 posts)
  • Started 11 years ago by jana
  • Latest reply from helgatheviking
  • This topic is not resolved
  1. jana

    When I run a search-it gives a summary of the post-how can I add a picture to this at the left. I have almost no php/design knowledge but I'm willing to learn if you are willing to explain it to me.

    Posted 11 years ago #
  2. Another member got a similar thing working with the Get the Image plugin on category archives that you might be able to apply

    except where Ridgely removed and then recreated the 'thematic_category_loop' you would need to remove and recreate the 'thematic_search_loop'. You'll also be hooking into the 'thematic_searchloop' hook instead of the 'thematic_categoryloop' hook in the example.

    Posted 11 years ago #
  3. Helga-

    I saw your "test for echo" and deleted it, reinstating your original post. Askimet keeps wanting to filter you out :/ Hopefully it will learn from me whitelisting your post. If it happens again let me know. Thanks for all your help around here it is much appreciated :)


    Posted 11 years ago #
  4. jana

    Here's what I want my search results to look like

    helgatheviking-thanks for the idea but this looks way complicated-I'm a newbie and I'm not sure I could do this. Anyone else have an easier fix.


    Posted 11 years ago #
  5. @Gene - thanks for fixing that and just in general for all the stuff YOU do. i just cut and paste solutions to things that have often already already been answered. this was the first time i had that happen to me. silly akismet thinking i am spam.

    @jana - well the easiest thing would be a plugin and i dont know of one that does exactly what you want. You are after a reasonably complex bit of functionality so you might have to get your hands dirty if you are determined to do it yourself.

    did you try installing the get the image plugin? And then in your child theme take the code i linked you to, replace every instance of thematic_categoryloop with thematic_searchloop and every instance of thematic_category_loop with thematic_search_loop, and then drop it into your functions.php?

    If you are unfamiliar w/ creating child themes there is plenty of good info here on themeshaper, and i find these 2 posts especially helpful:

    I actually used the child framework on the 2nd site to design my last theme.

    Posted 11 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.