Forum Discussion

ShellKim's avatar
5 years ago

Can I modify page header code for each community category?

Hello,

I have created a country-specific category under my community.
And I wonder if I could modify the <head> code for each category.

I want to insert different header codes for each category (here in my case, it will be “country”)

If it is possible to do so, I will be using it when I plant a 3rd party analysis tool.

Thank you in advance

  • ShellKim  - You can achieve this by using the below code in the wrapper(Studio ==>COMMUNITY STYLE==>WRAPPER==>Page Header).

     

    <#if coreNode.id == "category_id">
    header code
    </#if>

     

    Thank you,

    Sai.

1 Reply

  • ShellKim  - You can achieve this by using the below code in the wrapper(Studio ==>COMMUNITY STYLE==>WRAPPER==>Page Header).

     

    <#if coreNode.id == "category_id">
    header code
    </#if>

     

    Thank you,

    Sai.