Bring Your Business to Life › Support › Image Store › Album and Tag Shortcodes?
- AuthorPosts
- January 14, 2014 at 2:25 am #56744
Xpark Media
Keymasteryou can use the shortcode
[image-store album=ID]
for more information in check the shortcode pageJanuary 15, 2014 at 9:26 am #56757jcharris
ParticipantI understand. But is there a shortcode to print a list of all albums? Similar to wp_list_pages() or wp_list_categories?
I can write my own, I guess. But I was hoping that you already had one pre-rolled. This would be -very- handy.
TIA,
—JC
January 15, 2014 at 2:12 pm #56758jcharris
ParticipantActually, what would help most would be a SQL Query I can apply to WP_Query to grab the following:
ALBUM_NAME, ALBUM_POST_ID, GALLERY_NAME, GALLERY_POST_ID orderby ALBUM_NAME…I want to create a ‘tree’ similar to WP_Get_Category with all albums and then the child galleries under each. If I had a single SQL Query it would execute much faster.
TIA,
—JC
January 16, 2014 at 8:47 pm #56766Xpark Media
KeymasterYou should be able to WP_Query to pull anything you want; you just need to use the custom post values. Galleries and images are just a custom post types and albums are custom taxonomies.
galleries: ims_gallery
image: ims_image
albums: ims_album
tags: ims_tagsyou can also create custom template to display custom content base on post type or taxonomy.
- AuthorPosts
- You must be logged in to reply to this topic.