Title: HTML update
Last modified: August 30, 2016

---

# HTML update

 *  Resolved [nuonis](https://wordpress.org/support/users/nuonis/)
 * (@nuonis)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/html-update/)
 * Hi there! I noticed that subtitles now has some HTML capabilities, but I was 
   wondering if you would consider adding a few more for the next update?
 * Here are the other others I’m manually adding:
 *  ‘a’ => array(), // Link
    ‘href’ => array(),// Link URL ‘title’ => array(), //
   Link Title ‘br’ => array(), // Line break ‘target’ => array() //Link target
 * Thanks for the consideration! And again, thanks for the awesome plugin. 🙂
 * Sinoun
 * [https://wordpress.org/plugins/subtitles/](https://wordpress.org/plugins/subtitles/)

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Author [Philip Arthur Moore](https://wordpress.org/support/users/philiparthurmoore/)
 * (@philiparthurmoore)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/html-update/#post-6386843)
 * Hi Sinoun,
 * You should be able to do this already. Have you seen [this updated part](https://github.com/philiparthurmoore/Subtitles#modifying-allowed-tags)
   of the FAQ?
 * Cheers,
    Philip
 *  Thread Starter [nuonis](https://wordpress.org/support/users/nuonis/)
 * (@nuonis)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/html-update/#post-6386908)
 * Hi Philip,
 * Thanks for the response. I do see that I am able to add a link. I guess the only
   thing I couldn’t do was the line break 
   .
 * Sinoun
 *  Plugin Author [Philip Arthur Moore](https://wordpress.org/support/users/philiparthurmoore/)
 * (@philiparthurmoore)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/html-update/#post-6386922)
 * Hi Sinoun,
 * You just need to add in `'br'` into that list and you should be able to use those
   tags.
 * Cheers,
    Philip
 *  Thread Starter [nuonis](https://wordpress.org/support/users/nuonis/)
 * (@nuonis)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/html-update/#post-6386923)
 * Maybe I’m missing something, but that’s what I did. I manually added ‘br’, but
   every time there’s a plugin update, I have to add it back, correct?
 *  Plugin Author [Philip Arthur Moore](https://wordpress.org/support/users/philiparthurmoore/)
 * (@philiparthurmoore)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/html-update/#post-6386924)
 * No, you can do this directly within your theme now. Please [see this](https://github.com/philiparthurmoore/Subtitles#modifying-allowed-tags).
   In your case it’ll look something like this:
 *     ```
       function subtitles_mod_allowed_tags( $args ) {
           $args = array(
               'br' => array(), // line breaks
               'i' => array(), // italicized text
               'em' => array(), // emphasized text
               'strong' => array(), // strong text
               'a' => array(
                   'href' => true, // links
               ),
           );
   
           return $args;
       } // end function subtitles_mod_allowed_tags
       add_filter( 'subtitles_allowed_tags', 'subtitles_mod_allowed_tags' );
       ```
   
 * Cheers,
    Philip
 *  Thread Starter [nuonis](https://wordpress.org/support/users/nuonis/)
 * (@nuonis)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/html-update/#post-6386972)
 * Sorry for my ignorance, but how do I directly do this in my theme? Where do I
   insert the code in WP admin?
 *  Plugin Author [Philip Arthur Moore](https://wordpress.org/support/users/philiparthurmoore/)
 * (@philiparthurmoore)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/html-update/#post-6386973)
 * Hi there. You would put this directly into your theme’s functions.php file. Hope
   that helps!
 *  Thread Starter [nuonis](https://wordpress.org/support/users/nuonis/)
 * (@nuonis)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/html-update/#post-6386974)
 * Thanks for the clarification!
 *  Plugin Author [Philip Arthur Moore](https://wordpress.org/support/users/philiparthurmoore/)
 * (@philiparthurmoore)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/html-update/#post-6386976)
 * No worries! I’ll resolve this and close it out but please feel free to open another
   thread if you run into any other issues. Happy to help.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘HTML update’ is closed to new replies.

 * ![](https://ps.w.org/subtitles/assets/icon-256x256.png?rev=1063614)
 * [Subtitles](https://wordpress.org/plugins/subtitles/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/subtitles/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/subtitles/)
 * [Active Topics](https://wordpress.org/support/plugin/subtitles/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/subtitles/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/subtitles/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [Philip Arthur Moore](https://wordpress.org/support/users/philiparthurmoore/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/html-update/#post-6386976)
 * Status: resolved