Category tab crashed
-
Hi,
I am not very tech-savy, so please bear with me if I have done something drastically wrong.
I used the rich-text-tag plugin and then added this code to archive.php
<?php
if(isset($wp_taxonomies)) {
// This is getting the friendly version of a taxonomy
// – not the hyphenated get_yoast_term_title()
$term = get_term_by( ‘slug’, get_query_var( ‘term’ ), get_query_var( ‘taxonomy’ ) );
if($term) {
echo ‘<h2 class=”pagetitle”>’.$term->name.'</h2>’;
}
// If you have a taxonomy description, let’er rip!
if(function_exists(‘get_yoast_term_description’) && get_yoast_term_description()) {
echo wptexturize(get_yoast_term_description());
}
}
?>After doing that my categories tab stopped working, basically it crashes when I click on any category.
I have removed both of them now but now the category tab isnt still working.
This is my site: https://goo.gl/75jaiD
- The topic ‘Category tab crashed’ is closed to new replies.