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,651 through 1,665 (of 2,066 total)
I am able to render this content template programmatically using PHP codes, but the problem is that none of the shortcode, which contains the views, are not rendering any of the dynamic data.
Solution:
You will need to setup the variable $post value, for example:
Problem:
How to test whether there are any related posts using a conditional shortcode?
Solution:
You would want to register a custom shortcode that returns how many connected posts there are in the specified relationship, which you can compare to zero in your conditional shortcode.
Make a change to a content template build with Divi.
I got: The message: Some of your settings for this page have changed, because they got copied from the Product enkele weergave template. To change these settings you should edit Product enkele weergave.
Solution:
This is a known issue, you can try this:
Edit above content template:
In section "Theme Options", option "Layout" choose "Use Theme Settings", and test again
I have a column class of one-third to two-thirds as you can see. I want to set the conditional logic so that if there isn't an image added to [types field='creative-team-member-image' title='%%TITLE%%' alt='%%ALT%%' align='center' size='custom' width='250px' height='250px' resize='proportional'][/types] then the [types field="creative-team-member-description"][/types] becomes full width.
Solution:
I suggest you try to follow our document to setup the wpv-conditional shortcode, For example: