The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
18 views

Replacing Thumbnails with View All Photos

When I make a post with over 20 attachments, I want the post on the index page to have just 10 thumbnails (these link to image.php which eventually links to all 20 photos), with a link that says "View ...
0
votes
0answers
58 views

Wordpress Alt Text - Post Gallery

I'm currently coding a theme and I'm wanting to use the gallery post format so I've created a file called content-gallery.php and have begun editing. I don't want to use the HTML that Wordpress ...
0
votes
2answers
272 views

Display Gallery Images from Custom Post Type

I want to display all the images added as gallery in a post with prettyphoto class. I am using this code. <?php /* The loop */ while ( have_posts() ) : the_post(); ...
0
votes
1answer
118 views

Modify Gallery Output to render differently on a PAGE and a POST

I'm still learning Wordpress and slowly getting better, but my skill set is not up to par for the changes I am asking for. I need to customize the gallery output for two sections on my site: 1) ...
1
vote
0answers
530 views

How to upload image and attach to Woocommerce product gallery?

I got the following code which takes and image, uploads it to my server and sets it as a featured image. How can i change it so it adds the image to the product gallery in Woocommerce? Maybe ...
0
votes
0answers
24 views

Hierarchial Wordpress Gallery - Each image on its own page

I'm currently looking for a way to create a url structure so that I have a gallery page with a specific name for each of the galleries and each images in that gallery have its own URL segment. So ...
-1
votes
2answers
28 views

Looking to implement a scrolling gallery in my theme

I'd like to include a scrolling gallery in a theme I am developing. Currently I have the code that "grabs" the attachments and place the thumbs inside a div (without using the gallery shortcode or ...
1
vote
1answer
39 views

In which version of WordPress was the new gallery shortcode implemented?

As of WordPress 3.5, as I'm sure you all know, the gallery shortcode generated from the media uploader changed and now includes a list of image IDs. The gallery shortcode codex page says the ...
0
votes
0answers
27 views

Gallery Short Code

I am wondering what would make the gallery short code not work and just display in posts as: [gallery] I am creating a custom theme, I have no plugins installed and the short codes I have made do not ...
1
vote
2answers
350 views

Fancybox not working. why?

