Triggering lightbox gallery with a button


WonderPlugin Portfolio Grid Gallery


I'm wondering if there is a way to trigger a gallery with a button? In other words I just want to have a button on my page that says "View photos here" rather than displaying all the thumbnails. And when the button is clicked, the lightbox would come up with the first photo.
Continue reading

How to track tab clicks with Google Analytics


WonderPlugin Tabs version 4.6 and above


For your WordPress tabs plugin, does it work with Google Analytics? Is there an way to allow me to find out "pageview" for each individual tab?


In the plugin, step 3 Options tab -> "Tab Options", check the option "Enable Google Analytics", then enter your Google tracking ID to the following input box. Google Analytics tracking ID has a format like UA-XXXXXXXX-1.

The tab clicks will be logged as page views in your Google Analytics account, and it will add a URL parameter tabid=TABID to the current page URL. The TABID starts from 0.

For example, for the tabs on the page, one click of the second tab will be logged as one page view of /wordpress-tabs/?tabid=1 in Google Analytics, one click of the third tab will be logged as /wordpress-tabs/?tabid=2.