chantalM
Admite hilos creados en los últimos 30 días: 0
Debates favoritos del foro
Este usuario no tiene debates favoritos.
Temas del foro creados
Status | Debate | Supporter | Voces | Mensajes | Caducidad |
---|---|---|---|---|---|
Help with writing a conditional to hide a section of text
Iniciado por: chantalM
en: Toolset Professional Support
Problem: Solution: It should be noted that Toolset date fields are stored as timestamps so this will be an exact comparison depending on the precision of the date field. What I mean is that if you set the field to datetime then the dates and the times of both fields must match exactly. Once you can confirm this then you will be able to compare them below using the timestamp. [wpv-conditional if="( $(date-aa) eq $(date-bb) )"] <!-- content to conditionally show goes here --> [/wpv-conditional] Should it be a case where the fields have the same date but different times then you can use the format below. [php][wpv-conditional if="( '[types field='date-aa' format='Y m j'][/types]' eq '[types field='date-bb' format='Y m j'][/types]' )"] [/wpv-conditional] [php] This will do a comparison based on the human readable date only. |
|
2 | 3 | hace 3 años, 6 meses | |
Is there a way to delete multiple entries at once?
Iniciado por: chantalM en: Toolset Professional Support |
|
2 | 2 | hace 3 años, 7 meses | |
Can’t get dynamic aspect to work in shortcode
Iniciado por: chantalM
en: Toolset Professional Support
Problem: Solution: Can you please try to follow the following steps: You can find proposed solution, in this case with the following reply: Relevant Documentation: |
|
2 | 3 | hace 3 años, 7 meses | |
Responsive Column Grid in View
Iniciado por: chantalM
en: Toolset Professional Support
Problem: I enabled Bootstrap grid and managed to create a 3 column grid. How do I make it 2 column on tablet? Solution: You can follow Bootstrap to setup the grid CSS class names, for example: https://toolset.com/forums/topic/responsive-column-grid-in-view/#post-2229653 Relevant Documentation: |
|
2 | 11 | hace 3 años, 7 meses | |
How to display content based on intermediary post type custom field
Iniciado por: chantalM
en: Toolset Professional Support
Problem: Solution: [types field='your-field' output='raw' item='@post-venue.intermediary'][/types] To use the intermediary post type custom field with [wpv-conditional] shortcode, You can find proposed solution, in this case with the following reply: Relevant Documentation: |
|
2 | 7 | hace 3 años, 8 meses | |
Ordering a Select List in Alphabetical Order on the Post Type/Edit Screen
Iniciado por: chantalM
en: Toolset Professional Support
Problem: The customer asked how the 'wpt_field_options' filter can be used to dynamically generate a long and alphabetically ordered list of options for a select type field. Solution: Shared some details and a code snippet example to show how this filter can be used to generate options from a custom post type: add_filter( 'wpt_field_options', 'func_to_dynamically_populate_shop_locations', 10, 3); function func_to_dynamically_populate_shop_locations( $options, $title, $type ){ switch( $title ){ case 'Book Shop Locations': $options = array(); // add first empty value $options[] = array('#value' => '', '#title' => '---'); // get all tmna-location post items $args = array( 'post_type' => 'shop-location', 'posts_per_page' => -1, 'post_status' => 'publish','orderby' => 'title' ); $results = get_posts( $args ); if ( $results ) { foreach ( $results as $post ) { $options[] = array('#value' => $post->ID, '#title' => $post->post_title); } } break; } return $options; } Relevant Documentation: https://toolset.com/documentation/programmer-reference/types-api-filters/#wpt_field_options |
|
2 | 7 | hace 3 años, 8 meses | |
Display all intermediary data on site in one View
1
2
Iniciado por: chantalM en: Toolset Professional Support |
|
3 | 20 | hace 3 años, 9 meses | |
Display Categories Within A View That Uses Intermediary Posts
1
2
Iniciado por: chantalM en: Toolset Professional Support |
|
2 | 22 | hace 3 años, 9 meses | |
Hide a View using old-fashioned Views (not conditional blocks)
Iniciado por: chantalM en: Toolset Professional Support |
|
2 | 5 | hace 3 años, 10 meses | |
Display intermediary post data from a specific post
1
2
Iniciado por: chantalM en: Toolset Professional Support |
|
2 | 18 | hace 4 años, 3 meses | |
Toolset Blocks – When activated, plugin does not display post content
Iniciado por: chantalM
en: Toolset Professional Support
Problem: Solution: Logging in and checking this user's site it turns out that they actually have an empty content template assigned to their posts. Deleting this empty template resolved the issue. |
|
2 | 3 | hace 4 años, 6 meses |