WordPress.org

Forums

GT Tabs (formerly postTabs)
[resolved] replacing tabs with images (5 posts)

  1. imwrong
    Member
    Posted 3 years ago #

    How could I replace the text tab headers with images?

    As a turnaround, I moved the ul li of tab headers outside the screen {margin-left: -9999px;} and I linked images to url of each tab. But this doesn't really use jquery and the page is reloaded everytime an image is clicked. Any ideas?

    http://wordpress.org/extend/plugins/gt-tabs/

  2. imwrong
    Member
    Posted 3 years ago #

    sorry, forgot to mention the url: http://www.wrongmedia.net/as/?page_id=5
    as it's still under production.

  3. Diomenas
    Member
    Plugin Author

    Posted 3 years ago #

    Currently the plugin is not written to support images; however I have been told that if you use a URL() of an image in the color box that it will use that as a background image for the tab. That is an option.

  4. Diomenas
    Member
    Plugin Author

    Posted 3 years ago #

    however, i do like the method you used to implement this. I might consider adding functionality similar to this in the future.

  5. imwrong
    Member
    Posted 3 years ago #

    finally there's no negative margin, as you may have already seen. There is a class for the tab headers, which goes by display:none; and then I link manually to the images. I had to add the captions to the image itself though. It could be useful to add some image functionality though, since the usual wp user will have a hard time finding out the urls and then adding them manually in html mode of the editor.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • GT Tabs (formerly postTabs)
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags