Welcome at momizat support forums.

Home Forums Goodnews Category Content Display Reply To: Category Content Display

  • TheSeoGuy replied

    Formatting Solution: for Categories and tags
    – installed “Visual Term Description Editor”

    To display properly results that included a H2 heading for both Categories and Tags, I amended the archive.php page

    </div>
    <?php if(is_category() && category_description() != '') { ?>
    <div class="category-description base-box">
    <?php echo do_shortcode(category_description()); ?>
    </div>
    

    To get Tags to also produce content in each tag page, I used this code…

     </div>
     </div>
    <div class="category-description base-box">
    <?php if(is_category() && category_description() != '') { ?>
    <H2><?php single_tag_title(); ?> </H2>
    <?php echo do_shortcode(category_description()); ?>
    <?php } ?>
    <?php if(is_tag() && tag_description() != '') { ?>
    <H2><?php single_tag_title(); ?> </H2>
    <?php echo do_shortcode(tag_description()); ?>
    <?php } ?>		
    </div>
    

    That might not be the most elegant solution (I’m not a programmer), but it solves my problems for the moment… 🙂

    • This reply was modified 6 years, 4 months ago by TheSeoGuy.
    • This reply was modified 6 years, 4 months ago by TheSeoGuy.