[Support request] How to show categories description on category page?

Home Forums Support [Support request] How to show categories description on category page?

Home Forums Support How to show categories description on category page?

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #1186231
    Anonymous

    I been looking on google to show categories description on category page using this tutorial => https://www.wpbeginner.com/wp-tutorials/how-to-display-category-descriptions-in-wordpress/

    Would you recommend this is a correct solution or is there other way you recommend to do it? If so, when theme updates would this setting will be deleted from category.php file?

    Thanks!

    #1186383
    David
    Staff
    Customer Support

    Hi there,

    that shouldn’t be required, by default the description should be displayed.
    If you can provide a link to your site i can take a look so if there is a problem.

    #1187269
    Anonymous

    Is not displaying, I got on dummy content on this category => https://www.shopbelleza.com/categoria/cabello/

    and is not showing.

    Can you please check, thanks!

    #1187353
    David
    Staff
    Customer Support

    Aah its because you are using a Header Element.
    Go to Appearance > Elements and look for the Header Element assigned to your Post Archives.
    And add this to the header elements content:

    {{custom_field.description}}

    #1187753
    Anonymous

    Hello,

    David solution worked perfectly. Thank you very much!

    Just one last question, I tried to place link on description content but color seems to be very similar to text one. How can I change text color? any class I can use? Also is there any good wysiwyg editor plugin that you know to add rich text features on description editor?

    Thanks!

    #1187937
    David
    Staff
    Customer Support

    In the Header Element – there is a color option for Links that you can change.

    Maybe this plugin – haven’t used it but its from the author of Code Snippets….

    https://wordpress.org/plugins/visual-term-description-editor/

    #1191229
    Anonymous

    Is there any class I can use for links?

    #1191638
    David
    Staff
    Customer Support

    If you want to use CSS then you can do this:

    .page-hero a {
        color: #ff5481;
    }
    .page-hero a:hover {
        color: red;
    }
    #1646279
    Heather

    Hello, why doesn’t my site (dispatch theme) have the display description by default and why doesn’t this tag seem to work for me inside of the elements hook? {{custom_field.description}}. Note: I disabled the archive header that was in place so it would use the default layout.

    My site: https://fluentonmsft.com/category/office365

    I actually started building pages where I wrote the content by hand, but now I’m realizing how silly that is and I should be pulling in the descriptions.

    #1646311
    Ying
    Staff
    Customer Support

    Hi Heather,

    Take a look at this topic, it should help:
    https://generatepress.com/forums/topic/add-custom_field-description-in-category-header/

    And could you please open a new topic for your question instead of commenting on other user’s topic next time? It’s easier for us to track. Thanks!

    #1863602
    Knuth Becker

    Hi. I tried adding the {{custom_field.description}} on hero header element for the category pages, and it does work. However, it adds the description within the hero. Is it possible to display the description on the category page as though it was a regular post and then underneath have the posts attached to that category?

    Hope my question makes sense.

    #1863617
    Leo
    Staff
    Customer Support

    Hi there,

    Can you open a new topic for your question?

    Thanks 🙂

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘How to show categories description on category page?’ is closed to new replies.