crowdfavorite / wp-post-formats

An admin interface and structured post meta for WordPress post formats.
362 stars 78 forks source link

Optional gallery shortcode field for Gallery post type #43

Open alexkingorg opened 10 years ago

alexkingorg commented 10 years ago

introduce a radio button/option to use a specific gallery shortcode instead of all images attached to the current post.

alexkingorg commented 10 years ago

I'm imagining this:

image

(related: #44)

QWp6t commented 10 years ago

That would be awesome! :+1:

codehaiku commented 10 years ago

It's an awesome plugin. But I am confused. How would a theme developer call the right gallery? We need something like cfpf_post_gallery_get_images( $post->ID ) to be called in the theme files. Also, there are images above inside the meta box and there will also be images right inside the post editor. I wonder what's the use of the 'GALLERY IMAGES' when you can always see the images right in the post editor box.

I'm sorry, but could someone shed some lights on my head?

Thank you so much!

alexkingorg commented 10 years ago

There would be a utility function that would look at the value from the radio button and return the proper gallery items.

novaworks commented 10 years ago

Hi How I can add Shortcode option? I can't see it in your plugin.