Jump to content


This topic is now archived and is closed to further replies.


Shortcode Image URL

Recommended Posts



I'm trying to build some dynamic functionality for posts of a custom post type where (using a standard PL5 section e..g Image, container, Heros,etc) I can add a shortcode to the 'Image' url field that pulls an image URL value held in a custom field against the post.

E.g. for CPT called Venues, each venue has several unique images; image1, image2, image3.   I want to use PL5 section and replace the standard [pl_uploads_url]......  with an [image1] shortcode that calls a function returning the URL for Image1.

As the current section 'Image' field uses  [pl_uploads_url] I've assumed that the section can consume a shortcode, its not working out for me though!

Any advice/thoughts on how i can achieve the above?

Share this post

Link to post
Share on other sites