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 - 841 through 855 (of 860 total)
Solution:
When you set your page to use the Elementor, you should not assign the content template you created using the Views.
When I edit your home page, I see that user have assigned the content template "PAGE Block", so I set the content template to "None" for the home page.
Solution:
To get the product object based on the current post in the view's loop, I've added the following line of code as you can see with the above shortcode:
Problem:
The user is using the Event Tickets plugin to sell tickets for events(custom post type). He displays the event using a content template and he got the list of tickets duplicated several times on the page.
Solution:
The Event Tickets plugin is hooking into "the_content" to display the list of tickets.
Toolset replaces the results of "the_ticket" filter with the generated markup from a content template.
Because the user was using content templates inside of the Event content template, the list was displayed after each content template.
To workaround this, instead of including the child content template, or the body with a block, use the wpv-post-body shortcode with the suppress_fitlers argument.
Then, at the bottom of the content template, where we want to display the list of tickets, include an empty content template with a block.
Future versions of Toolset Blocks will allow a content template to be included as a block and will allow us to suppress the filters on it.
Problem:
The user has assigned a content template to a custom post, but the content does not get assigned to new posts.
Solution:
The content template was assigned to the post types archives instead of the post types. So, it will be used to display these posts on the archive pages if no archive template is used. Check this screenshot http://prntscr.com/ubzpos
You will need to assign it to the single pages instead of the archives.