开发者

Wordpress - Replacing attachment.php with a lightbox

For each single post page on my WP, I have a large images that,开发者_StackOverflow when clicked, link to an attachment.php page where you can click through to view all images in the gallery (by clicking next).

What I need is, when an image is clicked in a post, for a lightbox gallery to pop up where one can click through and view all the images in the gallery.

I do not want a gallery style layout in my posts (thumbnail grid), because I have text and links interspersed throughout each post.


The Lightbox Wordpress Plugin is another one to try out. I use this one on several of my clients' sites. Just install and follow settings instructs. This is typically by default, but, regardless of the plugin you choose, make sure each image that you upload is linked to the File URL so that the pop up actually works.


I use Lightbox 2 WP plugin to accomplish what you're wanting.

Links: Plugin page & Plugin page on WP.org

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