ThemeShaper Forums » Thematic


undo auto thumbnails in excerpts

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


  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 12 years ago #
  2. <?php remove_theme_support( 'post-thumbnails'); ?>

    Maybe this?

    Posted 12 years ago #
  3. no luck

    i have also tried both:

    apply_filters( 'thematic_post_thumbs', false);


    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 12 years ago #
  4. got it

    function no_thumbs(){
    	return FALSE;
    Posted 12 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.