WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. chiseledimages
    Member
    Posted 1 year 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.

    http://wordpress.org/extend/plugins/shortcodes-ultimate/

  2. dasteralo2
    Member
    Posted 5 months ago #

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

  3. esmi
    Forum Moderator
    Posted 5 months 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

About this Topic