How To Edit Category Page

Best WordPress theme for festivals or other events with responsive, clean and unique design.
GK User
Thu Sep 29, 2016 6:59 pm
I'm trying to get the category page to show text that I fill in for the description of the category but nothing shows.

How do I do this?
User avatar
Fresh Boarder

Joshua M
Fri Sep 30, 2016 7:27 am
Hello,
I've checked my Fest theme installation and can't see any issue with that, category description is visible. Could you send ma a private message with your website backend access? Then I'll be able to check the issue.
User avatar
Moderator

Joshua M
Tue Oct 04, 2016 8:06 am
I thought about Speakers category (not default blog category), please edit your Fest/category.php file and add the following fragment:
Code: Select all
   <header>
      <h1 class="page-title">
         <?php echo single_cat_title( '', false ); ?>
      </h1>
      <?php
         $category_description = category_description();
         if ( ! empty( $category_description ) )
         echo apply_filters( 'category_archive_meta', $category_description );
      ?>
   </header>

after:
Code: Select all
<section id="gk-mainbody" class="category-page">
   <?php if ( have_posts() ) : ?>
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.