Using meta_value in mla_link_href?
-
Hello,
From the MLA documentation it seems possible to use meta_key/meta_value and a custom field to define the destination of mla_link_href, image by image. However it’s not working…. might just be a syntax error? If someone knows how to do this, I’d be grateful.
I defined my custom field, sponsor_url, with values e.g. “https://www.foo.com” which differ for each image in the gallery.
When I try the following, I get my page’s url with “meta_value” appended to it:
[mla_gallery attachment_tag=auction17_gold mla_caption="{+title+}" columns=1 size=medium meta_key=sponsor_url mla_link_href=meta_value]
When I try
mla_link_href="{+meta_value+}"
, I get my page’s url with[+meta_value+]
appended to it…All the examples I have found use meta_value in the context of “order_by”. Hoping that is not its only valid use….
Thanks,
C
- The topic ‘Using meta_value in mla_link_href?’ is closed to new replies.