The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
54 views

Trying to get my gallery to be responsive based on the post

I am trying to build a gallery page that is responsive to the post ID. After discussing ideas with a friend who is far more knowledgeable in WP he suggested I use post ID in my arguments that is ...
0
votes
1answer
121 views

Pull Random Attachments With Pagination

I want to make a archive page that pulls in all uploaded images to the site. I am using the current script. Its paginating somewhat but not showing all the images. Showing around 90 out of 140. ...
0
votes
1answer
150 views

Category page with gallery for each post

I'm looking for a bit of direction on how to set up a category page (for a real estate company). What would be the best way to have a gallery of images (1 large photo and several thumbnails) listed ...
0
votes
1answer
62 views

Displaying only specific galleries using shortcode on a custom page

I have finally got the gallery working on my page, and following some previous advice on this site I researched the shortcode for the gallery on the codex. Now if I understood correctly if I set ID to ...
0
votes
0answers
16 views

How do I use two different images, one as a thumbnail and one as a linked image? (1 post)

I want to do an image gallery in a page, where the linked image (a href) is different from the thumbnail's src. I need to have the ability to change the thumbnail image. Its important because for each ...
1
vote
1answer
167 views

Removing featured image from gallery?

I'm having trouble removing the featured image from gallery. I removed all kinds of stuff from those 2 files, but seems like I need to add something, not take away. Here are the pastebin's of 2 ...
0
votes
0answers
50 views

How to loop two arrays from custom post types

Not sure if I'm going about this the right way but I've been stuck on this for a couple of days and it's killing me. Got a custom post type called 'featured-work' and custom fields in it. These two ...
0
votes
1answer
16 views

Find only those galleries with images

Is there a way in Wordpress to use WP_Query and retrieve posts/galleries that have more than 0 metavalues with the key _gallery_image_ids. Essentially I don't want to display galleries that have no ...
0
votes
2answers
362 views

How to edit wordpress native gallery's css file?

I want to edit my gallery's css file. Where do I find it? or Am I override it? PS: I've got 5 different gallery in 5 different page..
0
votes
1answer
147 views

Help with WP gallery function, wrap gallery in div

I have a function in my functions.php file I need to change slightly and am having trouble doing it correctly. This function changes the gallery markup for Wordpress, making it more html5 friendly. It ...
0
votes
0answers
114 views

Loading all gallery images in home using ajax

I want to automatically load all the pictures from the galleries across the site (without having to specify IDs) in the home page. But I need to have control of behavior cause I don't want to load a ...
0
votes
1answer
47 views

Checking for 'gallery' shortcode using strpos always returns false

