Archived topic
categroy description and elements
3 replies · Started by horst on October 9, 2018
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)
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]
thanks david,
for your help-works like a charme!
You're welcome glad to be of help.