Tell us what you are trying to do? I created a content template (HOA Partners) that includes, a background image at the top, testimonials in a section and a gallery. All that info needs to change for each of our HOA Partners. When I load the HOA Partners template and edit that info it shows saved on the backend, but won't publish the changes.
Is there a setting to override the content template so that I can display this information? I know that I can create custom fields, which I have for most of the content, just not sure how to do it for testimonials, a background image and a gallery. Thanks for the help.
Here are links:
custom post: hidden link
partners template: hidden link
if you need login credentials, I've created some for you.
Is there any documentation that you are following?
Is there a similar example that we can see?
What is the link to your site?
Hello,
It is not safe to share the credentials publicly, I have edited your post to remove the credentials.
And the credentials is not valid, I get below message:
Invalid username
And the problem you mentioned above is abnormal:
When I load the HOA Partners template and edit that info it shows saved on the backend, but won't publish the changes.
Please try these:
1) Make sure you are using the latest version of Toolset plugins, you can download them here:
https://toolset.com/account/downloads/
2) In case it is a compatibility problem, please deactivate all other plugins, and switch to wordpress default theme 2019, deactivate all custom PHP/JS code snippets, and test again
3) Also check if there is any PHP/JS error in your website:
https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/
And I have enabled the private message box, you can provide the credentials in it.
Here are the credentials
un: toolset
pw: 3c*W@dz8!4O5)lcIJGYugB)g
I've tested and the credentials work.
I am using the current plugin.
I've enable debugging and there are no errors in the log or on the front end.
If you look at hidden link on the backend you will see there are 4 testimonials under reviews rather than the one displayed on the front end.
Thanks for the details, I can log into your website, will update here if there is any found
Q1) Is there a setting to override the content template so that I can display this information?
Please elaborate the question with more details
How and where do you want to override the content template?
Q2) you will see there are 4 testimonials under reviews rather than the one displayed on the front end.
The content template "Template for HOA Partners" you mentioned above is designed by Divi builder, please edit it:
hidden link
in row Testimonial Module, there isn't 4 testimonials, where can I see those 4 testimonials
How do you setup those relationship between testimonials and HOA Partners?
Please provide details for above questions, thanks
Hi Luo,
Hopefully this helps:
1. On Content Template "Template for HOA Partners" I want to be able to load that template for Custom Post Type "HOA Partner" and do the following when creating a new item (HOA Partner):
- Be able to edit the background image at the top right behind the name
- Change out testimonials
- Load a custom gallery for that HOA Partner
Currently, I can do this, but when I go to publish it stays like the original template on the front end of the site (background image, testimonials and gallery stay the same)
2. Correct there are not 4 testimonials in the template. I want to be able to add as many as I'd like, like this post hidden link and publish the override. Currently you can see the 4 testimonials with that link but on the front end it just loads the one (from the original template) hidden link .
Q1) Be able to edit the background image at the top right behind the name
Yes, you are right, you can try these:
- setup the "background image" as a custom image field,
- put the custom image field's shortcode into your content template
https://toolset.com/documentation/customizing-sites-using-php/functions/#image
- Use custom CSS codes to setup it as background image, see similar thread here:
https://toolset.com/forums/topic/image-field-which-is-set-as-background-is-not-looping-for-different-posts/
Q2) Change out testimonials
How do you setup those relationship between testimonials and HOA Partners?
You can try these:
1) Create another post type "testimonials"
2) Setup one-to-many relationship between "HOA Partners" and "testimonials"
3) So when you edit a "HOA Partners" post, you will be able to add child "testimonials" posts, see our document:
https://toolset.com/documentation/post-relationships/
4) In the content template of single "HOA Partners" post, you can setup a post view to query related "testimonials" posts
https://toolset.com/documentation/post-relationships/how-to-display-related-posts-with-toolset/#displaying-many-related-items
Q3) Load a custom gallery for that HOA Partner
You can setup a custom a custom Repeating Image Field, and display it with [wpv-for-each] shortcode
https://toolset.com/documentation/user-guides/repeating-fields/
Q4) I want to be able to add as many as I'd like,
Yes, it is possible to add multiple child "testimonials" posts for each HOA Partners post, see details Q1)