Shortcode doesn’t work in Elementor loop item when showing loop grid in editor
-
I have an Elementor Loop Item containing this shortcode:
[pods]{@icon._img}[/pods]This works when editing the loop item, having set Elementor’s content preview settings to the correct CPT. It also works on the front end. However, when viewing the full loop grid in Elementor the following message is shown:
Pods Access Rights: Admin-only Notice
The content type of the content below is not public and may not be available to everyone elseI have checked the Access Rights for the CPT, and tried unrestricting everything. However, the issue appears to be that the loop items at that point are referring to the page the loop grid is on (in my case, the homepage). I tried this code:
[pods]{@post_title}[/pods]And as suspected, got the title of the homepage, but also curiously, the error message above.
How can I make this work properly?
Incidentally, I’m having to output it this way because although SVGs can be uploaded in PODS, Elementor will not display the field in the dynamic tags dropdown unless “Images (ONLY jpg, jpeg, png, gif, and webp)” is chosen.
The topic ‘Shortcode doesn’t work in Elementor loop item when showing loop grid in editor’ is closed to new replies.