Customizations – feel free to use and contribute to
-
Hello,
I customized this plugin a bit. Feel free to use the following code…
1) If you need to have it worked wuth fancybox instead of colorbox:
[code]
line338:
if ($disable_slideshow) {
$class = '';
$rel = "rel='fancybox[{$id}]'";
$click_event = '';
[/code]2) If you want to have the number of photos saved in a custom field on the page where you placed the shortcode
[code]
line536:
global $post;if ( get_post_status( $post->ID ) ) {
update_post_meta( $post->ID, '_rfg_photos_count', $total_photos);
}
[/code]3) If you want the coverphoto of the gallery stored in a custom field on the page where you placed the shortcode
[code]
*** haven't figured this one out completely, ideas are welcome! ?? ***
[/code]
- The topic ‘Customizations – feel free to use and contribute to’ is closed to new replies.