Strict Standards: Redefining already defined constructor for class bbdb in /home/themes/public_html/forums/bb-includes/db-mysql.php on line 12

Strict Standards: Declaration of BB_Walker_Blank::start_lvl() should be compatible with BB_Walker::start_lvl($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::end_lvl() should be compatible with BB_Walker::end_lvl($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::start_el() should be compatible with BB_Walker::start_el($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127

Strict Standards: Declaration of BB_Walker_Blank::end_el() should be compatible with BB_Walker::end_el($output) in /home/themes/public_html/forums/bb-includes/classes.php on line 1127
Improving tags and search returned items « ThemeShaper Forums

ThemeShaper Forums » Thematic

[closed]

Improving tags and search returned items

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

Tags:

  1. miguel_lopez
    Member

    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 3 years ago #

  2. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512


    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512
    helgatheviking

    Moderator

    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;
    }
    add_filter('thematic_content','kia_content');
    Posted 3 years ago #
  3. miguel_lopez
    Member

    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 3 years ago #
  4. miguel_lopez
    Member

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

    Posted 3 years ago #

  5. Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512


    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 440

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 510

    Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/themes/public_html/forums/bb-includes/kses.php on line 512
    helgatheviking

    Moderator

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

    Posted 3 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.


Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method GA_Filter::spool_analytics() should not be called statically in /home/themes/public_html/forums/bb-includes/wp-functions.php on line 586

Strict Standards: Non-static method GA_Filter::spool_this() should not be called statically in /home/themes/public_html/forums/my-plugins/googleanalytics.php on line 183