WP Colorbox plugin is a simple lightbox tool for WordPress. It allows users to pop up content in lightbox using the popular jQuery ColorBox library. They can also view the larger version of a particular media file without leaving the page.
Features
- Beautiful lightbox popup style
- Flexiblity of creating your own lightbox link
- Pop up custom/HTML content in lightbox
- Trigger lightbox from either a text/image link
- Add lightbox to a YouTube or Vimeo video link
- Enable lightbox functionality on your site which supports modern browsers
- Use a simple shortcode to pop up a media file in lightbox
- Apply lightbox effect on images inserted into WordPress post/page
- Open external page in lightbox using iframe
- Responsive lightbox popup which works on mobile devices. Also it fits perfectly on smaller screens.
How to Use WP Colorbox
Pop up image in lightbox
Create a new post/page and use the following shortcode to create a text/image link which will trigger lightbox once clicked:
here, url is the link to the media file that you wish to open in lightbox and hyperlink is the anchor text/image.
Pop up YouTube video in lightbox
Pop up Vimeo video in lightbox
Show Title in lightbox
Specify an Alternate Text for an Image
Apply Custom CSS
You can specify your own CSS class in the shortcode to customize a text/image link.
Multiple CSS classes can be separated with a space. For example:
For detailed documentation please visit the WordPress Colorbox plugin page

评论0