When I clicked, select images button not working.
]]>Hi,
Really appreciate the plugin, thank you for your work
I have a request: I’d like to add more images to a gallery, but no “Add more” like action seems to be available. Is there a way to do it?
]]>Is there a limit to how many images a user can add to the featured gallery?
if not, would it be possible to set such a limit?
Thanks!
]]>What do I need to add to this to display caption text that can be set in the admin panel when I add a photo to gallery?
$galleryArray = get_post_gallery_ids();
foreach ( $galleryArray as $id ) {
echo '<img src="' . wp_get_attachment_url( $id ) .'">';
}
]]>
Hi. Thank you for the great plugin.
Please tell me the solution so that I can insert a video into your gallery.
I don’t know how to program, but I need to do something like this
$galleryArray = get_post_gallery_ids();
foreach ( $galleryArray as $id ) {
echo '<img src="' . wp_get_attachment_url( $id ) .'">';
}?
if has video
echo '<video autoplay="" loop="" muted="" poster="wp_get_attachment_url video first frame( $id )" width="" height="">';
echo '<source src="' . wp_get_attachment_url video( $id ) . '" type="video/mp4">';
echo '</video>';
>
thank you
I hope it’s possible.
Hi There,
First of all, thank you for this plugin
I encounter a small bug, after backend page load when a user clicks on “edit selection” the already selected images are not shown.
Looking forward to the bug fix
Thnx Again
How to add multiple featured gallery metabox???
I need multiple metabox with different featured gallery.
]]>Hi there
I notice you mention a big update coming to this plugin as this come yet and if not how long until the update?
Thanks
Matt
]]>I’m one of the developers of “picu” and we had a user reporting a Problem when using both “Featured Galleries” and our plugin.
The issue was that our ?filter” doesn’t work and all the images get displayed in the media library after upload.
We use the WP media library to handle image uploads for picu, but don’t show the images anywhere except our screens, because they are not intended to be used/released anywhere.
When he tried deactivating some plugins he found out that deactivating ?Featured Galleries” fixed the issue. We looked at the code and it looks like the ?wp_enqueue_media” function that we both use is causing this.
Maybe you could add a check and only load it on the specific screens it is used from your plugin? You should also add the $post array as an argument to the function call. If this is missing the attachments won’t get attached to any posts.
Would be cool if we could get this fixed.
]]>Hy,
I am using your plugin and it works great, the only problem i am geting is that i want to use dynamic post id of the posts for fetching gallery .
$post_id=420; //420 is my post id.
$galleryArray = get_post_gallery_ids($post_id);
in place of static post id i want to use dynamic posts id.
Please help….!!
Hi. I’ve created a custom post type with quite an extensive page of options in the backend including the Featured Gallery.
Now my client wants me to add the ability for users to upload/update their own photo galleries from the front end of the site (they will need to be logged in and each post will be linked to a user account so that only that user will be able to edit the post).
Can the Featured Gallery backend functionality be added to a form on the front end of the site???
I entered the code in the functions , but in my custom post type does not work. What can I do to fix ?
thanks!
]]>Hello,
I followed all steps. So far so good. But ones that I put the following php code in the single.php file of my Twenty Fourteen Theme I get a HTTP 500 ERROR when I view my posts. What am I doing wrong?
<——- php code I inserted ——->
<?php $galleryArray = get_post_gallery_ids($post->ID); ?>
<?php foreach ($galleryArray as $id) { ?>
“>
<?php } ?>
<——- end php code I inserted ——->
Thanx!
]]>Hi, I wonder if I can diplay title or caption in a lightbox.
I tried fancybox for wordppress but no title shows up.
Thanks for the help.
I see an other unimplemented featured ??
In Média, it is a image featured : “unattached” in a select in grid mode or in the table in list mod.
With your gallery, we don’t no if this image is attached or not.
Thanks
]]>Hello,
Thanks for this plugin, very handy !
My admin is very slow, I noticed that the image in the post edition are actually in the original format, it would be preferable put the thumbs.
Thank you !
]]>I was unable to use my tablet to select multiple gallery images. I could only select one. Is there a way to make this plugin able to select multiple images when using tablet browsers? (im using a galaxy tab 4 with chrome and firefox.)
]]>Hi Andy,
thanks for your works on this great plugin, i made it on my site already.
i’m thinking, if is possible to create a shortcode function, then it will be used easily.
I was working on ToolSet plugin(types and views). it not accept php code. so i have to edit PHP files.
if it can be wrote function in functions.php, that’s great to use shortcode in Toolset plugin.
Thanks again.
]]>When creating a gallery, we are not seeing the “Attachment Details” for an image to be able to add/edit things like Title, Caption, Description, etc.
I’ve tried deactivating other plugins to see if it’s a plugin conflict.
Any ideas?
]]>Hi! Thank you for your plugin. Very useful one.
As a suggestion..
What do you think, if fg_perm_metadata
and fg_temp_metadata
used to store ids, make invisible in custom fields metabox with underscore prefix _?
Or you left them as it is for some reasons perhaps..
]]>Hello ??
Plugin produces error in admin area in console.
It asks for file that doesn’t exist /plugins/featured-galleries/css/admin-hidesidebar.css
ver 1.7.0
if ( !$show_sidebar ) { wp_enqueue_style( 'fg-style-admin-hidesidebar', plugin_dir_url(dirname(__FILE__)).'css/admin-hidesidebar.css' ); }
Hi, I still have some issues to display the gallery on the frontend.
I use the twenty sixteen theme and I’ve tried to paste the following code under the excerpt of post.php:
<?php $galleryArray = get_post_gallery_ids($post->ID); ?>
<?php foreach ($galleryArray as $id) {
<img src="https://www.ads-software.com/plugins/featured-galleries/&">
<?php } ?>
The foreach loop produces a syntax error.
What am I doing wrong?
Greets
Martin
Hello,
I sort posts by ajax filter, everything works fine, but there’s no images from gallery. Does this gallery work based on jQuery and after DOM changes, your plugin doesn’t work ?
]]>Hi. I try to integrate the galley in my function php file. I think my syntax is wrong.
I tried on line 2
array_push($post_types, array('gd_place','gd_bands'));
and
array_push($post_types, 'gd_place','gd_bands');
I get these errors:
Warning: Missing argument 1 for add_featured_galleries_to_ctp(), called in /home2/ultraman/public_html/walago.co/go/wp-content/themes/Divi-child/functions.php on line 145 and defined in /home2/ultraman/public_html/walago.co/go/wp-content/themes/Divi-child/functions.php on line 221
Warning: array_push() expects parameter 1 to be array, null given in /home2/ultraman/public_html/walago.co/go/wp-content/themes/Divi-child/functions.php on line 222
line 222 is line 2.
line 145 is where I insert the function
add_featured_galleries_to_ctp();
I’d appreciate any help.
Thanks
]]>I am using a theme called Pinable which I think either uses Featured Gallery or something very similar. Howver I am creating Pinable posts on the fly using Gravity Forms so I can’t use (or can’t seem to work it out) the inbuilt featured gallery functionality of Pinable.
However I was wondering if I installed your plugin if it was something I could use writing a php script to set up a gallery based on images loaded in the gravity form. My concern is that I will have a conflict with Pinable featured gallery database tables or records.
Hi Team,
Very Interesting plugin, I have small doubt
I created one gallery in my post, if i add new image on that gallery if we remove all images on that gallery after that add new image with old images.
Is there any possible to add new image existing gallery ?
Thanks,
Balakrishna.
Hi! Just wondering if there is any way to randomize the images in the featured gallery so they would be in a different order each time the page is loaded?
]]>Hi you gave the code to use for custom post type but what about category, I have category portfolio and want to only have the featured gallery plugin show and be used for that so not to complicate things for people using it. At present it still shows for all categories.
Thanks it is a great tool…
]]>Hi I can’t get the image to show the full sized image either in lightbox or in the url.
I had to add this function to select the image size for the page otherwise it defaults to thumbnail always. Even when I edit the gallery the images default back to thumbnail and the attachment links to attachment page not what I had selected.
if ( function_exists( 'add_image_size' ) ) {
add_image_size( 'new-size',364,314 ); //(not cropped)
}
add_filter('image_size_names_choose', 'my_image_sizes');
function my_image_sizes($sizes) {
$addsizes = array(
"new-size" => __( "Work Portfolio")
);
$newsizes = array_merge($sizes, $addsizes);
return $newsizes;
}
Is this a bug with the editing?
OK so if it isn’t then how to make the image link to full size not thumbnail?
<?php
$galleryArray = get_post_gallery_ids($post->ID);
foreach ($galleryArray as $id) {
$img = wp_get_attachment_image_src( $id, 'scriibe_portfolio_image' );
$img_src = $img[0];
$id = get_the_ID();?>
<?php if ($img_src) : ?>
<div class="portfolio_image" id="<?php echo esc_attr($id); ?>">
<img src="<?php echo esc_url($img_src); ?>" title="<?php the_title_attribute(); ?>" alt="<?php the_title_attribute(); ?>" />
<a rel="prettyPhoto[<?php echo esc_attr($id); ?>]" href="<?php echo esc_url($img_src); ?>">
<div class="portfolio_main">
<h3><?php the_title(); ?></h3>
<div class="portfolio_content">
<?php
$content = get_the_content();
?> <?php echo wp_trim_words( wp_kses_post($content),'40' );?><?php
?>
</div>
</div>
</a>
</div>
<?php endif; ?>
<?php } ?>
Is there a way to default the image sizes?
Thanks again for your help….
Hi,
I am having some problem with the codes, where I have to put them? in which php? I think in the single-post.php, this is the code of my theme:
<?php
/**
* @package water lily
*/
?>
<article id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>
<?php if( has_post_thumbnail() ) :
echo the_post_thumbnail( ‘full’, array(‘class’ => ‘aligncenter’) ); ?>
<?php endif; ?>
<div class=”entry-content”>
<h1 class=”entry-title”><?php the_title(); ?></h1>
<div class=”entry-meta”>
<?php water_lily_posted_on(); ?>
</div><!– .entry-meta –>
<?php the_content(); ?>
<?php
wp_link_pages( array(
‘before’ => ‘<div class=”page-links”>’ . __( ‘Pages:’, ‘water-lily’ ),
‘after’ => ‘</div>’,
) );
?>
<footer class=”entry-meta below”>
<?php
/* translators: used between list items, there is a space after the comma */
$category_list = get_the_category_list( __( ‘, ‘, ‘water-lily’ ) );
/* translators: used between list items, there is a space after the comma */
$tag_list = get_the_tag_list( ”, __( ‘, ‘, ‘water-lily’ ) );
if ( ! water_lily_categorized_blog() ) {
// This blog only has 1 category so we just need to worry about tags in the meta text
if ( ” != $tag_list ) {
$meta_text = __( ‘Tags: %2$s.’, ‘water-lily’ );
} else {
$meta_text = ”;
}
} else {
// But this blog has loads of categories so we should probably display them here
if ( ” != $tag_list ) {
$meta_text = __( ‘Posted in: %1$s. Tags: %2$s.’, ‘water-lily’ );
} else {
$meta_text = __( ‘Posted in: %1$s.’, ‘water-lily’ );
}
} // end check for categories on this blog
printf(
$meta_text,
$category_list,
$tag_list
);
?>
<?php edit_post_link( __( ‘Edit’, ‘water-lily’ ), ‘<span class=”edit-link”>’, ‘</span>’ ); ?>
</footer><!– .entry-meta –>
</div><!– .entry-content –>
</article><!– #post-## –>
]]>