The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
2answers
40 views

How to display the content HTML of a page without displaying the gallery code as well

I am using the below to fetch the content of a page by its name and output the html $my_wp_query = new WP_Query(); $page = $my_wp_query->query( array( 'post_type' => 'page', ...
2
votes
4answers
10k views

How to get Page/Post Gallery attachment images in order they are set in backend using WP_Query()?

I am trying to retrieve all the images from the Gallery of a page in the order they are set in the backend. So far I have: $my_wp_query = new WP_Query(); $all_wp_pages = $my_wp_query->query( ...
3
votes
3answers
1k views

Remove [gallery] shortcode altogether

I used remove_shortcode('gallery'); ...the gallery is gone, but the shortcode is visible in the text. How do I remove sitewide? I've searched for sql queries, but no solution fixes my specific ...
0
votes
1answer
95 views

Hide the 'Gallery Settings' section of the Gallery tab of the media Thickbox

When I invoke the media uploader from a certain page, I'm looking for a way to hide all of the 'Gallery Settings' options at the bottom of the Gallery tab. I have set a referrer (dd-options-footer), ...
5
votes
3answers
1k views

WP 3.5 and Galleries - how to count images?

I'm trying to figure out how to count and display the number of images in a gallery with WP 3.5. I was following an old post on Ottopress, querying the DB for attachments but it seems the galleries ...
0
votes
2answers
1k views

ID of images from gallery

Does anyone know how to get ID's of images from wordpress gallery in post? I have search entire internet and there is nothing to this subject.
0
votes
0answers
51 views

How to get all images url from gallery? [duplicate]

I created gallery in my post (in my custom post type) and now I need to get url of images from this gallery in my template file. Does anyone know how to do it? Thx for your time.
2
votes
2answers
354 views

Display latest 10 galleries

I want to create a custom page that will display let's say 20 latest galleries / page - but only the first image from the gallery, not all of them. something like this: ...
0
votes
1answer
389 views

Use full size images in a specific gallery

Thumbnails are displaying as 100px however the full size is 130px which is what I want. I want this only in one specific gallery. Also would like to link each gallery thumbnail image to an external ...
0
votes
1answer
156 views

How to display original unmodified thumbnail

I have uploaded a few images that are being used as thumbnails. I cropped them within WordPress to be square and focus on the subject of the image. I have also got a slider that is rectangular and ...
0
votes
2answers
206 views

One picture belonging different galleries?

How can one picture belongs different galleries? For example, there are two galleries. I want to avoid loading the image twice (in two galleries) but it shown (included) in the first and second ...
0
votes
1answer
746 views

How to get the next and previous image title from attachment or gallery?

I'm trying to build a slider exactly like this in wordpress. I have managed to make the slider work except the next/prev button. I need to get the next image title and the previous image title for the ...
0
votes
1answer
679 views

How to have Tiled Galleries like in WordPress.com?

In a WordPress.com hosted blog, you have the posibility to create picture galleries with a different style than usual: tiles, squared tiles or circles. What plugin are they using to achieve this? I ...
1
vote
0answers
92 views

Custom links or pages from Media Gallery

I have a simple Wordpress Media Gallery running on a page and every time you click an image it takes you to the attachment page. This is fine as I can write an article in the description and that page ...
3
votes
2answers
2k views

Customizing gallery shortcode in 3.5

I'm trying to customize the gallery shortcode using the new gallery system in 3.5 and I'm having a bit of trouble and can't figure out where I'm going wrong. This is what I've got at the moment (in ...
2
votes
2answers
735 views

Disable gallery in 3.5 media iframe

I'm creating a setting to set a logo. It works but there is a problem. I only need one image to be set so the gallery item should be disabled / hidden. Of course this should only effect this page, of ...
1
vote
0answers
34 views

My “Description” in gallery doesn't accept formatting/html

that's the part of my attachment-page that's responsible for showing image description, which I put when adding a new media (I'm using standard wordpress gallery): < ?php the_excerpt(); ?> Well, it ...
8
votes
1answer
738 views

Any way to add custom options to Gallery Settings?

Now that Wordpress has updated to version 3.5, the media gallery has been overhauled and this custom options solution doesn't appear to work anymore. I'd like to add a couple of fields to the gallery, ...
-1
votes
1answer
514 views

How to Organize my Photo Albums?

I want to organize my photo galleries. Photos > Personal > Professional For each sub page, I want to organize the photo albums with thumbnails. eg Personal > [thumbnails image with dimensions ...
0
votes
1answer
427 views

Gallery backend only

I'm using Wordpress to power the blog section of my website, and also my event timeline (using custom post type admin area). I'm looking to add the option to create image galleries, and include them ...
2
votes
1answer
89 views

Should I cache default WordPress gallery shortcode output?

I'm overriding default WordPress gallery like so: add_filter( 'post_gallery', 'my_gallery_shortcode'), 12, 2 ); function my_gallery_shortcode($output, $attr) { // some modifications ...
0
votes
2answers
2k views

Retrieving links and names of images from a NextGEN gallery [closed]

I want to add a list (like a cd track list) of names and links to all images next my nextgen gallery, how can I retrieve this list? (similar to the list in the select object in the Gallery Settings, ...
1
vote
3answers
912 views

change wordpress gallery shortcode to slider

Hi I wanted to change the default WordPress gallery short-code and make it a slider. remove_shortcode( 'gallery' ); function gallery_filter( $atts, $content = null ) { ...
1
vote
2answers
450 views

How to determine if a post has attached images?

I would like to know how I can determine if a post/page has an image gallery (not documents/videos etc)? I am not talking about gallery shortcode as shown here Check if post/page has gallery? so that ...
1
vote
1answer
139 views

Large Media Library

I'm looking to organize a large WordPress Movies/Actors site, with thousands of posters, screenshots, etc... I currently have the images in a directory structure like ...
4
votes
2answers
3k views

add_filter and changing output captions of image gallery

I'd like to change only one output of native WP Gallery (in media.php) On Smashing Magazine (link) author advises to change whole gallery_shortcode function. But I wondered if is possible to change ...
2
votes
1answer
224 views

Numbering Image List in Gallery

While adding images in a post with the gallery shortcode, I want to display an image number as title of the image e.g if there are 3 images in a gallery and displayed as a list, above each image there ...
1
vote
0answers
359 views

Is it possible to set JJ NextGen JQuery Carousel dynamic ids?

I usually get JJ NextGen JQuery Carousel with the short code: <?php echo do_shortcode( '[jj-ngg-jquery-carousel gallery="2" width="120" height="120" visible="4" scroll="4" auto="0" wrap="circular" ...
3
votes
1answer
2k views

How to make a page template to list all galleries?

I'm trying to code a theme where I'll have a universal gallery page. Basically like: http://www.engadget.com/galleries/ However I'm at a loss for what I'd use to call all the galleries. I need the ...
1
vote
1answer
688 views

wordpress get gallery images title

I am retrieving some images post with: $img = wp_get_attachment_image_src( $attachment_id, 'full' ); How can I retrieve the image title? Thanks.
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
171 views

Create a live demo gallery for themes

I want to create a live demo site like http://www.elegantthemes.com/gallery/ that show themes so when I click on the theme screenshot it takes me to the live theme preview. I tried two plugins ...
0
votes
1answer
766 views

Adding Gallery to Footer of Homepage

I wanted to add gallery with Thickbox effect(Pop up), i achieved this easily on the posts page by using WordPress gallery and the lightbox plugin.But the theme is custom made there is a footer.php.I ...
0
votes
3answers
353 views

How do I create a Client Logos section in admin menu?

My company is hosting an event where 50 clients will be at an exhibition. I want to create an Ehibitors section with separate admin menu. I want to be able to add Exhibits with custom fields for ...
1
vote
1answer
215 views

Check if post has gallery images/media

Is there a Wordpress conditional that I can use to check for gallery images/media in a post? I do not want to check if the [gallery] shortcode exist in a post. Attached is a screenshot of what I ...
1
vote
1answer
1k views

Custom Post Type with image gallery

I'm doing research on custom post types for a Wordpress site I'm going to be putting together for a client of mine. The basics of the Custom Post Type seem pretty straight forward. What I'm trying ...
0
votes
1answer
679 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. ...
2
votes
3answers
605 views

get attributes/part of the gallery shortcode

I'm trying to grab all image id's that are associated with the [gallery] shortcode that are listed as exclude. For example: if my post has [gallery exclude="1,2,3"] I'd like to get a variable that ...
1
vote
0answers
47 views

How do I export WordPress galleries?

I am trying to export the WordPress galleries but can't seem to find any functions that do that. I want the data and attachments of the galleries in a WRX Format.
4
votes
1answer
590 views

Navigate with keyboard in Gallery shortcode

I am using Wordpress Gallery shortcode and I was wondering if there is a way to navigate using the arrow keys? Like if I view an single image and used the right arrow to navigate to the next image in ...
1
vote
2answers
1k views

Photo gallery with Featured Images

First, I need to ask if it's possible to create a photo gallery only with the featured images of the latest 6 posts? I assume it is possible but just want to make sure. I don't have much experience ...
3
votes
1answer
1k views

First three images in post excerpt

I have certain posts that are nothing but [gallery] with quite a few images in them. Is there a way to define an auto generated excerpt to only display the first three images for these posts on the ...
1
vote
1answer
329 views

Adding option to Gallery shortcode

just starting out in WP dev, and I'm looking for any guidance I can get. What I'd like to do is use a hook or filter to add my own option to the core WP gallery shortcode. I would want it to work just ...
1
vote
2answers
4k views

Add Download Button in prettyPhoto Plugin

I would like to add a download button link for the full-sized image on the prettyPhoto lightbox when a user views a photo on my site. Currently I use the prettyPhoto Media plugin on my site, and I ...
0
votes
2answers
165 views

create gallery page for specific post id

I have several custom post types similar to (place, person,etc.) refer this and under each of these custom post type there are several posts inserted. ...
0
votes
1answer
146 views

Show posts in “image” format when viewed in category page, but with comments in blog

I am working on an artist's website. She wants each image to show up in the blog, and to category pages like "paintings", "calligraphy", etc. When viewing the category pages, the images should be ...
1
vote
1answer
81 views

Where does the gallery shortcode gets its attachments from?

I know that media are an attachment post type that are children to a post, but how are galleries stored in WordPress?
-1
votes
1answer
322 views

Need help making Gallery slideshow with lightbox work correctly

I am adding pictures to a page, and would like them to be in a series of slideshows. f'rinstance, I have 4 picture series that should be on the page and I would like the visitor to click on a ...
1
vote
1answer
3k 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" ...
0
votes
2answers
100 views

Check if a different page has any attached images

I am trying to make a notification function for a user's account dashboard that displays if they have not added any images to their profile's gallery. I found this page, which is a function that ...