• Resolved dijtex

    (@dijtex)


    Hello. How can I do shortcodes in Header HTML block?
    What should I edit in child theme files?
    You can see example in header.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Theme Author Creative Themes

    (@creativethemeshq)

    Hi @dijtex, at the moment the Header HTML block doesn’t support shortcodes but I think we could add this feature in the next update.

    Stay tuned 😉

    Thread Starter dijtex

    (@dijtex)

    Where in theme files I can add php script? I really need this functionality as fast.

    Thread Starter dijtex

    (@dijtex)

    Sorry for bad English, I am from Russia.

    Theme Author Creative Themes

    (@creativethemeshq)

    @dijtex well, that depends on what you are trying to do, are you referring to the Header HTML element and that you want to make it to display the shortcode?

    Thread Starter dijtex

    (@dijtex)

    Yes, i want to show slideshow

    Theme Author Creative Themes

    (@creativethemeshq)

    Hey @dijtex, here’s the code you need for making this possible.Replace the contents of inc/panel-builder/header/text/view.php file with the following snippet. Don’t bother putting it in a child theme, just edit the parent theme. We’ll change this in the next update and the change will become permanent.

    With this in place, the shortcodes inserted in the text Header Builder item will be properly expanded.

    Hopefully this will solve your case.

    Best regards!

    Thread Starter dijtex

    (@dijtex)

    Thank you!

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Shortcodes in Header’ is closed to new replies.