Title: pirrencode's Replies | WordPress.org

---

# pirrencode

  [  ](https://wordpress.org/support/users/pirrencode/)

 *   [Profile](https://wordpress.org/support/users/pirrencode/)
 *   [Topics Started](https://wordpress.org/support/users/pirrencode/topics/)
 *   [Replies Created](https://wordpress.org/support/users/pirrencode/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/pirrencode/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/pirrencode/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/pirrencode/engagements/)
 *   [Favorites](https://wordpress.org/support/users/pirrencode/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Allow HTML link tags](https://wordpress.org/support/topic/allow-html-link-tags/)
 *  Thread Starter [pirrencode](https://wordpress.org/support/users/pirrencode/)
 * (@pirrencode)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/allow-html-link-tags/#post-13691189)
 * [@prabhatrai](https://wordpress.org/support/users/prabhatrai/) Dear Prabhat, 
   thanks a lot for support.
 * I hardcoded function in functions.php and looks like it worked. Here’s the code.
   However I am not sure if it’s correct solution and won’t have any consequences.
   Maybe another solution should be chosen to allow links.
 * Code:
 *     ```
       function allow_html_intimate_widgets_init() {
         global $allowedtags;
         $allowedtags['pre'] = array('class'=>array());
         $allowedtags['p'] = array('class'=>array());
         $allowedtags['code'] = array('class'=>array());
         $allowedtags['strong'] = array('class'=>array());
         $allowedtags['href'] = array('class'=>array());
         $allowedtags['a'] = array('class'=>array());
       }
       add_action('init', 'allow_html_intimate_widgets_init',11);
       ```
   
    -  This reply was modified 5 years, 7 months ago by [pirrencode](https://wordpress.org/support/users/pirrencode/).
 *   Forum: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
   
   In reply to: [Allow HTML link tags](https://wordpress.org/support/topic/allow-html-link-tags/)
 *  Thread Starter [pirrencode](https://wordpress.org/support/users/pirrencode/)
 * (@pirrencode)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/allow-html-link-tags/#post-13683744)
 * Thanks a lot for your answer!
 * I use intimate plus theme on my website:
    [https://www.templatesell.com/item/intimate-plus/](https://www.templatesell.com/item/intimate-plus/)
 * Hmm, so you think it’s theme blocking `<a>` tag. I will take a look more on theme
   related pages, but for now I didn’t find anything in functions.php or front_page_php.
   As far as I understand html tags are managed by a global variable in wordpress
   engine, something like “$allowedposttags”, but for widgets / sidebar.
 * Some remarks:
    1. Actually now problem is not visible on website as I disabled
   all links in sidebar and widgets. 2. All links are working if you do preview 
   in Admin panel, but as soon as you publish them on website they’re not clickable(
   blocked). 3. Links are not working on all related plugins as well in sidebars
   on frontpage, e.g. “Display page”, “Links”, “SA SLider” and other stuff.
    -  This reply was modified 5 years, 7 months ago by [pirrencode](https://wordpress.org/support/users/pirrencode/).

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