Support » Plugin: Text Slider » Links in Slides

  • Hi,

    I know this is only a simple text slider widget but I’d like to try add in html links, I’ve tried this…

    replace line 348
    ‘main_text’ => sanitize_text_field($input[‘main_text’]),

    with
    ‘main_text’ => wp_kses($input[‘main_text’], array(‘a’ => array(‘href’ => array(), ‘title’ => array()))),

    replace line 349
    ‘sub_text’ => sanitize_text_field($input[‘sub_text’])

    with

    ‘sub_text’ => wp_kses($input[‘sub_text’], array(‘a’ => array(‘href’ => array(), ‘title’ => array())))

    But it doesn’t seem to be working, any suggestions. This is the only text slider plugin that I’ve found most suited to my needs so it would be great if we could get it sorted.

    Thanks!

    https://wordpress.org/plugins/text-slider/

  • The topic ‘Links in Slides’ is closed to new replies.