Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Steaders

    (@steaders)

    I won’t add links into the plugin at the moment as I want to keep it simple. But below is a way to allow links to be added.

    If you are okay changing the code. You could change the following lines

    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())))

    Thanks

    Thread Starter defydesigns

    (@defydesigns)

    That’s amazing! Thanks very much!

    Tried this with WP 4.1.1, not working so far. Any idea why?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Links in slides.’ is closed to new replies.