The tag has no usage guidance.

learn more… | top users | synonyms

2
votes
0answers
78 views

Custom wordpress gallery option

I would like to add custom option to default wordpress gallery tab. I need something simple just a drop down to add offered style, this would add predefined class to gallery on client side and on ...
2
votes
0answers
143 views

How to have different captions for same image, for galleries?

Seems like I can't have the same image in different galleries with different captions. Is it possible to make that working in any way? Like if we could change the shortcut code that Wordpress is ...
1
vote
0answers
50 views

Extending Media Gallery - Retrieving values from short code

There are some existing questions that discuss how to add fields to the gallery dialog box and get those into the short code. What I want to be able to do is facilitate editing an existing short ...
1
vote
0answers
156 views

Modify how gallery.js builds the shortcode [gallery …] in tinyMCE?

The post editor helpfully removes default arguments like columns="3" from the [gallery] shortcode. How do you tell it to remove a custom attribute that has a default value? The answer at Enhance ...
1
vote
0answers
159 views

How to run custom JavaScript code on gallery attachment image selection

On line 4620 of media.views.js is this: media.view.Attachment = media.View.extend({ ..... select: function( model, collection ) { ..... I would like to add some more features to this ...
1
vote
0answers
135 views

How to make a customized “Create Gallery” tab in the 'Add Media' window?

I'm developing a plug-in and wanting to make a customized version of the the "Create Gallery" tab of WP v4.0, but have the resulting output (i.e. what gets inserted into the TinyMCE editor) to be ...
1
vote
0answers
190 views

Reorder “menu order” of attachments to another predefined order

I want to show photos attached to a post in a gallery using the built-in system with a custom order. Currently with the [gallery] shortcode it is posible to order it by name, by upload date, by ID, ...
1
vote
0answers
104 views

How to add custom meta box under Gallery Settings in the “Edit Gallery” popup

I am developing a theme. I want to add option for the user to choose the type of the gallery which he is adding. Will it be a slider, masonry gallery or some other type. I cannot figure it out how ...
1
vote
0answers
1k 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 ...
1
vote
0answers
224 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 ...
1
vote
0answers
77 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 ...
1
vote
0answers
127 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 ...
1
vote
0answers
89 views

Creating a post image to show in a gallery

Sorry if this title of question is not clear. I have create a custom post template with the help of this plugin Custom Content Type Manager With this plugin i create this , and i am at the Second ...
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 ...
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 ...
1
vote
0answers
363 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" ...
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.
1
vote
0answers
160 views

How to show private flickr group on a Wordpress site?

I have been trying to embed a flickr group within a Wordpress site for our camera club using a plugin such as slicker flickr or awesome flickr gallery. I have no problems with showing a set of ...
1
vote
0answers
234 views

How to use the WP export and get images that are contained in a posts gallery

I ran the standard wp Export on a single custom post type called products. I got all the custom fields and all that but each cpt has a standard post gallery. The link to the image is not coming ...
0
votes
0answers
6 views

Show images in albums inside album wordpress

I have a different question. How can I show images of galleries inside some albums inside a main album. So hierarchy is Main Album -- Some album1 ----galery1 ----galery2 ----galery3 -- Some album2 ...
0
votes
0answers
8 views

ACF gallery hook?

When updating a gallery with a new image or deleting an image, is there a hook which gets called? With a standard image field there's add_filter('acf/update_value/type=image', 'my_acf_update_value', ...
0
votes
0answers
21 views

Adding Image Gallery Metabox on Custom Post Type Wordpress

I have a custom post type, and I want the users to add multiple images or attachments aside from the featured image. I want to achieve something like this, I got this from the woocommerce products: ...
0
votes
0answers
25 views

2 different templates for 1 query

I have a working query with some custom meta fields (among others ACF Gallery field) which displays news on "News" page. I have also second page named "Gallery" which is quering posts by gallery ...
0
votes
0answers
11 views

Gallery using Foundation 5 Grid + Clearing

First i'm using Foundation 5 JointsWP theme. Found this link and Esa Rantanen code work's great but there's problem i found and can't fix. Using wordpress gallery creator i can select image size ...
0
votes
0answers
7 views

How to prevent collapsing image gallery?

When I publish new post with an image gallery everything works well but when I zoom out or in, in browser the spacing between images gets really distorted, on zoom out there is huge amount of white ...
0
votes
0answers
9 views

Render custom gallery fields

I'm trying to add a custom setting field to a gallery and render it as a class in the HTML. So far I have implemented this solution which works perfectly. Here is the working code: function ...
0
votes
0answers
5 views

Adding pagination into gallery shortcode

I'm tring to add pagination to [gallery] shortcode. I have a custom post type, name gallery. Added this code my funstions.php. It show images but pagination not working. What the reason can be? ...
0
votes
0answers
9 views

Add markup before and after WordPress Galleries

I've used functions before that completely customize the WordPress gallery output (e.g. Help with WP gallery function, wrap gallery in div). But I'd like to do something simpler and am wondering if ...
0
votes
0answers
14 views

Remove caption from Wordpress gallery thumbnail grid

I have just installed Wordpress with default theme and I would like to create a gallery. I plan to have caption for each image, but I want it to only show on image popup, not on thumbnail grid as you ...
0
votes
0answers
4 views

Gallery attached to a post but outside it (my-post-url/my-gallery)

I want to create a post gallery related to a WordPress post, but outside it, for example: my-post-url -> Display my post. my-post-url/gallery -> Display my galelry.
0
votes
0answers
18 views

How to make the images in the Gallery unclickable?

How to make it? I am sending a part of *.php code of the Gallery, extract(shortcode_atts(array( 'order' => 'ASC', 'orderby' => 'menu_order ID', 'id' ...
0
votes
0answers
9 views

load each gallery image on new page

I am looking for a way to load each image in my gallery on new page like this, here when you click on next button new image loads but on new page, any plugin or ajax that I can use to achieve this? Or ...
0
votes
0answers
58 views

Modified wp.media.view.Settings.Gallery in Backbone JS, but editing doesn't work

I've added to the normal WordPress gallery popup (when clicking "Add Media" in the WordPress editor), in order to allow my custom gallery type to be selected (which interacts with / uses the main ...
0
votes
0answers
21 views

wp_get_attachment_link filter for not working for inserted images

I want to change the value of title attribute of attachment link of the image by caption. I am using following code. It works fine for the images in gallery. But when try to do this for the inserted ...
0
votes
0answers
37 views

Grab Current URL & Add to Cart Woocommerce

I have been researching of a way to do this but have been unable to find an answer to my question. There are answers on there on how to grab the current URL etc but it is not the answer I was looking ...
0
votes
0answers
8 views

Have plugin handle specific images based on filename

I'm using Advanced Custom Fields on a Genesis-based website to generate some unique review-like fields at the bottom of posts. Multiple writers post content and use this field, but I want to have them ...
0
votes
0answers
14 views

How to allow “List View” for adding images to a post

I've looked around quite extensively for this, but can find neither discussions, code snippets nor plugins which deal with this issue. Basically, when you're on a post and want to either "insert ...
0
votes
0answers
35 views

Getting gallery and image detail URL in Photo Gallery plugin

I am migrating photo galleries from old gallery system to Photo gallery plugin. Because I need to make a HTTP 301 redirection from original URL (gallery and photo detail) to new URL in Photo Gallery ...
0
votes
0answers
19 views

Use bootstrap for wordpress gallery?

I am wondering if it is possible to rewrite the gallery shortcode output (default wp gallery) to use bootstrap responsive columns. WP gallery is not really working as the rest of my theme. I know it ...
0
votes
0answers
17 views

Theme development- photo gallery post type?

I am in the early stages of developing a theme and was looking at how to create a photo gallery post type where all of the images are contained in a slider which is inserted in place of a featured ...
0
votes
0answers
43 views

modify gallery shortcode to make it responsive

I'm trying to make the default WP gallery responsive. I copied the entire gallery shortcode into my functions file and did the remove_shortcode/add_shortcode. Found this post Making WordPress Gallery ...
0
votes
0answers
21 views

Howto put a photo gallery into bbpress topics?

Lots of searching haven't found a way to do this yet. Only the short-code is being displayed. I do have TinyMCE Advanced & "Add Media" button working in bbpress however. I'm using the latest ...
0
votes
0answers
32 views

Removing “featured image” & “create a gallery” in sidebar

I was wondering if it was possible to remove "featured image" & "create a gallery" in the sidebar inside the "add media" button on "add a new post" page on my wordpress? ...
0
votes
0answers
24 views

How modify gallery shortcode output for admin side

I've been modifying the gallery shortcode output, with remove_shortcode and add_shortcode function. Which works great for the front-end side. But in the admin side, when I edit some pages, the ...
0
votes
0answers
25 views

Client login area with gallery

I'm working on a website for my photography business, and I've been using smugmug's gallery management and sort of login tools (im a very tacky way) to give each client a login they could then use to ...
0
votes
0answers
17 views

Loop media by “uploaded By”?

I have a webpage that I want to display images that are uploaded by a certain author. In the backend if I look at media, each image has an 'Uploaded By' attribute, and then it says the authors name. ...
0
votes
0answers
10 views

attchment id vs url

Hi guys so im working on a site and im using galleries to display images of products and I was wondering why do some images link like this: http://studioanise.com/?attachment_id=249 and display how I ...
0
votes
0answers
64 views

customize theme's iLightbox shortcode

I am using the Themeco X theme and it comes prepackaged with the iLightbox. I want to customize the X shortcode to utilize iLightbox variables that are not 'included'. Themeco says that "1. You can ...
0
votes
0answers
25 views

display gallery in list format instead of grid

I'm looking for the best approach to do the following: The site will have one page into which the user will be creating and inserting albums and galleries via the FooGallery plugin which "uses the ...
0
votes
0answers
36 views

Enhance-Media-Manager-For-Gallery

Enhance Media Manager for Gallery I used the example and the html template is rendering fine, however no attribute for type is added to shortcode in page content. So I believe the JS is wrong. Help? ...