0
votes
1answer
94 views

Add gallery id to rel attribe of wp_get_attachment_link

Now i have this snippet in my functions.php /** * Add rel to links. */ function add_rel_to_gallery($link) { return str_replace('<a href=', '<a data-fancybox="true" rel="group" href=', ...
-2
votes
1answer
753 views

Continuous jQuery Slider / Carousel Plugin with linkable slides [for WooCommerce]

As the title says, I'm in search of a continuous slider for my WooCommerce products I have so far tried to accomplish this using custom post types, (with not much luck, because I'm having trouble ...
1
vote
1answer
2k views

Customize the Wordpress Default Gallery Output

I want to customize the Wordpress default gallery so that it would format as something like this for each item: <dl class="gallery-item imgteaser"> <a rel="lightbox-cats" ...
3
votes
3answers
2k views

Adding jquery and thickbox to WordPress theme

I would like to add thickbox for the template which I develop to WordPress. At this time I'm trying with a clean template that have only header.php, footer.php,index.php, and functions.php. I've ...
0
votes
2answers
343 views

Gallery - custom html for inserting images

I have gallery (I'm using Cleaner Gallery plugin) with many images. I want to add asynchronous image loading with jQuery (I'm using JAIL to do that). But to use this JAIL plugin I need to change ...