[Plugin: RPS Image Gallery] Pulling in Gallery Link URL for external use?
-
Hi,
Your plugin is very useful, however I’ve got a theme using FlexSlider, instead of Gallery on my posts using a custom post type.
That’s all good, but I’m not sure how to get Gallery Link URL for an attachment inside of the custom post code, can you tell me how I would do that?
Here is what I tried:
$full_img_url = get_attachment_link($attachment->ID);
or
$full_img_url = get_gallery_link_target ($attachment->ID);Neither of those will return the link and with the second, I get this error:
————
Fatal error: Call to undefined function get_gallery_link_target() in /home/mywebsite/public_html/customblog/wp-content/themes/myphototheme/single-photo.php on line 49Can you tell me how I would get the Gallery Link URL from inside of custom post code?
TIA,
-Brett
- The topic ‘[Plugin: RPS Image Gallery] Pulling in Gallery Link URL for external use?’ is closed to new replies.