The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
4 views

Edit Post Gallery, without adding it in content

I'd like to be able to create a gallery in each post, and then displaying it on website using get_post_gallery() function. At the moment that's possible only by adding the gallery shortcode in ...
0
votes
0answers
11 views

Change Wordpress Gallery Markup in functions.php

I'm looking to change the markup of the Wordpress Gallery, so that it outputs a new set of code. Ideally, this is what I want (a Bootstrap-based markup). <div class="col-md-3 col-sm-4"> ...
0
votes
0answers
10 views

How to Retrieve data of Gallery Shortcode and display it above a post

I'm trying to style my theme without resorting to custom fields. For gallery posts type, most premium themes are using custom field which is the method I used till now. With it, I could then retrieve ...
0
votes
0answers
6 views

Gallery preview on Post Format posts

I am trying to put a 2 picture preview of a gallery on each post that is the post format of 'gallery'. I managed to get all the thumbnails to show up in a post with: <?php echo ...
0
votes
1answer
37 views

How do display gallery embedded to the custom post type

I have a custom post 'event'. For each post there is a gallery attached. On a main galley page i am displaying featured images from each post . Now i want that when person clicks on this featured ...
-1
votes
1answer
13 views

Click thumbnail, change main image - NextGen or somethign else?

I'm trying to get the main image to change depending on the thumbnail image clicked. I would want the main image to take its new src from the a tag of the thumbnail that was clicked. Good example is ...
-1
votes
0answers
7 views

Default Wordpress Gallery Questions [on hold]

I have been trying to search and do some research online but am unable to get some answers. 1) I am looking to use the Default Gallery on Wordpress, is there a plugin to add on top of the Media ...
0
votes
0answers
20 views

3.9 Galleries & Thumbnails

I'm using WP 3.9.1 and have added a gallery (Add Media ->Create Gallery -> pick images -> Gallery Settings: Link to Media File.) That works, almost. The problem is that I need the gallery to use ...
0
votes
0answers
16 views

Gallery image archive page

I need to create an image gallery archive page. Actually I need something like where user will be able to create an image gallery with a few images and with a title through admin panel. The gallery ...
0
votes
1answer
16 views

Thumbnail gallery by date and taxonomy

I'm having problem to create something like image gallery. What I wanna do is, in the home page sidebar, there will be a box named photo gallery which will contain 2 or 4 images thumbnail (just like ...
0
votes
1answer
23 views

Changing admin Textarea to integrated WP editor

I'm currently working on a theme for my page that utilizes wordpress's built-in gallery system to make a slideshow with php/jquery. (Post->create new post->add media-> create gallery) Since by ...
0
votes
1answer
35 views

How to add 'data-caption' inside an anchor tag

