Home › Topic Tag: Content Templates
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.
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
repeating image problem when higher count was there
Started by: thomasB-2 in: Toolset Professional Support |
2 | 15 | 7 years, 2 months ago | ||
Using Visual Editor in Content Template
Started by: viktorI
in: Toolset Professional Support
Problem: Solution: |
2 | 3 | 7 years, 2 months ago | ||
File extension in conditional
Started by: Rostislav Avtodiychuk
in: Toolset Professional Support
Problem: I would like to show custom field images at different sizes depending on their file extension. Solution: There's not an easy way to do this in Toolset, so you must add a custom shortcode to functions.php: // return the extension of a custom file URL (everything after last ".") add_shortcode( 'get_file_ext', 'get_file_ext_func'); function get_file_ext_func($atts) { $urls = $atts['file_url']; $fileparts = explode('.', $urls); return end($fileparts); } Next, register this shortcode to be used as a 3rd party shortcode argument by going to Toolset > Settings > Front-end content and typing "get_file_ext" in the 3rd party shortcode arguments area. Then you can use the shortcode do build a conditional: [wpv-conditional if="( '[get_file_ext file_url='[types field='your-img-slug' separator=', ' output='raw'][/types]']' eq 'jpg' )"] [types field='indexed' alt='%%ALT%%' title='%%TITLE%%' size='medium' align='none' resize='proportional' separator=', '][/types] [/wpv-conditional] [wpv-conditional if="( '[get_file_ext file_url='[types field='your-img-slug' separator=', ' output='raw'][/types]']' eq 'gif' )"] [types field='indexed' alt='%%ALT%%' title='%%TITLE%%' size='full' align='none' resize='proportional' separator=', '][/types] [/wpv-conditional] Relevant Documentation: |
2 | 3 | 7 years, 2 months ago | ||
Making Image Gallery display with Light Box
Started by: theW in: Toolset Professional Support |
2 | 7 | 7 years, 2 months ago | ||
Optimising Toolset page load times
Started by: guyA-2 in: Toolset Professional Support |
2 | 6 | 7 years, 2 months ago | ||
Display result of wp-view in one line in template
Started by: karoM-2
in: Toolset Professional Support
Problem: Solution: .inline-content p { display:inline !important; } 2. Added Content Template content like this: <div class="inline-content"> [wpv-post-link] was born in: [wpv-view name="testartistlocation"] </div> |
3 | 13 | 7 years, 2 months ago | ||
Setting a Custom Order that every 3rd Product is a Sold Product
Started by: johnH-21 in: Toolset Professional Support |
2 | 12 | 7 years, 2 months ago | ||
Hidden items are being shown on results page when clicking a taxomy
Started by: veronicaG-2 in: Toolset Professional Support |
2 | 6 | 7 years, 2 months ago | ||
Site migration issues
Started by: guyA-2
in: Toolset Professional Support
Problem: Solution: For Toolset content: Please go to Toolset >> Export / Import >> Relevant Documentation: |
2 | 9 | 7 years, 2 months ago | ||
Default template
Started by: alexanderA-7
in: Toolset Professional Support
Problem: The issue here was that the user wanted to use bootstrap and views to create a list of his posts. Solution: |
2 | 5 | 7 years, 2 months ago | ||
I'm using Generatepress theme and want my custom post types to match the theme
Started by: Tony Stirrup in: Types Community Support |
2 | 3 | 7 years, 2 months ago | ||
Comments closed despite being enabled in settings and post edit screen
Started by: markL
in: Toolset Professional Support
Problem: Solution: Relevant Documentation: |
2 | 3 | 7 years, 2 months ago | ||
Display SKU for variable products
Started by: Pat
in: Toolset Professional Support
Problem: Solution: You can find the proposed solution with the following reply: Relevant Documentation: |
2 | 7 | 7 years, 2 months ago | ||
Cant assign template to new post type
Started by: denis in: Toolset Professional Support |
2 | 12 | 7 years, 2 months ago | ||
Datepicker css
Started by: arnoldd
in: Toolset Professional Support
Problem: I'm showing two datepicker fields in my custom search filter. I would like to display a calendar icon next to each text input, and when the user clicks the input I would like the relevant calendar to appear. I added an nbsp to the span.wpv_date_input tag to make it look like a text input field. Now, when the user clicks the input, the datepicker appears then disappears immediately. Solution: |
2 | 7 | 7 years, 2 months ago |