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?
How do I do this?
-
- 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.
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.
-
- 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:
after:
- 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() ) : ?>
-
- Moderator
3 posts
• Page 1 of 1