I have some trouble with custom post type and display them in the template.
This is the first time I using Toolset, and I follow the tutorial videos on your site.
I added a custom post type called "Products", and some custom fields.(Image, Product Description, etc.)
Add an image and some product description, but they doesn't show in the template, the product description is gone after I refresh the page after SAVED THE POST.
May I know what is going wrong here? Any suggestions?
As for the problem with the image field, the content template is correctly assigned to the post type, yes?
It sounds as if the post is being displayed without a content template (i.e. what the theme would output) and therefore the post content is shown, but no image.
I have another bug… I have two WYSIWYG fields, and add contents to both fields, after save and refresh, the content in the first WYSIWYG field is there, but the content in the second field is gone… really frustrated with this…
As instructed, i have updated to the latest version 3.4.14.
During testing on my website, I was able to reproduce this issue, and apparently, it happens only if the post body editor (content area) is disabled.
The "editor" section was also disabled for your website's "News" post type and I have enabled it from WP Admin -> Toolset -> Post Types and the WYSIWYG field is now working.
( screenshot: hidden link )
Note: This is the only change that I made on the website.
I've shared these findings with the concerned team for further review and will keep you updated through this ticket.
But what I really want is to disable the post body editor, if editor is there it will be very confusing to client, because I want to make the editing experience as simple as possible for my client. (like custom content type you can created with jetEngine, whereas there is no post body "editor").
According to you feedback, I guess I have to enable the "editor" for now.
Thank you for sharing these findings to developers. I really hope that custom post type can work with POST BODY EDITOR disabled in future, maybe in next update will be awesome.
By the way, I have another questions, I don't see the options to add a simple table inside WYSIWYG field? What happen if client wants to add a very basic table inside WYSIWYG field?
Your understanding is correct and enabling the "editor" is the workaround for now.
I'll keep you updated on the progress on the actual issue, through this ticket.
For table or any other HTML content, your clients can paste it in the WYSIWYG field manually. The available buttons on the field are only for the simpler HTML elements and tables are fairly complex.
Tip: it would be a good idea to add a note for your clients that if they're adding raw HTML code, for example, the table HTML, the "Text" tab of the WYSIWYG field should be active and not the "Visual" tab.
As per our support policy, I'll encourage you to start a new ticket, for each new question or concern.