Support » Themes and Templates » categories don't show on first page

Viewing 12 replies - 1 through 12 (of 12 total)

replase <?php single_cat_title(); ?> with <?php single_cat_title('',true); ?>or <?php the_category(', ') ?>

Ok, we are getting somewhere but this is weird:
– if I use your first suggestion,'<?php single_cat_title(”,true); ?>’ the categories on the left hand side work but not the right hand side.
– If I use your other suggestion, ‘<?php the_category(‘, ‘) ?>’ the right hand side works but not the left hand side.

What can I do about that?



Forum Moderator

@chinmoy29 is on to something:

try and replace:
<?php single_cat_title(); ?>
(which appears two times in your code)
<?php echo get_cat_name($ategory); ?>

the php echo didn’t work, but the

‘<?php the_category(‘, ‘) ?>’

did work, when I put it in properly in both places.

THANK YOU so much for your help! I am forever in gratitude!

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘categories don't show on first page’ is closed to new replies.