• Resolved dariogalleno

    (@dariogalleno)


    Good day,
    please I need some explication about adding an html href tag .
    I modyfied this portion of code in this way:

    array(
    ‘id’ => ‘top-left-phone’,
    ‘type’ => ‘textarea’,
    ‘title’ => __( ‘Phone’, ‘yachtcharter’ ),
    ‘subtitle’ => __( ”, ‘yachtcharter’ ),
    ‘desc’ => __( ‘e.g. 1800-1111-2222’, ‘yachtcharter’ ),
    ‘default’ => ‘1800-1111-2222’,
    ‘validate’ => ‘html_custom’,
    ‘allowed_html’ => array(
    ‘a’ => array(
    ‘href’ => array(),
    ‘title’ => array()
    ),
    ‘br’ => array(),
    ’em’ => array(),
    ‘strong’ => array()
    )
    ),

    in order to insert html for tel calls in a topbar.
    always it prints

    +393351111111
    escaping the html tag..

    how can I fix?

    many tks in advance for your help.
    Dario

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Add tag’ is closed to new replies.