[Support request] categroy description and elements

Home Forums Support [Support request] categroy description and elements

Home Forums Support categroy description and elements

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #696971
    horst

    hello everybody,

    thanks again for this great theme!
    I am using gp 1.7.2 and the artisan site.
    On category archieves there is no description shown.
    Because Artisan uses elements, i tried to to insert the description via hook-element and shortcode, but no luck, only the shortcode is displaying.
    {{custom_field.description}}
    Any help is appreciated.
    Thanks a lot!
    PS: Website is still under construction, so no link is possible. (developing locally)

    GP Premium 1.7.2
    #697009
    David
    Staff
    Customer Support

    Hi there,

    the {{custom_field.description}} is a template tag and can only be used in the Header Element.
    If you want to hook the description in then Leo provides the code to creaete a shortcode here:

    https://generatepress.com/forums/topic/category-descriptions-not-displaying/#post-613578

    Only need the first code and then the shorcode looks like this: [term_description]

    #697864
    horst

    thanks david,
    for your help-works like a charme!

    #698112
    David
    Staff
    Customer Support

    You’re welcome glad to be of help.

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