bellow is custom gallery code. function custom_gallery_shortcode( $attr = array(), $content = '' ) { $attr['itemtag'] = "li"; $attr['icontag'] = ""; ...
0
votes
0answers
11 views

Linking Images to Post Page from Categorized Gallery

I used the code from this thread to create a plugin that automatically makes a gallery out of images attached to posts with certain categories. It works great, but now I want to make the images link ...
0
votes
0answers
18 views

How to create a gallery and integrate in first page

I want to create a gallery that display all images in the front page, but I don't want to use any plugin. I used the following code <?php /* The loop */ while ( have_posts() ) : ...
0
votes
0answers
51 views

WP 3.9 - default Media Manager

I need that in the admin edit page, when the user clicks on “add Media”, the default in the new frame will be “Create Gallery” and not “Insert Media”. I think, that the script for it is in the ...
0
votes
1answer
66 views

Dynamic image grid gallery

I want to create a project with the following image grid gallery. I try to do with the using of masonry JQuery My code : functions.php wp_register_script( 'pkgd', get_template_directory_uri() ...
0
votes
0answers
13 views

Featured image loads correctly while gallery images returns 404

I can't get why the featured image is loading correctly while those in the gallery returns a 404 if the links is to the attachment page. If i link to the file, the file is shown but if activate the ...
0
votes
1answer
25 views

How to Modify WordPress Default Image Gallery Shortcode

I would like to be able to show 5 columns and only 10 images per page for the default WordPress image gallery. Visually I would imagine it to look something like the following: columns="5" ...
0
votes
1answer
27 views

.htaccess RewriteBase equivalent for WordPress - Passing a URL as a variable without getting a 404

I have a page ran by a javascript plugin that changes the url every time a slide in a gallery is cycled. This means that while slide 1 is visible, the URL is http://www.sitename.com/gallery/slide1/ ...
0
votes
0answers
27 views

Open wordpress gallery onclick

I'm using Fancybox with wordpress' built in gallery to display the images on my site. This is working great. However - due to the layout of my site, it's not very clear that the one image displayed is ...
0
votes
1answer
30 views

Image Gallery links to medium image instead of FULL size image

I am a WordPress veteran and have built some really highly customized sites using WordPress as if it were a framework almost and I love it. I have not really ever had to use the Gallery feature to ...
0
votes
0answers
12 views

Pull next article on last page of gallery pagination

I am using ByREV Gallery Pagination Plugin found here: https://wordpress.org/plugins/byrev-gallery-pagination-for-wordpress/ I am attempting to redirect the user once they reach the last page of ...
0
votes
0answers
14 views

PhotoPress Gallery plugin cannot retrieve my photos after overriding the gallery output

I am using PhotoPress Gallery plugin and PhotoPress taxonomy by padams to create a gallery using terms and keywords on my Stock Photo site. It's working well until I decide to override the Gallery ...
0
votes
0answers
14 views

Organize Gallery by Event

I have a Gallery that Displays 9 images per Page regardless of event. So far, the Gallery has about 8 pages of images, with no organization. I'd like to organize the Gallery as follows: Gallery ...
0
votes
0answers
16 views

Nginx and NextGEN Gallery navigation error

It is possible to use the NextGen on nginx server? Because I have a problem on view the slideshow gallery. This is an example of my gallery: <a ...
0
votes
0answers
24 views

Wordpress API to get galleries?

Is there a way to get with wordress API the created galleries? The main idea would be to create galleries as normal wordpress pages or posts on and use those images in a wordpress widget.
0
votes
1answer
42 views

Get all image IDs from the Media Library

I'm fairly new to PHP and I believe this is a fairly basic question. I've spent hours searching for an answer but can't quite seem to get things right. So any help would be appreciated. I'm trying ...
1
vote
0answers
106 views

How do I delete all UNUSED images from my uploads directory?

I am trying to clean out my uploads folders as they are now starting to take up too much room on my server. I have tried to use plugins to achieve this end such as DNUI and Cleanup Images but these ...
0
votes
1answer
43 views

Custom Gallery HTML only working when images are attached to post/page

I have changed my gallery html using the posts_gallery hook in the same way as shown here:How to customise the output of the WP image gallery shortcode from a plugin? I've copied the latest code from ...
0
votes
0answers
18 views

images gallery attached to a post as a subfolder of the same post

I would like to know how can I set the Lazyest gallery or other gallery plugin in order to add many pics to a post and the URL's pics to appear as a subfolder of URLs' post? For better understand ...
0
votes
1answer
35 views

How to display every pictures from all the posts on one page?

So i want to create a gallery of all the pictures from all the posts into one page. I tried different plugins but they need constant maintain i.e. I have to go add the new picture in the gallery ...
0
votes
0answers
16 views

A pagination-sort-of-thing on single.php view for the custom post type

First, a quick demonstration of what I need to achieve: It would work similarly to <?php previous_post(); ?> and <?php next_post(); ?>, but also include an actual "reel" indexing all ...
0
votes
2answers
25 views

How to add multiple images in a page

I am developing a WordPress Theme and I've got stuck in a point. What I want to do is to add a box at the right of page editor so the admin of the site can add multiple images on the fly in this ...
1
vote
1answer
120 views

Rewriting WordPress Gallery Shortcode with Bootstrap Carousel

In a recently personal theme project for publishing travel posts, I desired a slider-style image gallery rather than the standard column/list-style one WordPress uses out of the box. I like the ...
0
votes
0answers
31 views

Default gallery returns as shortcode text not gallery from synchronized custom field

I'm using ACF and Polylang plugins. In ACF I have set up a custom WYSIWYG field where I create default WP gallery. Then in Polylang I have set up that it synchronizes this field across languages. So ...
3
votes
1answer
89 views

Excludes posts that don't have attachments in the_content()

I'm trying to write a loop that excludes posts that don't have attachments in their content areas. I've got 200 posts in a custom post type called "students". I need to do a query of all students ...
0
votes
1answer
32 views

WP Gallery showing captions twice

I am using standard WP gallery to display images. I have added caption to every image, image title was not changed so it is same like file name. When I open one image in gallery it shows caption text ...
0
votes
0answers
19 views

Add video url directly into media library

Is there a way to add a video via URL directly into the Media Gallery? The only way I know how, is to do it via Post/Page 'add Media' button. Thanks
0
votes
0answers
30 views

Editing the permalink of image in Gallery Carousel plugin

I'm looking to edit the permalink that is displayed when an image loads when using the Gallery Carousel without Jetpack plugin (which is just forked from Jetpack). Currently it looks something like: ...
0
votes
0answers
31 views

Clever gallery customization, multiple galleries on a page?

I'm working on an Intranet site for my employer and was instructed to have a page with multiple galleries on it. Now, I'm aware that this is possible through wordpress, however It's a little more ...
0
votes
0answers
20 views

Custom editor preview of shortcode?

With the new WordPress 3.9 release, the official WP gallery shortcode has a beautiful preview functionality. I have an old slideshow plugin written and now I'm wondering where I should start looking ...
0
votes
1answer
28 views

How to use extract shortcode in loop?

Actually I need to gallery in any new post so i use shortcode for making gallery for every new post. I use images and videos in slider. problem is that I have custom html slider need to convert ...
1
vote
3answers
123 views

Define size for `get_post_gallery_images`, they seem to have been resized to 150x150

I'm using get_post_gallery_images and it's spitting images out as 150x150. It doesn't look like it takes a size parameter, so I assumed it would just spit out the largest image or preferably one of my ...
0
votes
1answer
29 views

How to change the target size of images clicked on in Wordpress standard gallery

I want to use the standard Wordpress gallery without using other plugins and stick to the gallery shortcode. So, I know I can change the size of the thumbnails, that are shown in the gallery grid with ...
1
vote
1answer
145 views

Connecting Wordpress gallery to custom categories (taxonomy)

I want to use the Wordpress gallery to show all pictures of one category in a gallery (on a fixed page), which I do not have to update all the time by inserting the pictures manually. So I added the ...
1
vote
2answers
78 views

(solved) how to have the gallery shortcode output one single UL list instead of several DL?

I need the built-in gallery shortcode to output UL instead of DL. How can I do it? I know I can use the 'post_gallery' filter, but that means almost duplicating the media's gallery_shortcode function. ...
1
vote
0answers
37 views

NextGen plugin doesn't dispaly its image thumbnail properly

I am using WordPress 3.8.2 running Jazz theme and NextGEN plugin for galleries ,and I'm facing a problem with it, It displays its thumbnail images in a wrong way with the initial/first load. all the ...
1
vote
1answer
88 views

How to get clean code for a gallery?

I want clean code for a gallery, like: <div class="gallery"> <ul> <li><a href='../wp-content/uploads/2014/04/lgitem-01.jpg'><img width="150" height="150" ...
0
votes
1answer
64 views

Default Wordpress gallery or very lightweight alternative to it?

I've tried looking up but I cannot seem to find the following... What must I include in functions.php and in style.css to have the default Worpdress gallery working? I have a new Wordpress theme, ...
0
votes
0answers
58 views

Add anchor tag on previous_image_link / next_image_link

I am using big headers on my website.I need the next/previous_image_link to target to the picture , not the top of the page. Is it possible to add anchor or to set the target on ...