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 the attachment ID's and display the images in a slideshow above the post title & content.
However this results in theme lock, and I was wondering if there is any way to do the below:
- Retrieve the first gallery shortcode used in a post to output the images as slideshow above the Post title and
- also remove the shortcode from within the post so it is not displayed again in the content.
I understand it would involve lot of code so if anyone could just point me in the right direction would be appreciated. I know bit of PHP and can tweak code but not great with creating something from scratch.