michaelA-13
Support threads created in the last 30 days: 0
Favorite Forum Topics
This user has no favorite topics.
Forum Topics Created
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
Display and Evaluate Custom User Meta
Started by: michaelA-13 in: Toolset Professional Support |
2 | 2 | 5 years, 5 months ago | ||
Duplicate Content of CPT
Started by: michaelA-13 in: Toolset Professional Support |
2 | 2 | 5 years, 10 months ago | ||
Bootstrap Tooltip data-content attribute not accepting [wpv-post-body]
Started by: michaelA-13 in: Toolset Professional Support |
2 | 12 | 5 years, 10 months ago | ||
Issues with Popupmaker Plugin
Started by: michaelA-13 in: Toolset Professional Support |
2 | 11 | 5 years, 11 months ago | ||
A – hyphen placed between shortcodes becomes an – en-dash in PopupMaker
Started by: michaelA-13 in: Toolset Professional Support |
2 | 5 | 5 years, 11 months ago | ||
Split: Issues with Popupmaker Plugin – check conditional field
Started by: michaelA-13 in: Toolset Professional Support |
2 | 4 | 5 years, 11 months ago | ||
Split: Font Awesome icons not working after updating to Types 3.x
Started by: michaelA-13
in: Toolset Professional Support
Problem: Solution: It dequeues/deregisters the existing font awesome stylesheets (where both Toolset and another plugin or theme have registered different versions with the same handle), so that you can re-register the stylesheet for Font Awesome version 5. You'll need to locate the source of the font awesome stylesheet you want to use (e.g. from your theme) and edit the code below to use that source. function fix_different_version_same_handle_script() { //Dequeue/Deregister any conflicting script wp_dequeue_style( 'font-awesome' ); wp_deregister_style( 'font-awesome' ); //Re-enqueue the desired script with a different handle - change $src adequately) wp_enqueue_style('font-awesome-compatible', get_template_directory_uri() . '/assets/font-awesome-v5/css/fontawesome-all' . $min . '.css'); } add_action( 'wp_enqueue_scripts', 'fix_different_version_same_handle_script', 20 ); |
2 | 5 | 6 years, 3 months ago | ||
CSS Loading Issue with Views active.
Started by: michaelA-13
in: Toolset Professional Support
Problem: Solution: |
2 | 12 | 6 years, 3 months ago | ||
Dynamic CSS & JS not working on Avada theme when Toolset Views is active.
Started by: michaelA-13 in: Toolset Professional Support |
1 | 2 | 6 years, 3 months ago | ||
Conditional Display depending on Checkbox
Started by: michaelA-13
in: Toolset Professional Support
Problem: I would like to use conditional HTML that displays depending on a checkbox. Solution: Use the following conditional syntax. |
3 | 15 | 6 years, 7 months ago | ||
How can I add Custom JS Code to a View, when I use AJAX Search?
Started by: michaelA-13
in: Toolset Professional Support
Problem I crafted some Custom JS Code and added it to the Custom Filter JS Section. Solution You can add your code at specific moments of the AJAX process. Relevant Documentationhttps://toolset.com/documentation/user-guides/adding-custom-javascript-views/ |
2 | 16 | 6 years, 9 months ago | ||
Show Events that overlap with current date
Started by: michaelA-13
in: Toolset Professional Support
Problem: I would like to filter a View of Locations using start and end date custom fields in a child Event post, so that the View shows only Locations having Events that overlap with today's date. In other words, show only Events occurring today. Solution: There's not an easy way to filter a View of post type A by custom fields in post type B, even if a parent/child relationship exists. I can offer some assistance with a View showing Events whose start and end dates intersect with a User-selected date. Then I can explain your options for getting Location information from those matching Events. [wpv-control-postmeta field="wpcf-start" default_date="TODAY()" url_param="wpv-wpcf-start"] - In the Loop Output area, display the title, start, and end date of each matching Event for testing purposes. add_filter( 'wpv_filter_query', 'default_today_inclusive', 10, 3 ); function default_today_inclusive ( $query, $view_settings, $view_id ) { if( $view_id == 12345 ) { // defaults $selected_start = strtotime('0:00:00'); $selected_end = strtotime('23:59:59'); // if user selected a start date, update the default selected values accordingly, and unset existing start meta query if ( isset($query['meta_query']) ) { foreach($query['meta_query'] as $key => $meta) { if(isset($meta['key']) && $meta['key'] == 'wpcf-start'){ // get timestamps that represents 12:00 am and 11:59:59 pm on the event start date $selected_start = strtotime(date('m/d/Y', $meta['value']) . ' 0:00:00'); $selected_end = strtotime(date('m/d/Y', $meta['value']) . ' 23:59:59'); unset($query['meta_query'][$key]); } } } // find events with start date less than or equal to selected date // and end date greater than or equal to selected date $args = array( 'relation' => 'AND', array( 'key' => 'wpcf-start', 'value' => $selected_end, 'compare' => '<=', 'type' => 'numeric' ), array( 'key' => 'wpcf-end', 'value' => $selected_start, 'compare' => '>=', 'type' => 'numeric' ) ); // add these arguments to your meta query $query['meta_query'] = isset($query['meta_query']) ? $query['meta_query'] : []; $query['meta_query'][] = $args; } return $query; } - Replace 12345 with the numeric ID of this View. If your field slugs are not "start" and "end", then the keys "wpcf-start" and "wpcf-end" should be updated as well. Add the "wpcf-" prefixes here. Relevant Documentation: |
3 | 12 | 6 years, 9 months ago | ||
Disable Post Meta on Layout with Avada
Started by: michaelA-13
in: Toolset Professional Support
Problem: Solution: In the meantime you would need to use CSS to hide this section. Relevant Documentation: |
2 | 3 | 6 years, 9 months ago | ||
Display of hierarchical taxonomies
Started by: michaelA-13 in: Toolset Professional Support |
2 | 4 | 7 years, 3 months ago | ||
Multi User Notification
Started by: michaelA-13 in: Toolset Professional Support |
2 | 2 | 7 years, 3 months ago |