The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
271 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 = ...
1
vote
0answers
64 views

NextGEN Gallery- using shortcode for different galleries on different pages [duplicate]

Possible Duplicate: conditional shortcode not working I have a salon website with a gallery page wherein the user must first select a stylist prior to viewing their individual gallery. I ...
1
vote
1answer
8k views

Displaying a featured image (only img url) as the img src?

I have the following code: if (themedy_get_option('product_gallery')) { add_action('genesis_post_content', 'themedy_product_images', 1); } function themedy_product_images() { ?> <?php ...
1
vote
1answer
3k views

How to filter 'post_gallery' after all other filters/plugins etc

I'm trying to re-format the gallery output a bit, change default columns and link setting, as well as exclude the featured image from the gallery images. I can use *add_filter('post_gallery' ...)* in ...
1
vote
2answers
967 views

Can I attach an image to a different post?

Image galleries display those images that were uploaded to that post, by default. If I wanted to move an image to a different post, so it appeared there instead, would I have to delete and re-upload? ...
1
vote
1answer
2k views

How to add a random image to a post from gallery and only show one?

How to add a random image to a post from gallery and only show one? I know how to add an image and a gallery. I need to have one image from the galley show on the page at random each time the page is ...
0
votes
0answers
23 views

Make “Add Media” button lead to “Upload” tab instead of “Gallery” by defaut

Whenever I upload a media to wordpress, I have to click the Add Media button, switch to the Upload Tab, then select my file. Is there a way to make the Upload tab the default tab for the media ...
0
votes
2answers
235 views

Changing Gallery images size?

I'm grabbing URLs of my Gallery images: $gallery = get_post_gallery_images( $post ); foreach($gallery as $thumbnail) { echo $thumbnail_slideshow; } The problem is all I'm getting are ...
0
votes
0answers
129 views

How to Display Custom Post Type's Gallery (images ) in Through WP_Query

I am trying to load an Image Slider images from a Custom Post Type image Gallery Feature. For example let say I have an Custom Post Type called banner which I can load images to it's Gallery and I ...
0
votes
1answer
93 views

Get a Page's attachments in Gallery order

Having created a page and a gallery within that page, I would like to retrieve all the images in that gallery in the order they are set when the gallery is created, i.e. the order which I drag them in ...
0
votes
1answer
173 views

Adding Image Count to Multigallery

Ok so I am using the [multigallery] function and it works fine, but one thing I want to add. Here is the code that I am using for the multigallery in my functions.php file function ...
0
votes
1answer
1k views

NextGen - Display Image Count Per Gallery

I am using the NextGen gallery WordPress plugin for a site. In my gallery.php template I want to retrieve the number of images for each gallery displayed in the loop. I cannot figure out a way to get ...
0
votes
1answer
553 views

How to automatically populate a gallery with images attached to posts of one category?

I would like to have a gallery in a post or a page (code in template or via shortcode). The images of this gallery should be pulled automatically from posts of one or more categories of my choice. ...
0
votes
1answer
3k views

Creating a gallery custom post type?

Hi I was wondering if it is possible to create a custom post type called "Gallery" where i only upload photos and ad captions and when i post it, it post as a gallery. Also when it shows on the ...
0
votes
1answer
479 views

Add a checkbox in Media Upload window

I'm developing a theme and want to put an internal gallery. Do not want to use all photos uploaded to the media library. I want to create a field (checkbox) so you must select which of these photos ...
-1
votes
2answers
451 views

How to create a custom image gallery in the footer?

I need to add sponsor images, thumbnails, in the footer of a Wordpress website. I'd like the possibility to just upload images through the native Wordpress media gallery and then having a way to ...
-1
votes
1answer
720 views

Calling function from within functions.php returns unwanted value

I am trying to customize the output of the [gallery] shortcode to include comment count by this plugin: Facebook Comments for WordPress plugin I found a function by Zack Austin (shown below) that ...