Open LinzardMac opened 9 years ago
@pglewis happened to me also
I had another incident of this happen to me today!
Pods Setup - One ACT created by Pods and multiple CPT's created manually in a plugin file and one CPT extended with a pods relationship field.
Wondering if that last issue was a rewrite flush issue or a Pods cache issue
I flushed the rewrite rules manually three times before going to the pods cache
Problem:
After performing a *certain function in Pods the WordPress front end appears to be pulling in the wrong template from the normal WordPress template hierarchy on WordPress archive pages.
My Specific Scenario:
Pods Setup - One ACT created by Pods and multiple CPT's created manually in a plugin file.
Results:
After the update all of my CPT archive pages appeared to be using the wrong template from the template hierarchy. Even though template files such as archive-mycpt.php existed in my theme folder, the archive pages for those CPTs were using home.php template file. These CPT archive pages also had nothing to do with Pods Framework created items directly.
Fix:
The solution was to go to Pods -> Settings and click "Clear Pods Cache". This brings everything back to normal and using the proper page templates again.
More Info:
Additional information is needed. If you come across an issue where you are using The Pods Framework and WordPress appears to be using the wrong template file and clearing 'Pods Cache' clears up the issue please record the scenario that triggered this issue and post it here.
*I will test to see if the issue is related to the order in which I updated (Pods Framework first and then WordPress core) and return with the results.
*Some folks have noted that this issue could occur when you rename a Pod. If that has happened as well please post here.