fbeonifao
Forum Replies Created
-
Forum: Plugins
In reply to: [Custom Content Shortcode] [related] together with [pass] and [content]Hi Eliot,
I just tested the update and works really well 😉 Thanks a-lot for support on this issue.If you accept donations for the plugin I will charge it on my project costs. I will play with the plugin after this project too, and I hope to come back to you with suggestions to help you to push forward its development.
Thanks again, Fabio.
Forum: Plugins
In reply to: [Custom Content Shortcode] [related] together with [pass] and [content]Hi Eliot,
thanks a-lot for effort you put in this issue. I just updated the plugin and tried the following:[loop type=playlist] [field title] [related video_spots] [field title] => prints "my test video 5" [field file_upload] => prints ID, 5 [attached field=file_upload] [field title] => prints "my test video 5" [/attached] [/related] [/loop]As you can read even inside the [attachment] node I’m still getting as return value the title of the video instead of the attachment title.
I’m wondering if the issue could be related to the “nesting”, I mean too many nesting levels: [loop] then [related] then [attachment] then data you want to print.
Forum: Plugins
In reply to: [Custom Content Shortcode] [related] together with [pass] and [content]Forum: Plugins
In reply to: [Custom Content Shortcode] [related] together with [pass] and [content]Hi, unfortunately I could not make it working even setting the “file_upload” field to type array data.
I show you what I tried:
1. case having the file_upload field returning an array data
[loop type=playlist] => works [field title] => prints playlist title [related video_spots] => works [field title] => prints spot title [field file_upload] => prints attachment post ID [array file_upload] => works? not sure... [field title] => not printing [/array] [/related] [/loop]2. case having the file_upload field returning an ID
[loop type=playlist] => works [field title] => prints playlist title [related video_spots] => works [field title] => prints spot title [field file_upload] => prints attachment post ID [pass field=file_upload] => works? not sure... [field id='{FIELD}' title] => prints again spot title [/pass] [/related] [/loop]Forum: Plugins
In reply to: [Custom Content Shortcode] [related] together with [pass] and [content]Ok, thanks.
I have tried the use of [array] shortcode as described by the documentation before, but maybe I forgot to change the “file_upload” field to ARRAY TYPE.
I will try again in the afternoon and I will come back 😉
Thanks a-lot, really appreciated.
Forum: Plugins
In reply to: [Custom Content Shortcode] [related] together with [pass] and [content]… And to answer your question
[field title] that should display the title of that post, and instead it’s displaying the title of the [related] post?
Yes, it’s what I get.
Forum: Plugins
In reply to: [Custom Content Shortcode] [related] together with [pass] and [content]Hi,
thanks a-lot for support. Let me say for first that your shortcodes are the most powerful I found on plugins directory. So even if we cannot find a way to solve my issue, I’m really happy to use your plugin.
The idea is easy: users can create their playlist with videos they upload on the web site.
So I have a post type named “Play list”, each playlist can have many “Videos” (other post type). Each video has custom field (ACF) named “file_upload”.
What I need to do is:
– loop all playlists (that’s easy)
– loop all related VIDEOs (ACF custom post relation)
– print on page the URL of the Video (that is a file upload in media library)I do everything well the first two loops, but when I try to get the Video URL reading the Video field “file_upload” (ACF File Upload) the value returned is an ID instead (actually it is the ID of the post record of the uploaded file in media library)
[loop ...] [related ...] ??? how to access uploaded video FULL URL having the post ID?Thanks a-lot again!