Ok, I tried to implement a fancybox lightbox in my custom theme. I enqueued my scripts in functions.php: function ikos_add_lightbox() { wp_enqueue_script( 'fancybox', get_template_directory_uri() . ...
0
votes
1answer
85 views

Gallery plugin forces itself above text

I am using the 'gamma-gallery' plugin. A little modified, that is. The gallery is forcing itself above any text that was in the post. Any idea why that is? Here is the plugins code, if needed: ...
0
votes
1answer
194 views

How to remove the images from “Uploaded to this post”?

I was wondering if there's a simple way to deselect images from uploaded to this post, but still have the images in the image library? I uploaded some images while i was editing a post and this isn't ...
1
vote
2answers
518 views

Overide Gallery Default Link to Settings

Is there way to control the gallery default “Link to” setting? Using the image_default_link_type filter within a functions.php file works on inserting single images into posts but it doesn't seem to ...
0
votes
1answer
38 views

Category view with contents of [gallery]s shown

SO: I have a bunch of Posts with [gallery]s in them. They are in category "Galleries". I want the category view to show (some||all) of the contents of the galleries in each post. Instead it seems ...
0
votes
1answer
109 views

Re-ordering images in existing post in wordpress 3.6.1

I hope someone can help me. I cannot see how to re-order images once loaded to the media gallery. WordPress used to have a list view of all images in a post with a box you could enter the running ...
0
votes
2answers
296 views

zip download plugin works well in localhost but not on live site

I need to offer a zip file download [to registered users] on every post, containing all the images attached to the post. The solution provided in this thread works well for the purpose, although it ...
0
votes
0answers
113 views

Open a single linked image with popup/modal

on my wordpress blog I have some text and a word is a link to an image. At the actual state of things, when the link is clicked the image is shown by itself, outside of my website. I would like that ...
0
votes
0answers
48 views

How can I let users create and share their own image galleries?

After searching on Google and this site, I found some old, outdated posts regarding this topic, so I figured I'd start a new one. How can I let users create their own public gallery and upload their ...
0
votes
0answers
133 views

Fancybox 1.3.4 : how to disable effect on gallery?

A plugin I have installed use fancybox 1.3.4. Yeah I know, pretty old... On galleries, between images, the fancybox applies a kind of transition effect. I cannot disable it. Here is ma javascript ...
0
votes
1answer
80 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
0answers
52 views

How can I determine if functionality is provided by a plugin or a custom shortcode on another wordpress site?

Recently, I purchased a theme from AIT-Themes.com, a company dedicated to Wordpress theme development. I purchased the Directory theme, and here is a page from that theme I'd like to be considered: ...
0
votes
0answers
53 views

Pagination with default gallery

I'm building a portfolio that will contain galleries. I'd like to avoid third party plugins. Using build-in gallery seemed reasonable idea. I don't know how to paginate it's output... I need to have ...
0
votes
0answers
12 views

Gallery with tags support

I have a gallery that is available on mysite.com/gallery page. There is used Wookmark plugin to display images in Pinterest style. Next thing I have to achieve is tagging images to implement ...
0
votes
0answers
52 views

Gallery requires a featured image but does not show it in posts/pages

I've encountered a weird bug with my theme's gallery. If I add a gallery, and do not specify a featured image, it will not show in the post/page. If I add a featured image, it will show the gallery ...
0
votes
1answer
211 views

How to dynamically insert <a href> in the image caption?

So, below is the Wordpress default generated code for a gallery item: <div id='gallery-1' class='gallery galleryid-203 gallery-columns-3 gallery-size-thumbnail'> <dl ...
0
votes
0answers
224 views

How to add social buttons to Royalslider

I'd like to add facebook and twitter buttons to every slide in RoyalSlider. I've enabled 'deep linking' and activated 'listen for change' and every slide get's his own page url, like ...
1
vote
0answers
178 views

How can I display an image description, from an image gallery?

I have a vanilla install of Wordpress 3.6. I'm using the Twenty Thirteen theme. I've created some galleries. On the individual image page, the "caption" is displayed below the image. I'd like to ...
0
votes
0answers
40 views

Display image attachment meta-data in gallery

I have a gallery that displays the pictures of the staff of an organization I'm building a site for. When a user clicks on the staff members picture, that attachment page opens up and displays the ...
2
votes
1answer
165 views

How do I organize photos for multiple galleries?

I'm working on a site that will ultimately have dozens of photo galleries, each gallery with at least 3-4 photos, and possibly up to 20. Individual photos won't have captions, titles or any other ...
0
votes
0answers
229 views

Nextgen open album directly in lightbox

a new recent update to the nextgen plugin to 2.0.14 was added on August 27, 2013. I was wondering if it's possible when a user clicks on an album thumbnail instead of it going to a specific gallery ...
0
votes
1answer
58 views

Get raw image detail from post gallery?

Is it possible to get the raw info from a post gallery and display on the page, specifically for a slider? So can you create a gallery then display the gallery on a page with the full size image, as ...
0
votes
0answers
128 views

Thickbox not displaying just the image, instead showing full page in lightbox

I have implemented Thickbox into my wordpress theme. I have a regular Wordpress gallery that now has the lightbox when you click on any of the images. When clicked the lightbox shows up. However, ...
0
votes
2answers
1k views

Creating a gallery of featured images from custom post type

I am new to Wordpress and am busy using it to create an online portfolio site. I have created a custom post type for my portfolio items called 'Portfolio', and I have attached a featured image to each ...
0
votes
2answers
33 views

Detecting if parent page has gallery

My function to detect is a gallery is on a page has broken and Im not sure why. So in my theme template's attachment page Im calling this function: global $post; $parent_id = $post->post_parent; ...
0
votes
0answers
63 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
138 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
158 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
70 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
17 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
171 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
58 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
654 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
193 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
1answer
53 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
101 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 ...
1
vote
2answers
1k views

remove featured image from gallery woocommerce [closed]

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
109 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
881 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
2answers
188 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 ...