Shortcodes Ultimate
[closed] tabs with img as title (3 posts)

  1. chiseledimages
    Posted 2 years ago #

    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.


  2. dasteralo2
    Posted 2 years ago #

    Didi you found a solution ? I need the same function.

  3. esmi
    Forum Moderator
    Posted 2 years ago #

    @dasteralo2: If you require assistance then, as per the Forum Welcome, please post your own topic.

    This 9 month old topic references an old version of WordPress.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Shortcodes Ultimate
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic