Skip to content
WordPress.org
  • Showcase
  • Plugins
  • Themes
  • Hosting
  • News
    • Learn WordPress
    • Documentation
    • Education
    • Forums
    • Developers
    • Blocks
    • Patterns
    • Photos
    • Openverse ↗︎
    • WordPress.tv ↗︎
    • About WordPress
    • Make WordPress
    • Events
    • Five for the Future
    • Enterprise
    • Gutenberg ↗︎
    • Job Board ↗︎
    • Swag Store ↗︎
  • Get WordPress
Get WordPress
WordPress.org

Forums

  • Welcome to Support
  • Guidelines
  • Get involved
  • Log in
  • Welcome to Support
  • Guidelines
  • Get involved
  • Log in
Skip to content

pedrolorenzo

  • Profile
  • Topics Started
  • Replies Created
  • Reviews Written
  • Topics Replied To
  • Engagements
  • Favorites

Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Forum: Plugins
    In reply to: [Image Photo Gallery Final Tiles Grid] Image tooltip
    pedrolorenzo

    (@pedrolorenzo)

    7 years, 4 months ago

    Yes, it is possible that update of new version can replace this file for a new one and this hack would be lost. Unfortunatelly I still haven’t found better solution that works.

    Forum: Plugins
    In reply to: [Image Photo Gallery Final Tiles Grid] Image tooltip
    pedrolorenzo

    (@pedrolorenzo)

    7 years, 4 months ago

    I got rid of tooltip by replacing attribute title for data-title at tag. Using data-title attribute makes description in the lightbox stil visible.
    My solution:
    in ..\wp-content\plugins\final-tiles-grid-gallery-lite\lib\gallery-class.php
    replaced code snippet

    $title = ( in_array( $gallery->lightbox, array(
                        'prettyphoto',
                        'fancybox',
                        'swipebox',
                        'lightbox2'
                    ) ) ? "title" : "data-title" );

    for

    $title = ( in_array( $gallery->lightbox, array(
                        'prettyphoto',
                        'fancybox',
                        'swipebox',
                        'lightbox2'
                    ) ) ? "data-title" : "data-title" );

Viewing 2 replies - 1 through 2 (of 2 total)
  • About
  • News
  • Hosting
  • Privacy
  • Showcase
  • Themes
  • Plugins
  • Patterns
  • Learn
  • Documentation
  • Developers
  • WordPress.tv ↗
  • Get Involved
  • Events
  • Donate ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org
  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Visit our Facebook page
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
Code is Poetry
The WordPress® trademark is the intellectual property of the WordPress Foundation.