I want to conditionally enqueue a script and stylesheet depending on whether the [gallery] shortcode is used in posts. Here is how I am doing it (based on): function doraemon_scripts() { if( ...
0
votes
0answers
95 views

Add a second native gallery with custom layout.

I’m absolutely fine with native wp 3.5 gallery, I’ve styled it to my needs and it’s awesome. But what I’m trying to figure out now is there any way to add one more native gallery with different layout ...
2
votes
2answers
668 views

remove featured image from gallery woocommerce

I am using wooCommerce. When i set the featured image for a woocommerce product, it shows up as the first/main image in the gallery on the product details page. I need to remove the featured image ...
0
votes
1answer
83 views

Gallery stripped from excerpt of post

I'm having trouble with galleries being stripped/filtered out of the content of the post excerpts before the "read more" click (the galleries load just fine when you click and read the post all by ...
-2
votes
1answer
752 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
125 views

How is a gallery associated with some post in database?

I see galleries are represented as separate post records with post_type = 'gallery' in the database. How is this record (gallery) associated with a basic post (type = 'post') in the terms of database ...
0
votes
1answer
115 views

How to show an image popup when one clicks on an image thumbnail?

I have created a Gallery View shortcode plugin. I wanna add an feature to that which is - Whenever someone clicks on any image in that gallery, that image should get open in a stylish popup window. ...
0
votes
0answers
40 views

Merge two WP single blogs while keeping galleries intact

Combining two single instances of WP (3.5), BlogA and BlogB (which includes a WP gallery with every post), into a new blog, NewBlog. BlogA is a standard WP blog. BlogB uses a custom post type ...
0
votes
1answer
36 views

How to display images that was uploaded in the media gallery and not by the current post?

I have uploaded images before in my other posts and now I want to display it in my Photo Gallery. I'm using an isotope layout so I'm not using the native gallery of WordPress. It's working just fine ...
1
vote
1answer
65 views

Display gallery on bottom after content

How to execute the gallery shortcode after any other content no matter where the shortcode is in the post HTML? Thanks.
0
votes
1answer
43 views

Gallery thumbnails very small

When I use the standard WordPress gallery, I get very small thumbnails in the content: Since there is lots of space in the content, I would like to display bigger images. How can I do that? There ...
1
vote
1answer
140 views

Extracting gallery images in Wordpress 3.5 on index.php

I'm trying to add a slider on my front blog page for every gallery post, but I have some trouble extracting the images from the post gallery, using the following code: $post_content = ...
0
votes
1answer
108 views

Disable Linked Gallery Images If Mobile Browser

So I found this question here: Proper Way to Remove Thumbnail Links In Gallery and looks to have a good answer, but how can I make that apply only if the user is on a mobile browser, or at least if ...
0
votes
0answers
57 views

WordPress Gallery: How to change the order in media.php

i want to change the order like this: NOW: <div class="thumbnail"> <div class="gallery-icon"> <a href="###"> <img width="400" height="300" src="###"> ...
0
votes
1answer
99 views

How do i display the built-in gallery inside a widget?

I want to display a specific gallery (without a plugin = WordPress built-in gallery) inside a widget. I tried the shortcode [gallery ids="717"] but that doesn't work. Maybe a workaround could be ...
0
votes
0answers
49 views

Wordpress gallery image link gives 404 when not logged in

I'm attempting to use the default Wordpress gallery (from the post editor 'Add Media' then 'Create Gallery'). When logged in as an admin and clicking an image in the gallery on the resulting blog ...
0
votes
1answer
631 views

How do I attach images to a post without inserting them?

I'm developing a theme with an built-in gallery outside of the post content. So what I want to do is to allow editors to attach images to a page/post without inserting them. Kind of like the featured ...
0
votes
0answers
116 views

Each user can edit only one page

I have website that let the user publish her business. Each business has a private page with some details and an image gallery. Each business owner has a user. I should make, that each user (each ...
1
vote
1answer
1k views

Get a list of galleries from an album in NextGEN Gallery

I want to get a list of galleries of a certain album. Than I would create a link to this galleries. How do I get the list of galleries in PHP? I saw that there is some code like global $nggdb; ...
0
votes
0answers
95 views

Dynamically load JJ NextGen Slider/ Slideshow (dynamically add shortcode with jquery)?

My front page includes an image slideshow by JJ NextGen Slider (Link). Therefore I am using PHP and do_shortcode(). This is the full code: <?php echo do_shortcode('[jj-ngg-jquery-slider ...
0
votes
0answers
361 views

Multiple gallery thumnbnails on one page

I want to post multiple galleries on a single static page. So far, I've only been able to create a gallery that puts every single picture on that one page. What I want to achieve is several images ...
0
votes
0answers
108 views

Hook into 3.5 Media Gallery UI Update Event

I have been trying to create an extra tickbox that will intercept the wordpress gallery shortcode so that I can add my own parameters to the shortcode. So far I have managed to add an extra option to ...
0
votes
1answer
118 views

Changing layout of defaul gallery output to masonry

I'm changing the default layout for gallery shortcode. I have this in my functions.php: $attr['columns'] = 1; $attr['size'] = 'full'; $attr['link'] = 'none'; $attr['orderby'] = 'post__in'; ...
0
votes
0answers
55 views

Adding shortcode field to edit gallery / Gallery Settings

I want to add a field to the Add Media / Edit Gallery / Gallery Settings column which is able to accept shortcodes. I want to do this so that I can add a Cart66 shortcode which will "render" an add ...
0
votes
1answer
514 views

Image thumbnails slider

js-image-slider.js var sliderOptions= { sliderId: "slider", effect: "13,17,13,13,5", effectRandom: true, pauseTime: 2600, transitionTime: 500, slices: 12, boxes: 9, ...
0
votes
0answers
62 views

Custom field for default gallery

How I can add custom field in default WordPress gallery? in visual editor and in shortcode.
0
votes
1answer
36 views

How do I add tags/taxonomy to images + a query field on page to query 'albums' (images with same tag/taxonomy)

I've got lots and lots of photos on my site and I want to seperate them into albums. Every album is a client album (photoshoot). Though.. I want all my clients to query their album on my site. ...
0
votes
1answer
127 views

How can we create a wallpapers gallery with different resolution?

I want to make a wallpaper gallery which can detect the screen resolution & give the option to download wallpapers in different resolution.
0
votes
0answers
26 views

Calling Images from a Gallery when Post is Clicked

http://acesystech.com/edge/ Im wanting to do something simlar to this, where the customer can click a project and see a scrolling images block of the images, however i want to do i with like click ...
0
votes
1answer
167 views

What makes a placeholder resizable in Tinymce?

It's not that hard to make a plugin to TinyMCE, similar to what the Wordpress gallery is doing in WP 3.5. Unfortunately, these custom placeholders are always non-resizable, although they show the ...
0
votes
1answer
357 views

Advanced custom fields and Slideshow gallery desn't work together? [closed]

Im using WordPress 3.5.1 and the twentyten theme. I'm using advanced custom fields and want to ad a slideshow. I'm using the plugin Slideshow Gallery ( ...
0
votes
0answers
16 views

standard wpGallery for post won't work

I'm trying to get the standard wpGallery running in my post. I followed this tutorial. But I ain't get it working. This is what my editor shows while editing a page: http://i39.tinypic.com/6ivi1z.png ...
0
votes
1answer
66 views

Gallery order specified by shortcodes is ignored in gallery function

I have the following gallery order in a shortcode: [gallery ids="1996,2431,372,447,645,641,647,642,649,643,650,648,653,697,652,390"] And I have this function, which creates a nicer looking gallery: ...
10
votes
2answers
905 views

ZIP up all images displayed in a [gallery] and offer as download link

I would like to offer my visitors the option to download the entire photo gallery (displayed on dedicated [gallery] pages) as a ZIP file displayed at the bottom of each gallery page. - The full-sized ...
0
votes
1answer
43 views

Adding a gallery to my first theme

I have been spending a lot of time the past few months researching on how to create my first theme. That said most tutorials/books only discuss static sites and I want to go about this well prepared. ...
0
votes
2answers
831 views

Slider do not add alt attribute. Cant get alt attribute from a media library!

I use a slider to show my post thumbnails. But the problem is that the slider adds thumbnails without the alt attribute: <img src="http://example.com/wallpaper-791556-1180x500.jpg" /> But I ...
1
vote
0answers
75 views

Way to add captions to gallery images by code

I am creating posts by using wp_insert_post function. It works fine as I provide values in array required. Sometimes it is required to create a post having gallery. Without any problem, it also works ...
0
votes
1answer
171 views

Display meta data from a custom field within plugin Category Grid View Gallery

I am using this plugin, which creates a gallery of posts, fetching a thumbnail and the titles of the posts displayed in it. I have enabled Custom Fields, and have created (and filled in values) a ...
0
votes
1answer
222 views

Dynamic Content Gallery Thesis 2 Wordpress Home Page Only

I'm using Wordpress with Thesis 2 installed and I'm building my own design onto the "Blank" skin. I want to use the Dynamic Content Gallery Plugin on the home page only. I'm using this code to load ...