I am trying to:update toolset types and views whilst maintaining my existing templates. hidden link is a template that works in the live environment, but when update the posts disappear until i change permalinks and back again then all template are back to default wordpress templates not customised toolset ones
Link to a page where the issue can be seen in the updated staging environment: hidden link
I expected to see: similar to this in the live environment hidden link
Instead, I got: this kind of template for events, posts and teachers etc hidden link
Also Teachers template broke before the update. I'm not sure what is happening here or how to fix them so they're all consistent and working correctly. Please help.
I inherited this site as pro-bono from another dev and theyre a small yoga studio so any help and advice here would be greatly appreciated.
Hello,
I have tried the URL you mentioned above:
hidden link
But I can see a htaccess password protect window, can you check it?
Since the problem is in your staging website, please also provide the credentials of your staging website credentials in below private detail box, thanks
Thanks for the details, I can login your website, please edit the problem page "Our teachers" in your staging site:
hidden link
in section "Content Template", you are using option "Template for pages", but the content template "Template for pages" is empty:
hidden link
So it conduct the problem you mentioned above.
I suggest you edit the page "Our teachers" in your staging site:
hidden link
in section "Content Template", choose option "None", then test again. This option will output the page/post content directly
More help:
https://toolset.com/documentation/user-guides/view-templates/
Np this hasn't solved my issue. It has only solved an issue that I created by mistake. I'm sorry, i think I've confused things with my example.
Please take a look at the live site where you can see a corrupted Teachers ('Team' - Teammate) profile.
hidden link
This has reverted to the default template whereas before it used to have a template very similar to this one for an event:
hidden link
You can get to each event by clicking on any event on the parent events page 'What's on":
hidden link
Same for
It is very confused.
First, in the first post of this thread, you mentioned:
Link to a page where the issue can be seen in the updated staging environment:
hidden link
And expected to see:
I expected to see: similar to this in the live environment hidden link
I have checked it again in the URL you mentioned above:
hidden link
It does work, and display same as your live environment, see screenshot: staging2.JPG
Second, for the problem of single "dt_team" post:
hidden link
That depends on your theme file, for example, Views content template only works in post content area, if you are going to use same theme template as single "event" post, you can copy your theme file "single-event.php" to "single-dt_team.php", edit the new file "single-dt_team.php", customize it with custom PHP codes to what you want.
More help:
https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
single-{post-type}.php – If the post type is product, WordPress would look for single-product.php.
For your reference.