Category Description in Archives page (Hemingway)
-
Im trying to get the “category description” to show in the archives.php page underneath “Articles in ‘Only in Ireland'”. Please have a look to this link: https://singularity.bohoe.com/archives/category/only-in-ireland/
(Im using Hemingway)I have tried a couple of things and read in the forum but cant seem to get it right.
I would like to show it as follows:
<?php if (have_posts()) : ?>
<?php $post = $posts[0]; // Hack. Set $post so that the_date() works. ?>
<?php /* If this is a category archive */ if (is_category()) { ?>
<h1>Articles in ‘<?php echo single_cat_title(); ?>'</h1>
[AND THE CAT_DESCRIPTION CODE TO SHOW HERE]Anyone?
If there is a post resolving this, I missed it, so let me know.
- The topic ‘Category Description in Archives page (Hemingway)’ is closed to new replies.