Site logo

[Resolved] Category Description not showing Dispatch

Home Forums Support [Resolved] Category Description not showing Dispatch

Home Forums Support Category Description not showing Dispatch

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1914645
    Larrian

    I have entered category descriptions but none are showing up on the category pages. I read through the forum sections on this, but when I went to add the add_shortcode( ‘term_description’, ‘tu_term_description’ );
    function tu_term_description() {
    ob_start();
    echo term_description( get_queried_object()->term_id, ‘category’ );
    return ob_get_clean();
    }
    to the functions.php file it said not to do anything to that file as I don’t have a child theme. I see the archive header in the elements but also don’t know where I would add any snippet etc. Not a programmer…so not clear on the concept here.
    Thanks for your help.

    #1914665
    Ying
    Staff
    Customer Support

    Hi Larrian,

    Any chance you can link us to the site in question?

    You can use the private information field.
    https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information

    Let me know 🙂

    #1914687
    Larrian

    Sure

    #1914738
    Ying
    Staff
    Customer Support

    The archive pages are using a block element called Archive Header Blockas as page hero to show the title.

    You can find the element at appearance > elements.

    There’s only 1 headline block which is presenting the title currently.

    If you want to show the archive description, you’ll need to add a dynamic content block(with GP logo), select Term description:
    https://www.screencast.com/t/G0M0Uf5kIYky

    Here’s an article with tutorial video of block element – page hero, should be helpful:
    https://docs.generatepress.com/article/block-element-page-hero/

    Let me know if you need further assistance 🙂

    #1914784
    Larrian

    That was a great help. I got the description showing but its too large and not contained. Can you tell me how to get the description to stay in the same size as the content? You can see this at thyroidhairandskincareproducts.com

    #1914786
    Larrian

    Just found out how…changed it to group instead of columns. Working great now. This explanation makes sense, where the others in the forum were very confusing.
    Thank you so much!

    #1914833
    Ying
    Staff
    Customer Support

    Great! Glad you figured it out 🙂

    #1915651
    Larrian

    I just discovered the social icons are now missing from the desktop version of the site….they show up in the off canvas for mobile….is there a way to make them show up again on the far right? I tried adding an icon block into the archive element but it locates the block on the far left, which puts it under the logo image and therefore not seen.
    Thanks again.

    #1915663
    Ying
    Staff
    Customer Support

    This question is not related to the original topic, can you open a new topic for this question?

    Thanks for your understanding 🙂

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.