• Resolved Philip

    (@artdev)


    hi to the community,
    i need your opinion and help if possible to fix a strange error in my theme options,

    i have build a theme options page and everything is working fine except the content in the text inputs and textarea’s,
    when i add some content in the text area and include a link it print the link as:
    <a href="https://domain.tld/\https://domain.tld">blablabla</a>

    i have echo all my code with stripslashes like the example bellow:
    <?php if ( get_settings( $value['id'] ) != "") { echo stripslashes(get_settings( $value['id'] )); } else { echo stripslashes($value['std']); } ?>

    but for some reason is not working,
    in the text inputs i have the same problem.

    does anyone have the same problem, or anyone have this working? and how?

    thanks,
    Philip

Viewing 1 replies (of 1 total)
  • Thread Starter Philip

    (@artdev)

    ok, i found a solution about it,
    i have make a mistake in the code!

    now it’s working

Viewing 1 replies (of 1 total)
  • The topic ‘Theme Options Page – Problem with html in text and textarea inputs’ is closed to new replies.