Blog Category Description

len
140 Posts
len posted this 04 May 2016

How do I display the Wordpress blog category description on the top of the blog category page.
Using a Wordpress theme, in the Blog template > Posts control > Add Control there are "post" items and not "posts" items, and no "category description" control.
Thanks, LenW

How do I display the Wordpress blog category description on the top of the blog category page. Using a Wordpress theme, in the Blog template > Posts control > Add Control there are "post" items and not "posts" items, and no "category description" control. Thanks, LenW
Vote to pay developers attention to this features or issue.
3 Comments
Order By: Standard | Newest
Support Team
Support Team posted this 06 May 2016

Hi,

You can output category description by category ID using CMS Code control with the following code:

<?php echo category_description( $category_id ); ?>

For More details please refer to WP Codex:
https://codex.wordpress.org/Function_Reference/category_description

Thank you,
Olivia

Hi, You can output category description by category ID using **CMS Code** control with the following code: `<?php echo category_description( $category_id ); ?> ` For More details please refer to WP Codex: https://codex.wordpress.org/Function_Reference/category_description Thank you, Olivia
paolo.mazzagardi
17 Posts
paolo.mazzagardi posted this 11 February 2021

2021 in that way template crash...

2021 in that way template crash...
Support Team
Support Team posted this 18 February 2021

Hello,

I couldn't reproduce the crash with this code in the latest version.
Besides, the code you posted in this topic works for the Default template, doesn't it?
I mean https://answers.themler.io/questions/91339/how-to-display-category-name-as-title-wordpress

Sincerely,
Nettie

Hello, I couldn't reproduce the crash with this code in the latest version. Besides, the code you posted in this topic works for the Default template, doesn't it? I mean https://answers.themler.io/questions/91339/how-to-display-category-name-as-title-wordpress Sincerely, Nettie
You must log in or register to leave comments