Hi!
I'd like to add this embed to a layout that I'm creating using Elementor and Toolset:
<rssapp-wall id="Fub6sx8ctXst1Xl9"></rssapp-wall><script src="hidden link" type="text/javascript" async></script>
I can have it either by entering the full line as a line field or just the id.
I've tried using several ways but none worked so far:
- using the HTML code snippet on Elementor and adding the types field (ex: [types field='customizer-instagram-rss-feed' output=‘raw’][/types] ) -- it displays just the text as is
- using it as a full line doesn't work as well (instead of just entering the id)
I've tried it out first directly on the template and it works, but when I try to make it dynamic, so that I can have one feed per entry, if doesn't recreate the full code.
What's the best way to do this?
Thanks!
Patricia C.
Hello,
You can try these:
1) Create a custom WYSIWYG field:
https://toolset.com/course-lesson/creating-custom-fields/
2) When you edit/create a post, in above WYSIWYG field, switch to "Text" editor, copy/paste those codes you mentioned above:
<rssapp-wall id="Fub6sx8ctXst1Xl9"></rssapp-wall><script src="<em><u>hidden link</u></em>" type="text/javascript" async></script>
3) And display above WYSIWYG field directly:
https://toolset.com/course-lesson/creating-custom-fields/#displaying-custom-fields
It works fine in my localhost, see my screenshot
Hi again!
Yes, it works that way, but I'd like to make the ID coming from a Toolset field, so that embed would have to be something like:
<rssapp-wall id="types field='customizer-instagram-rss-feed' output=‘raw’][/types]"></rssapp-wall><script src="hidden link" type="text/javascript" async></script>
And this doesn't work...
How could I make this dynamic?
Thanks!
You can try these:
1) Create a single line field "customizer-instagram-rss-feed"
2) In the post content or content template, add a shortcode block, display below codes:
<rssapp-wall id="[types field='customizer-instagram-rss-feed'][/types]"></rssapp-wall><script src="<em><u>hidden link</u></em>" type="text/javascript" async></script>
Hi!
Thanks so much! That worked, thanks so much, otherwise it wouldn't parse the content of the previous field.
Thanks!
My issue is resolved now. Thank you!