Is it possible to add html to the title of tabs?
I am trying to insert an image as the title of a tab but, everything I’ve tried breaks the title tag of the shortcode when the first double quote of the img src is at. I’ve tried using single quote around the img src, and around the tab title. Neither of which have worked. I’ve also tried escaping the double quotes in the img src without an success. any ideas?
[tab title="<img src="wp-content/themes/voices/images/twitter_footer.gif" />"] [tab title="<img src=\"wp-content/themes/voices/images/twitter_footer.gif\" />"] [tab title="<img src='wp-content/themes/voices/images/twitter_footer.gif' />"] [tab title='<img src="wp-content/themes/voices/images/twitter_footer.gif" />] [tab title="<img src=wp-content/themes/voices/images/twitter_footer.gif />"]
PS. If it matters I’m putting this in a widget.
- The topic ‘tabs with img as title’ is closed to new replies.