Pods shortcode in templates
-
Hello,
I would like to use pods shortcodes in pods templates.
For example: I made a pod “info”. And I want to show a certain “info” in a template of teammembers. So I write in the template teammember, for example
<h1>{@post_title}</h1>
{@post_content}
[pods name=”info” id=”5″ template=”info-template”]When in the template “info-template” there is: {@post_content}, it does not work. I got the message: Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) in …/private_html/wp-content/plugins/pods/components/Templates/Templates.php on line 597
When {@post_content} is not in the template “info-template” it works.
The shortcode with in the template {@post_content}, works perfect on a regular page.
Could this be a bug? And could this be fixed.Thanks for helping out.
Stijn
- The topic ‘Pods shortcode in templates’ is closed to new replies.