Skip to main content

Questions tagged [lightbox]

The tag has no usage guidance.

0 votes
0 answers
14 views

Unable to Edit or Add Photo Gallery Under Portfolio in WordPress 6.2.5

I'm experiencing an issue with editing or adding a photo gallery for our projects under the Portfolio section in WordPress 6.2.5. Details: WordPress Version: 6.2.5 Plugin Version: 1.8.58 (lightbox ...
Sarang's user avatar
  • 1
1 vote
0 answers
237 views

Remove WP 6.4 Lightbox "Expand on Click" functionality

I've been using a standalone lightbox plugin for quite some time and it's worked excellently for many years. Now, since WP 6.4 released its own lightbox functionality, it's not working properly on new ...
The9mm's user avatar
  • 33
0 votes
0 answers
130 views

Show an ACF gallery in a lightbox with thumbnails nav

I used "Foobox" plugin to show a ACF gallery (hidden) start from a single image. Here is the code used if ( have_rows( 'lsv_prodotto' ) ) { while ( have_rows( 'lsv_prodotto' ) ) { ...
Claudio Mattioni's user avatar
0 votes
0 answers
73 views

Simple Lightbox HTML

I'm using WP All Import to maintain 3000 separate posts. The template is HTML-based. I've found that the Simple Lightbox plugin works if I set up my template html like so: <a href="https://...
markw's user avatar
  • 17
0 votes
0 answers
57 views

Link to Lightbox Image-Group from Menu?

Is it possible to link to the first element of a lightbox-group with data-rel attribute from the WP-Menu? I've tried serveral things (JinMenu Plugin, onclick function) but I failed. Do you have any ...
David Kurz's user avatar
0 votes
2 answers
405 views

Whitespace between product image and gallery on initial load of lightbox product page

I'm trying to understand why whitespace appears between the main product image and the product gallery on this page: http://etica.co.nz/product/mini-icosidodecahedron-ring-bearer-box/ Clicking on the ...
chewflow's user avatar
0 votes
2 answers
565 views

Lightbox not showing image caption

I am using Jevelin theme and their Lightbox should showing image caption from alt attribute. Hovewer it doesn't works. Here is the link: https://www.coleopterafarm.cz/galerie-zlatohlavci/ I am ...
Jaccob's user avatar
  • 1
0 votes
1 answer
58 views

How to add a lightbox to class mix?

I have a question: how to add a lightbox to a photo. I've been sitting here a bit and I can not deal with it. <?php //Dynamic Portfolio With Shortcode function portfolio_shortcode($atts){ ...
asqaniusz's user avatar
0 votes
1 answer
525 views

Duplicate lightbox on galleries from Simple Lightbox (SLB) and Divi (MFP)

I installed Simple Lightbox (SLB), but now when I click an image, I get two lightboxes popping up with the same image. Using "inspect element" I can see that the top one is something like: <div ...
krubo's user avatar
  • 101
0 votes
0 answers
64 views

Lightbox scroll page down on iPhone

I have portfolio gallery with lightbox viewer. All works fine, but there is a problem on iPhone. After click on image lightbox opens on the bottom of the page. I need to scroll down to see it. Problem ...
Pat's user avatar
  • 103
0 votes
1 answer
402 views

Not displaying Woocommerce product page in lightbox

I have installed a plugin named "WP Post Popup" . It is easy to use and allows any link to show in a lightbox. I have entered the below code $wproduct = get_post( $wproduct_id ); $wslug = $...
Himanshu Borah's user avatar
0 votes
2 answers
145 views

determine whether content is of type Page or a Post and display accordingly

I'm looking for a way to open every/any link to a blog post in a lightbox/modal globally and without having to any extra classes or rel attribute to the link element. I know I can access this info ...
Daveh0's user avatar
  • 191
0 votes
0 answers
395 views

customize src attribute in woocommerce single product image

I need to add suffix to the end of image file name (in "href" attribute) that show when i click on the woocommerce single product image. *: I'm using Enfold theme and is using magnific popup ...
igr33dy's user avatar
0 votes
2 answers
4k views

How can I integrate Fancybox 3 in Wordpress properly

I would like to integrate Facybox 3 in my WordPress (only on posts). It works but I'm a bit bothered cuz the initialize script is loaded after the core minified fancybox js. So, here is the code I ...
dragoweb's user avatar
  • 249
0 votes
1 answer
2k views

How to insert fancybox to multiple separate galleries in a post?

Okay I'm trying to add fancybox functionality to the galleries in posts. I found this stack exchange: How do i add class="fancybox" to the default gallery? and I managed to get the basic ...
Aslan French's user avatar

15 30 50 per page