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
how to get rid of entry-utility? « ThemeShaper Forums

ThemeShaper Forums » Thematic

[closed]

how to get rid of entry-utility?

(2 posts)
  • Started 5 years ago by arveerella
  • Latest reply from arturkim
  • This topic is resolved
  1. arveerella
    Member

    i'm trying to get rid of entry-utlity... i wanted to place my categories in entry-meta and remove the author-vcard... how do i do that?

    Posted 5 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
    arturkim

    Member

    The following code should do what you want. First, I removed postfooter which is where entry-utility is in. Then, I modified postheader_postmeta to display categories instead of author.

    /* Remove postfooter */
    function remove_postfooter() {
    	/* bye postfooter */
    }
    add_filter('thematic_postfooter', 'remove_postfooter');
    
    /* Modify postheader_postmeta */
    function childtheme_postheader_postmeta() {
    
    	$postmeta = '<div class="entry-meta">';
    	$postmeta .= '<span class="cat-links">';
    	if (is_single()) {
    		$postmeta .= __('This entry was posted in ', 'thematic') . get_the_category_list(', ');
    		$postmeta .= '</span>';
    	} elseif ( is_category() && $cats_meow = thematic_cats_meow(', ') ) { /* Returns categories other than the one queried */
    		$postmeta .= __('Also posted in ', 'thematic') . $cats_meow;
    		$postmeta .= '</span> <span class="meta-sep meta-sep-tag-links">|</span>';
    	} else {
    		$postmeta .= __('Posted in ', 'thematic') . get_the_category_list(', ');
    		$postmeta .= '</span> <span class="meta-sep meta-sep-entry-date">| </span>';
    	}
    	$postmeta .= thematic_postmeta_entrydate();
    	$postmeta .= thematic_postmeta_editlink();
    
    	$postmeta .= "</div><!-- .entry-meta -->\n";
    
    	return apply_filters('childtheme_postheader_postmeta',$postmeta); 
    
    }
    add_filter('thematic_postheader_postmeta', 'childtheme_postheader_postmeta');

    Artur Kim

    Posted 5 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