ThemeShaper Forums » Thematic


Improving tags and search returned items

(5 posts)
  • Started 11 years ago by miguel_lopez
  • Latest reply from helgatheviking
  • This topic is resolved


  1. miguel_lopez

    I realized the search and tags widgets return the adecquate posts to their queries, but incomplete (only the title, tags and comment links, etc). The results of a search don't show the content of each post it returns, and in my case I need to do so...

    I'm new in WP, newest on Thematic template, any suggestions/ideas to solve this quick and clean?
    Thank you for your time.

    Posted 11 years ago #
  2. don't understand what you're asking. sounds like you want to modify the loops, but the default tag and search loops show thumbnails AND excerpts so it isn't like all you get is title, tags and comment link. if you'd like search to display the full post content (in lieu of the excerpt you should be able to do this:

    function kia_content($content){
      if (is_search()){
         $content = "full";
      return $content;
    Posted 11 years ago #
  3. miguel_lopez

    Sorry for the bad explanation, in my case there is no excerpt because the posts don't contain any text, each post is an image so no excerpt can be generated. That's why I need to see the content (the image) of every post the loop is retrieving.

    I'm really noob at this, and I bet the solution u put in there is fully functional, but I don't know how to include it to make it work for me (I put it into Thematic's functions.php and save changes, but nothing happens).

    Is there any other way of doing this? I mean, like changing the loop in tag.php and search.php in place of thematic_tagloop(); // thematic_searchloop();

    Thanks in advance.

    Posted 11 years ago #
  4. miguel_lopez

    Nevermind, got it solved with your function, Helga.
    Thanks so much.

    Posted 11 years ago #
  5. glad you got it solved. for future readers, this function (like EVERYTHING we suggest here) belongs in your CHILD THEME'S functions.php

    Posted 11 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.