[resolved] Theme Options Page - Problem with html in text and textarea inputs (2 posts)

  1. Philip
    Posted 5 years ago #

    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?


  2. Philip
    Posted 5 years ago #

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

    now it's working

Topic Closed

This topic has been closed to new replies.

About this Topic