Support » Plugins and Hacks » tabs with img as title

tabs with img as title

  • 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?

    Failed attempts:

    [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.


Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘tabs with img as title’ is closed to new replies.