Allow html tag in SLIDES titles

  • Author
    Posts
  • #34187
    Fabrice

    Hello,
    After few tests with sanitize.php for permiting html in some filed, it dosen’t work.
    My exemple for adding html tag in slide title : <font color=red> title for slider 1,2,3,4 </font>

    
    case (preg_match("/.*(slidertitle).*/i"));
    // case (preg_match("/^nirvana_.*/i",$name))
    	$input[$name] = trim($input[$name]);
    break;
    

    Or how to use wp_kses_allowed_html()
    Thnaks,
    Fabrice

    #34222
    Zed
    Cryout Creations mastermind

    There is no case (preg_match("/^nirvana_.*/i",$name)) in Nirvana’s sanitize.php
    There is an if (preg_match("/^nirvana_.*/i",$name)): line which handles all the theme options and shouldn’t be messed with.

    Please see the FAQs.


    If you like our creations, help us share by rating them on WordPress.org.
    Please check the available documentation and search the forums before starting a topic.
Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Allow html tag in SLIDES titles’ is closed to new replies.