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 Remove (RSS) in Archive Template « ThemeShaper Forums

ThemeShaper Forums » Thematic

[closed]

How to Remove (RSS) in Archive Template

(5 posts)
  • Started 5 years ago by mlou
  • Latest reply from sinette
  • This topic is resolved
  1. mlou
    Member

    I'm using the archive template on my archive page. I'd like to remove: (RSS) that appears after each category. How do I do this?

    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
    em hr

    Moderator

    Try adding this to your functions.php

    function remove_category_archives() {
      remove_action('thematic_archives', 'thematic_category_archives', 3);
      }
    add_action('init', 'remove_category_archives');
    
    function child_category_archives() { ?>
            <li id="category-archives" class="content-column">
                  <h2><?php _e('Archives by Category', 'thematic') ?></h2>
    	       <ul>
    		 <?php wp_list_categories('optioncount=1&title_li=&show_count=1') ?>
    	        </ul>
    	 </li>
       <?php }
    add_action('thematic_archives', 'child_category_archives', 3);
    Posted 5 years ago #
  3. mlou
    Member

    Great, this works perfectly, thank you.

    Posted 5 years ago #

  4. 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
    NordicDesign.ca

    Member

    Yes it did!

    Webdesigner
    www.NordicDesign.ca

    Posted 4 years ago #
  5. sinette
    Member

    hi I'm using the autofocus theme and I have the same question as above but... where excatly do i put this code in the thematic functions.php? I pasted it at the very end but nothing happend.
    secondly I would like to have not 2 categories shown on my archives page but only one. How can 1 delete the month category?
    Help much appreciated!

    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