Views is a WordPress plugin that lets you easily design the display of single pages using content templates. You can also include any field belonging to the content in your templates, without writing PHP code.
When you ask for help or report issues, make sure to tell us what you have created so far and what you want to achieve.
Viewing 15 topics - 1,801 through 1,815 (of 2,084 total)
Problem:
Divi builder not working with content templates.
Solution:
Elegant Themes released a new editor for Divi called The Latest Divi Builder Experience. Currently, in order to use Divi alongside Toolset you need to disable this new editor.
To do that to go to Divi -> Theme Options, click the Builder tab and in the Advanced section disable The Latest Divi Builder Experience and enable the Classic Editor option.
Problem:
Whenever I save a post that has either a Content Template or a Layout template assigned, where I chose some non-default Theme Options of my CPT Ready Theme, I see a warning on the post screen (similar os same to):
Some of your settings for this page have changed because they got copied from the {name} template. To change these settings you should edit {name}.
Modified settings: {Settings name}.
Why is that?
Solution:
When Toolset runs with an Integrated (CPT Ready) Theme, you are able to alter some Theme Options on either Layouts or Content Templates applied to your posts.
When altering such options to be different than the Theme's default settings, we also push an Admin Notice on the single edited post, warning about the Theme Options not respected on this Post because being altered in the template used.
We plan to enhance the feedback given to make it more clear.
Problem: Can I expect any conflicts with WP Lister plugin? Can I use their custom fields and custom taxonomies with Toolset?
Solution: As long as the posts, custom fields, and custom taxonomies are public, you should be able to access them with Toolset shortcodes. There are some potential limitations described below.
Problem: I have a one-to-many relationship between Organizzate (parent) and Consuntivi (child). I have several custom fields on the Organizzate post, including a repeatable field group (RFG). On the Consuntivi post Content Template, I would like to display the custom fields from the parent Organizzate post, as well as a View of RFG from the parent Organizzate post.
Solution: To display custom fields of the parent post, you should use the Types field syntax like this:
To display a View of RFG from the parent post, set up the View's post relationship filter to respond to a shortcode attribute "wpvrelatedto". Then use the wpv-post-id shortcode to set the value of that shortcode attribute, like this: