larryB-3
In den letzten 30 Tagen erstellte Support-Threads: 0
Lieblings-Forenthemen
This user has no favorite topics.
Forum Topics Created
Status | Thema | Supporter | Stimmen | Artikel | Aktualität |
---|---|---|---|---|---|
Showing data from a related post that is tied via other relationships
Gestartet von: larryB-3
in: Toolset Professional Support
Problem: I want to create a layout for a CPT for Suspensions. In the layout I want to show some data from related CPTs and their related CPTs. Suspensions have a relationship to Access Cards. From here I have figured out how to get the Access Card # which is the title of the Access Card CPT. Access cards have a relationship to Homeowners. From here I have figured out how to the Homeowners name which is the title if the Homeowner CPT. Solution: It needs nested view, see below document. Relevant Documentation: |
|
2 | 8 | vor 5 Jahren, 8 Monaten | |
Calculate a column total from a view
Gestartet von: larryB-3 in: Toolset Professional Support |
|
2 | 3 | vor 5 Jahren, 9 Monaten | |
How do I color code numeric values within a View?
Gestartet von: larryB-3
in: Toolset Professional Support
Problem: I have a custom field that holds numeric data. When I display that custom field on the front-end of the site, I would like to use different colors to represent different ranges - values less than 1,000 show green font, values between 1,001 to 1,499 show in yellow, and values over 1,500 show red. Solution: Use conditional HTML to display the field with different CSS classes based on the field value. For example: [wpv-conditional if="( $(pond-1-tds-mg-l) lt '1001')"] <td class="your-green-class">[types field="pond-1-tds-mg-l" output="raw"][/types]</td> [/wpv-conditional] [wpv-conditional if="( $(pond-1-tds-mg-l) gte '1001' AND $(pond-1-tds-mg-l) lte '1500' )"] <td class="your-yellow-class">[types field="pond-1-tds-mg-l" output="raw"][/types]</td> [/wpv-conditional] [wpv-conditional if="( $(pond-1-tds-mg-l) gt '1500' )"] <td class="your-red-class">[types field="pond-1-tds-mg-l" output="raw"][/types]</td> [/wpv-conditional] ... and so on ... Relevant Documentation: |
|
2 | 3 | vor 6 Jahren | |
Can you exclude a CPT from the default wordpress search?
Gestartet von: larryB-3
in: Toolset Professional Support
Problem: Solution: |
|
2 | 3 | vor 6 Jahren | |
Can you hide Content Template and Layout Template Metaboxes for non-admins?
Gestartet von: larryB-3
in: Toolset Professional Support
Problem: I would like to hide the Content Template and Template Layout metaboxes from certain role Users. Solution: It's not possible through wp-admin, but you could use a custom code snippet to hide these boxes. add_action( 'admin_head', 'wpv_custom_admin_head', 20); function wpv_custom_admin_head() { if ( ! current_user_can( 'delete_others_pages' ) ) { // Only run if the user is an Author or lower. $slugs = array( 'post', 'page', 'custom-cpt-slug', ); remove_meta_box( 'wpddl_template', $slugs, 'side' ); remove_meta_box( 'views_template', $slugs, 'side' ); } } Modify the $slugs array to include a comma-separated list of each post type slug where you want to hide the metaboxes. Relevant Documentation: |
|
2 | 3 | vor 6 Jahren, 1 Monat | |
Did this ever get natively supported? Create slider from repeatable images
Gestartet von: larryB-3
in: Toolset Professional Support
Problem: The issue here is that the user wanted to know if there was Native support for Sliders with Repeatable field images. Solution: Unfortunately no this is not possible. The best way to do it by using the solution below. |
|
2 | 3 | vor 6 Jahren, 2 Monaten | |
Since last update – checkbox fields no longer working as expected
Gestartet von: larryB-3 in: Toolset Professional Support |
2 | 3 | vor 6 Jahren, 4 Monaten | ||
Back-end Publishing and Editing of CPTs is really slow
Gestartet von: larryB-3 in: Toolset Professional Support |
|
2 | 2 | vor 6 Jahren, 6 Monaten |