This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Eanble some tags to be use in text contents

  • Creator
    Topic
  • #2496
    littleantz
    Participant

    Hi Jason,

    I’d like to be able to apply inline styles in text contents of the frame work. For example in slogan area, I want to be able to highlight part of text by changing its color or applying strong tags but it looks like it is being stripped off.

    I know this is done for good reason so I want to be able to enable it in certain parts only if that is possible. Slogan would be one.

    Thanks

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #2506
    Jason Bobich
    Keymaster

    I’m kind of guessing, but I think you could do it something like this:

    my_allowed_tags( $tags ){
    	$tags['a']['style'] = true;
    	return $tags;
    }
    add_filter( 'themeblvd_allowed_tags', 'my_allowed_tags' );
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.