Questions tagged [lightbox]
The lightbox tag has no usage guidance.
31
questions
0
votes
0
answers
77
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' ) ) {
...
0
votes
0
answers
40
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://...
0
votes
0
answers
56
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 ...
0
votes
2
answers
374
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 ...
0
votes
2
answers
528
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 ...
0
votes
1
answer
54
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){
...
0
votes
1
answer
502
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 ...
0
votes
0
answers
51
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 ...
0
votes
1
answer
392
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 = $...
0
votes
2
answers
113
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 ...
0
votes
0
answers
373
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
...
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 ...
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 ...
0
votes
1
answer
429
views
Customize CSS for "Swipebox " lightbox
I'm using Awesome Flickr Gallery, a plugin to show Flickr galleries on a website; it uses "Swipebox" to display single pictures on a lightbox.
The lightbox display two bars, on to and bottom of the ...
0
votes
0
answers
49
views
Render Shortcode in Lightbox Gallery
I am trying to have a video gallery, but I use HolaCDN. Their wordpress plugin lets you insert videos using a shortcode, and that shortcode inserts the necessary javascript to render their video ...
0
votes
1
answer
2k
views
Image linking and lightbox
I'm having one problem that i can't solve for quite some time.
I'm building a portfolio site using Expositio theme. I need all pictures to open in lightbox when clicked, but instead of that, when I ...
1
vote
2
answers
1k
views
Trying to add attribute to my posts' featured image
I'm trying to add the attribute data-featherlight with a value of 'mylightbox' to all my post featured images. I believe this is the code I need, but I do not know where I put it. I'm working with the ...
0
votes
1
answer
2k
views
Ajax the create and edit post form into lightbox and get results
So I have a Wordpress site I built that has custom post types and references to those post types inside others.
Example:
Custom Post Type 1
Custom Post Type 2 - References Type 1 on two fields
Custom ...
-1
votes
1
answer
799
views
How to resize video lightbox popup in wordpress? [closed]
I am using videolightbox in WordPress.
Video Popup size is too big see here almost covering the whole page.
I want to change the pop-up size to a smaller one, at the same time I would like to keep ...
1
vote
1
answer
15k
views
How do I make images clickable so as to enlarge them using lightbox?
I use markdown editor and insert an image by Insert Media, then I have, for instance,
<img src="path/saint-lary-piste-map.jpg" alt="saint-lary-piste-map" width="2084" height="1288" class="...
1
vote
1
answer
213
views
Pre-styling post content to display in lightbox
So I've built a post system that is pushed into an image grid. When the user clicks on one of the images, a lightbox opens and displays the post content along a feature image via AJAX. Like this: ...
0
votes
2
answers
2k
views
Open image gallery on link click
I have a very simple wordpress problem, but I'm still struggling to figure out the solution. I have an anchor tag, and I want it to open an image gallery in a lightbox (as the default behavior when ...
0
votes
1
answer
35
views
How to get the form code from the edit page of a specific post?
On a site I'm working on, in the profile page - for example - I have to display the content from a few custom posts (additional details, location details, billing). And instead of having the user ...
-3
votes
1
answer
300
views
Loading post that has visual composer data inside lightbox? [closed]
I'm trying to load this post http://tropicalzero.com/project/me-gigaset/ inside the lightbox that opens on the first portfolio item at http://tropicalzero.com/portfolio/.
All of this content is dummy ...
1
vote
1
answer
4k
views
Add "data-" attribute to image links
Is it possible to add an attribute and value to image links?
I currently have:
<a href="#">
<img class="img-responsive aligncenter wp-image-1286 size-full" src="#" alt="..." width="858" ...
2
votes
1
answer
2k
views
custom post type grid with content in lightbox [closed]
I'm going around every single wordpress plugin and impossible to find something with this featured . . . .
I need a grid list of some custom post type - with inline filter.
This is fine and tons of ...
1
vote
2
answers
8k
views
Show LightBox when clicking on featured image [closed]
My WordPress site displays featured images at the top of each post. Here's the PHP code from post.php that generates the featured image.
<?php if ( current_theme_supports( 'get-the-image' ) ) ...
-1
votes
1
answer
36
views
Modifying lightbox plugin to allow for quoting, Does this exist? [closed]
I've been searching online for a plugin to use with my website that would allow the the user to click on an image in a foogallery image gallery and then have the image open in a fullscreen lightbox.
...
0
votes
1
answer
2k
views
NextGEN Gallery - set lightbox image size
I use NextGEN gallery with lightbox effect. Is there any way how to set the lightboxed image to f. ex. to max width: 600px? Without resizing the source image? I have tried all of possible Lightbox ...
2
votes
2
answers
3k
views
wp_get_attachment_link to add title attribute to link tag around image
I have a working Lightbox (colorbox) solution for my wordpress images. However I would like to add a custom title based on the image caption and photographer name to the lightbox image.
This works ...
0
votes
1
answer
115
views
I need a lightbox plugin that will apply to gallery [closed]
I have a gallery on my page, in this type of syntax:
[gallery ids="1588,1584,1582,1583,1581"]
I would like each image to open up in a lightbox. I've tried the Simple Lightbox plugin, which looks ...