Adding in featured gallery plugin
-
Hello,
Your plugin is fantastic and exactly what I was looking for as a basis of my new side.
I would like to make the featured image more interactive, and I’m trying to add in a (developer) plugin called ‘Featured Galleries‘. This will make the featured image a gallery!
I figure this would save space, instead of included a gallery in the post it can all be contained in the top image (which is quite large on a single page).
However as it’s a developer plugin is not so easy to integrate it with wordpress as my php skills are not great (‘m more html and css).
The author of ‘Featured Galleries’ gave some examples of code to integrate it would a theme in the plugin’s description, but I can’t figure it out and I was hoping you would help me?
Here is one example, but I’m not sure it is the correct one to use, or how to use it!
$galleryArray = get_post_gallery_ids($post->ID); <?php foreach ($galleryArray as $id) { <img src="<?php echo wp_get_attachment_url( $id ); ?>"> <?php } ?>
He has some others…
I also think you should include this functionality in your theme as it would be amazing!
Philip
- The topic ‘Adding in featured gallery plugin’ is closed to new replies.