This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Search lists full post content after update to JS 1.1.0

  • Creator
    Topic
  • #10117
    mike-se
    Participant

    Hi Jason!

    After updating to Jump Start 1.1.0 the search for posts lists all search results with small thumbnail and full post content instead of small thumbnail and post exerpts – dispite settings in Theme Options/Content.

    Post lists are displayed correctly. This only seems to apply for search results.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
    Replies
  • #10128
    Jason Bobich
    Keymaster

    Hey Mike,

    If you find any more bugs like this, please keep posting. This actually a good one I don’t think I would have come across.

    So we’re referring to the settings at Appearance > Theme Options > Content > Archives. — For me, the thumbnail setting works fine, but the excerpt/full content setting does not, as you’ve pointed out. Normal category, tag, etc archives do work fine, just not search results.

    I’ve figured out what the issue is. Here’s a temporary fix you can put anywhere in your Child theme’s functions.php.

    function my_fix_search_content() {
    	if ( is_search() ) {
    		themeblvd_set_att( 'content', 'excerpt' );
    	}
    }
    add_action( 'wp', 'my_fix_search_content', 11 ); // Priority 11, after framework

    And this will be resolved in Jump Start 1.1.1.

    #10130
    mike-se
    Participant

    Thanks Jason!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.