Questions tagged [category-description]

The tag has no usage guidance, but it has a tag wiki.

0
votes
2answers
47 views

Add category description on product page (Woocommerce)

I'm using Woocommerce as a catalog for a website. I would like to show the category description in every product page. It's that possibile by editing my theme or maybe with a plugin? I can't find ...
0
votes
3answers
31 views

How to enable custom Shortcodes in Post Category Description? [duplicate]

I created a custom shortcode from my child theme's functions.php, And I want that shortcode to display in Post Category Description. But it's not working. Do you guys have an idea on how to enable ...
0
votes
1answer
24 views

List all taxonomies with their descriptions

I have this snippet below that lists all my categories in linked hierarchical order and their descriptions. I was hoping someone could update it to allow for a specific custom taxonomy instead? ...
0
votes
1answer
43 views

Display Category description

I want display category description only the first page: I use in my category.php: <?php if(category_description()) :?> <section class="cat-desc"> <?php echo category_description(...
1
vote
0answers
130 views

How to hide category description in the subpages? [closed]

The category description in the first page is ok but it repeats in every page after pagination. This is painful. I am using WordPress publisher theme and I want to remove the subcategories from the ...
2
votes
0answers
113 views

Embed YouTube video on category description

I would like to embed a YouTube video on my category description pages. When I pasted the URL or embed code in the editor, I see the video. But on the page itself it just shows the code. Is there a ...
1
vote
2answers
129 views

Display Taxonomy Description on edit-tags screen?

I want to add some helpful text to the edit-tags screen describing the proper use of each of my custom taxonomies. I see in the Codex that a description can be added to a custom taxonomy — not to a ...
0
votes
1answer
1k views

How get a shortcode working in category description

I want to use a shortcode for a table in a category description. It's my understanding that WP does not support this. I searched google and found some codes that i needed to add to the functions.php. ...
0
votes
1answer
539 views

wp_list_categories with category description

It seems to me that category_description should be an option in wp_list_categories. Is there way to pull the description when listing all categories?
1
vote
2answers
4k views

How To Add and Display Category Image

I have created a WordPress plugin to create a widget area to display category names (total nmbr of post) and description.Now I want to show the category image just after the category name and after ...
0
votes
1answer
33 views

Question About Messing With Category Pages and Descriptions

For a long time I was trying to figure out how to add category descriptions to not only the top of the category pages, but also to the bottom as well. There seemed to be no solution to this (absent me ...
0
votes
1answer
2k views

How to customize category_description()?

In a website I am working on ,there are 50 categories + sub categories, each has a a very long description text, then in an archive page I display all the titles of the categories + their description ...
-1
votes
2answers
1k views

How to display category list with category description

I have five categories for a custom post type, additionally I have installed a plugin to enable upload image to each category detail, actually I can get show list of categories with details. I need to ...
0
votes
1answer
1k views

Add HTML to Term Description

I'm trying to add ( using wp_editor ) an HTML Term Description without a pluign. Whenever I try and spit out the data I get escaped HTML back: &lt;strong&gt;test&lt;/strong&gt; ...
1
vote
1answer
6k views

How to create a shortcode to display a category description?

I'm at a loss on how to create a simple shortcode out of the following code: <?php echo category_description( $category_id ); ?> Looking to create something in the line of: [cat_description ...
1
vote
1answer
561 views

How to make my category archive behave like a page

I don't want to use the category page as usual (list of posts). I would like to add more content: text, images, columns. Which is the best solution? Maybe redirect from a category page to a page? Or ...
4
votes
2answers
7k views

Remove Archives in category title

How I can remove word "Archives" in head title in category page? I'm using the Twenty Twelve theme and WordPress 4. <head> <title>"name of category" Archives | "name of sites"</title&...
1
vote
1answer
12k views

Display Categories or Subcategories with name & description in category.php

I have the following issue for my customer. Can some suggest a possible solution to this issue? This website has Categories & Subcategories Cat1 -Subcat1 -Subcat2 -Subcat3 Cat2 -Subcat1 -...
1
vote
1answer
1k views

Limit Words in Category / Term Description - Admin Panel

I'm working with a Taxonomy where the Terms have lengthy descriptions. It makes the Admin Panel look really ugly when WordPress tries to display these descriptions for 10 categories. I'm trying to ...
7
votes
2answers
2k views

Add 'Description' to taxonomy 'Quick Edit'

This seems fairly straight forward, but I cannot find a definite guide on how to add the taxonomy description field to the quick edit box. I've followed several tutorials on adding fields to the ...
-1
votes
2answers
7k views

Woocommerce category description as subtitle

I'd love to place the category description just after the main title in a span, like a subtitle. add_filter ('woocommerce_page_title', function ($title) { // what should be here? $title .= "&...
0
votes
1answer
3k views

Get posts from a top category and group by child categories

I have a CPT Called "Membres" (members in English). So after that I created a category called "Membres" and his child categories. Parent category "Membres" - Subcategory1 (3 post inside) - ...
0
votes
1answer
225 views

How do I begin debugging where the description meta tag is set for my categories?

I have the code base for my Wordpress theme, but where do I start debugging where the meta description tag is set for my theme. What I need to do is make it not be set because I set my descriptions ...
8
votes
5answers
11k views

Remove the category/taxonomy description field?

How can I remove the category/taxonomy description field? The one which shows up on the edit category/taxonomy page.
2
votes
1answer
209 views

category_description() shows raw html after version 3.x?

Just looking for some history on the output of category_description() I have categories whose "description" fields are formatted with rich text and I'm trying to understand the differences in WP ...