[Resolved] Shortcodes/HTML in Descriptions for categories, tags, custom taxonomy.

Home Forums Support [Resolved] Shortcodes/HTML in Descriptions for categories, tags, custom taxonomy.

Home Forums Support Shortcodes/HTML in Descriptions for categories, tags, custom taxonomy.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #505012
    Andrew

    Hi there,

    On this site I am having issues putting shortcodes and HTML in the descriptions of categories, tags, etc and getting them to display.

    Category shows shortcodes but strips HTML. Tags and custom taxonomy (Genres) only show text.

    Is this a known issue or something I’ve done in the child theme’s functions.php?

    http://oldskoolradio.pash.space/genre/dance/

    http://oldskoolradio.pash.space/tag/bank-holiday/

    http://oldskoolradio.pash.space/category/news/

    #505193
    Andrew

    No worries – I got it working with this plugin: Visual Term Description Editor

    Just seemed a bit weird, it was an issue on this multisite but not on other sites I have built with GP.

    #505286
    Leo
    Staff
    Customer Support

    Glad you figured out!

    #505734
    Andrew

    Hah, not really. I can assign images to the tag and custom taxonomy but the Page Header doesn’t pick it up:

    http://oldskoolradio.pash.space/tag/bank-holiday/ – should be a full-screen image there, assigned to the “Bank Holiday” tag.

    #506071
    Leo
    Staff
    Customer Support

    Hmm so Add Background image is turned on?

    I’m not seeing an image being added in the code.

    How are you adding them?

    #506176
    Andrew

    I used this plugin – Visual Term Description Editor – to be able to add images to tags and custom taxonomy.

    You can see the Page Header works here http://oldskoolradio.pash.space/vault/talk-music-special/ – for normal posts.

    #506424
    Leo
    Staff
    Customer Support

    Not sure what the plugin is supposed to do for GP’s page header?

    If you want page header on archives pages, you need to use global locations: https://docs.generatepress.com/article/page-header-global-locations/#post-types-%E2%80%93-archives

    #506605
    Andrew

    The Page Header can be set to retrieve the post’s featured image , no?Like for this post: http://oldskoolradio.pash.space/vault/talk-music-special/

    However on categories, tags and custom taxonomy there is no featured image functionality.

    So I used the plugin and it enables me to assign an image for every category, tag and custom taxonomy item.

    But Page Header does not grab the assigned image to use as a full-screen background.

    #507072
    Leo
    Staff
    Customer Support

    Yeah I don’t think the plugin will work with the page header add-on this way.

    For now the you will have to create a page header for each of them and assign them using global location.

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