ThemeShaper Forums » Thematic

[closed]

undo auto thumbnails in excerpts

(4 posts)
  • Started 7 years ago by helgatheviking
  • Latest reply from helgatheviking
  • This topic is resolved

Tags:

  1. i am using the standard function below to use excerpts on the home page.

    function childtheme_content($content) {
    	if ( is_home () ) {
    		$content= 'excerpt';}
    	return $content;
    }
    add_filter('thematic_content', 'childtheme_content');

    and i am still getting the_post_thumbnail() in the excerpt and i thought that was coming out of thin air, but it is apparently a part of the new thematic excerpt. very cool, except i don't need/want it in my current project.

    if ( apply_filters( 'thematic_post_thumbs', TRUE) ) {
    				$post_title = get_the_title();
    				$size = apply_filters( 'thematic_post_thumb_size' , array(100,100) );
    				$attr = apply_filters( 'thematic_post_thumb_attr', array('title'	=> 'Permalink to ' . $post_title) );

    i can't seem to figure out how to set the 'thematic_post_thumbs' filter to false. any help?

    Posted 7 years ago #
  2. <?php remove_theme_support( 'post-thumbnails'); ?>

    Maybe this?

    Posted 7 years ago #
  3. no luck

    i have also tried both:

    apply_filters( 'thematic_post_thumbs', false);

    and

    define( 'thematic_post_thumbs', false);

    with no success. i don't think i've had to filter something that didn't have a $variable name before

    Posted 7 years ago #
  4. got it

    function no_thumbs(){
    	return FALSE;
    }
    add_filter('thematic_post_thumbs','no_thumbs');
    Posted 7 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.