You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey All,
I am trying to write a posts loop that uses shortcode instead of the post content.
Idea being in theory you can create a template of a global widget or a section, then use the shortcode in the loop. Using dynamic content in your template would allow you to completely customize using elementors in place tools.
I have it built based on the posts elementor pro module, but am having a problem getting custom fields/post_meta to stay related to the post in the current loop.
Hoping some better versed php/elementor folk can help me break this wall I am banging my head against.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey All,
I am trying to write a posts loop that uses shortcode instead of the post content.
Idea being in theory you can create a template of a global widget or a section, then use the shortcode in the loop. Using dynamic content in your template would allow you to completely customize using elementors in place tools.
I have it built based on the posts elementor pro module, but am having a problem getting custom fields/post_meta to stay related to the post in the current loop.
Hoping some better versed php/elementor folk can help me break this wall I am banging my head against.
https://github.com/skwerlzu/ElementorPro-Posts-Shortcode
Any help would be greatly appreciated
Beta Was this translation helpful? Give feedback.
All reactions