Been using PODS templates on about 30 sites for a few years without any issues. Just saw the notice about templates being depecrated in 3.3.
I’m not doing any PHP in my templates, just using the PODS shortcodes and some simple HTML.
Does this mean in 3.3 all of my existing templates won’t work anymore?
Thanks
Craig
]]>At present I can now edit the templates again. However the edits are not being reflected on the front end. I have cleared all wordpress caches, restarted server, purged cloudflare etc.
Page where a template is shown is linked. Code for said page is below.
<div class="application-header">
<div class="application-header-title">
<h1>Application for {@offer_product}</h1>
</div>
<div class="application-header-subtitle">
<h1>App ID: {@post_title}</h1>
</div>
</div>
<div>
<h2>Application Details</h2>
<table class="rebate-application-table">
<tr>
<th>Product</th>
<td>{@offer_product}</td>
</tr>
<tr>
<th>Offer Type</th>
<td>FlyerFunds</td>
</tr>
<tr>
<th>Offer Amount</th>
<td>{@offer_rebate}</td>
</tr>
<tr>
<th>Offer Link</th>
<td><a href="{@unique_link}">Click here</a></td>
</tr>
<tr>
<th>Application Date</th>
<td>{@application_date}</td>
</tr>
<tr>
<th>Application Status</th>
<td>{@approval_status}</td>
</tr>
<tr>
<th>Paid on</th>
<td>{@payout_date}</td>
</tr>
</table>
</div>
<div class="rebate-application-additional-details">
<h2>Provide Additional Details</h2>
<p>Please provide your reference number after you receive it from the institution.</p>
[fluentform id="13"]
</div>
<div class="rebate-application-missing-funds">
<h2>Are your FlyerFunds still pending after 8 weeks?</h2>
<p>If you applied for the {@offer_product} and were approved by the bank then you should see confirmation of your FlyerFunds within 8 weeks. However, sometimes rebate applications are mistakenly not credited by our affiliate partners. In these cases we appeal with the institution so they can investigate and, if eligible, manualy approve the application. To help with this process, we ask that you provide us with the following details. </p>
[fluentform id="14"]
</div>
You can see several changes made, for example the ‘App ID:’ was added for the page subtitle but is not being reflected on the page.
]]>Note -I am using an Avada Theme with WordPress.
Any help in letting me know how to display POD custom field content would be very much appreciated.
]]>-I’m using WPML to create a multi-language website.
-I create two different Custom Post Types with Pods 2.8.1.
-I create a bidirectional relationship field on each pod relating the other pod
-I create a Post of each CPT and I relate them in the commented relationship field.
-I set Both CPT as ‘Translatable – use translation if available or fallback to default language’ on WPML.
Up to this point, everything works fine, as usual.
-I generate a simple pods template calling the relationship using [each…]{@name}[/each].
-I enable automatic pod templates for the pod and I assign the template.
-The template works fine with the default language and shows the related items on the post front page.
-I set the Pods Templates as ‘Translatable – only show translated items’ in WPML
-I translate the Template to other languages leaving the template title blank
Here comes the problem:
-When I change the language in the front, the related posts aren’t shown on the post front page, they are only shown with the default language, but not in the other languages.
-If I make the related pod as ‘Not translatable’ in the WPML settings, then the related posts are shown in all the languages, but if I do so, the pods that are now not translatable, are only shown in the default language, and I want them as ‘Translatable – use translation if available or fallback to default language’.
Sorry for the detailed and long explanation. I was just trying to reproduce the issue step by step. Maybe I’m missing something, but before updating to Pods 2.8, the translated templates were showing the relationships in all languages and at the same time the posts were appearing as translated, having set all the custom post types as ‘Translatable – use translation if available or fallback to default language’ (Make ‘Pod’ appear as translated).
I hope you can give me a hand.
Thanks a lot!
What level of integration and compatibility does BuddyX have with Pods? Or is planned to have?
Thanks!
]]>However, no matter where I move the magic tag in the template, the form remains right at the top, below the title.
May I know how to get past this issue?
function (simplified) that’s being called:
function showform($author) {
if ($author == get_current_user_id())
return gravity_form( 1, true, true, false );
}
]]>[each items]
<li>
<img src="{@items.post_thumbnail_url.maxwell-thumbnail-small}" style="display:none">
<a href="{@permalink,esc_url}">{@post_title}</a>
</li>
[/each]
This is my template for one of my CPTs
The inline css automatically appears after clicking “save template”. I do not want the image to be hidden. Any help on why this happens/how to resolve it would be appreciated
How can I get them to show up, so I can access them from this area? If I go to a link I happened to have bookmarked for my main pods template I can access it and make changes but this doesn’t help if the link changes when I launch the site.
]]>