[Resolved] Page Header/Hero and Category Descriptions

Home Forums Support [Resolved] Page Header/Hero and Category Descriptions

Home Forums Support Page Header/Hero and Category Descriptions

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #676920
    Lewis

    Hi,

    I am trying out the Page Header Elements for the first time using a Page Hero with a display rule set to “Post Category Archive”.

    This seems to be removing the Category Description section from the page.

    I have a function to allow HTML inside of the category descriptions, which allows the category pages to contain more content etc.

    Is there a way to display the Category Description along with the Page Hero Header?

    Thanks!

    GP Premium 1.7.2
    #676978
    David
    Staff
    Customer Support

    Hi there,

    thats not the normal behaviour, so can you ‘disable’ the HTML description function and let me know if the normal description is displayed?

    #676995
    Lewis

    Hi David,

    I tried your suggestion and still no joy.

    Here is the single line I am using in the functions.php to allow the HTML in descriptions:

    remove_filter(‘pre_term_description’, ‘wp_filter_kses’);

    However, with that removed and plain text entered into the description field, it still doesn’t appear. However, when I turn the Element off…it works fine.

    Thanks,
    Lewis

    #677010
    David
    Staff
    Customer Support

    Do you have any other Elements in place? Such as Hooks?

    #677014
    Lewis

    No other elements are being used

    #677025
    David
    Staff
    Customer Support

    Aah my bad, are you are using the {{post_title}} template tag in the header?
    If so can you just remove that and place some static text.

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