• Resolved yasas123

    (@yasas123)


    SKT Hotel Lite theme shows HTML code in the footer. nothing wrong with the

      .how to fix?please help.

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

    (@fostonda)

    I had the same problem when I edited it with my own items & html entities.

    Info for theme author:
    I think it is the code on line 457 of customizer.php that is causing the problem –

    'sanitize_callback' => 'wp_htmledit_pre'

    Changing it to –

    'sanitize_callback' => 'wptexturize'

    seems to give a solution
    Thanks
    Dave

    Theme Author sonalsinha21

    (@sonalsinha21)

    ok thanks for giving the fix. Will try to fix this in next update.

    ddfoston

    (@fostonda)

    You’re welcome, I hope it helps.

    Just for your info; I did the same change on line 511 so I could break address data onto separate lines.

    All the best
    Dave

    Hi I am having the same problem. HTML code is showing in footer for main menu. Was fine until I tried to edit with my own links. Have put everything back as it was but still shows code. Please help?

    Hi JurieWP

    As a temporary fix I changed customizer.php on lines 457 & 511 to
    ‘sanitize_callback’ => ‘wptexturize’

    cudstomizer.php id found in the inc folder of the theme.

    It all worked fine after that.

    As you can see above, I informed the theme author so they could make changes.

    As and when the theme is updated be sure to check that these changes have been implemented. Change the code again if necessary and inform the author again.

    Hope this helps
    Dave

    ddfoston, your solution doesn’t work for me…

    paulchrisjones – sorry to hear that. It’s still working fine on my site.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘SKT Hotel Lite theme shows HTML code in the footer’ is closed to new replies.