WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Theme Options Page – Problem with html in text and textarea inputs

[Resolved] Theme Options Page – Problem with html in text and textarea inputs

  • 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="http://domain.tld/\http://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)
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Theme Options Page – Problem with html in text and textarea inputs’ is closed to new replies.
Skip to toolbar