chantalM
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 |
---|---|---|---|---|---|
Help with writing a conditional to hide a section of text
Gestartet von: chantalM
in: 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 | vor 3 Jahre, 6 Monaten | |
Is there a way to delete multiple entries at once?
Gestartet von: chantalM in: Toolset Professional Support |
|
2 | 2 | vor 3 Jahre, 7 Monaten | |
Can’t get dynamic aspect to work in shortcode
Gestartet von: chantalM
in: 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 | vor 3 Jahre, 7 Monaten | |
Responsive Column Grid in View
Gestartet von: chantalM
in: 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 | vor 3 Jahre, 7 Monaten | |
How to display content based on intermediary post type custom field
Gestartet von: chantalM
in: 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 | vor 3 Jahre, 8 Monaten | |
Ordering a Select List in Alphabetical Order on the Post Type/Edit Screen
Gestartet von: chantalM
in: 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 | vor 3 Jahre, 8 Monaten | |
Display all intermediary data on site in one View
1
2
Gestartet von: chantalM in: Toolset Professional Support |
|
3 | 20 | vor 3 Jahre, 9 Monaten | |
Display Categories Within A View That Uses Intermediary Posts
1
2
Gestartet von: chantalM in: Toolset Professional Support |
|
2 | 22 | vor 3 Jahre, 10 Monaten | |
Hide a View using old-fashioned Views (not conditional blocks)
Gestartet von: chantalM in: Toolset Professional Support |
|
2 | 5 | vor 3 Jahre, 10 Monaten | |
Display intermediary post data from a specific post
1
2
Gestartet von: chantalM in: Toolset Professional Support |
|
2 | 18 | vor 4 Jahre, 3 Monaten | |
Toolset Blocks – When activated, plugin does not display post content
Gestartet von: chantalM
in: 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 | vor 4 Jahre, 6 Monaten |