tobiasB-4
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 |
---|---|---|---|---|---|
Whats forms text domain
Started by: tobiasB-4
in: Toolset Professional Support
Problem: I am trying to translate specific messages in the Toolset Forms plugin without using the WPML plugin, and I need help finding the correct text domain for gettext filter usage. Solution: Use the Toolset Forms plugin's dynamic text domain which depends on the ID of your form. For example, if the ID is 1553, the text domain would be "toolset-forms-1553". To find the ID for default forms like [wpv-forgot-password-form], check the same location where custom form IDs are listed, or use the WordPress "gettext" filter directly if you prefer not to use a text domain. |
2 | 5 | 7 months ago | ||
Stylesheet shop page
Started by: tobiasB-4 in: Toolset Professional Support |
2 | 4 | 7 months, 4 weeks ago | ||
Stylesheet on Shop page is broken
Started by: tobiasB-4 in: Toolset Professional Support |
2 | 6 | 8 months, 2 weeks ago | ||
Woocommerce email placeholders from custom fields
1
2
Started by: tobiasB-4 in: Toolset Professional Support |
2 | 19 | 10 months, 3 weeks ago | ||
I cant add a taxonomy filter in a view. Its not possible to hit "next" button
Started by: tobiasB-4 in: Toolset Professional Support |
2 | 3 | 11 months, 3 weeks ago | ||
Relevanssi and Toolset
Started by: tobiasB-4
in: Toolset Professional Support
Problem: Solution: |
2 | 5 | 3 years, 3 months ago | ||
Taxonomy term select
Started by: tobiasB-4 in: Toolset Professional Support |
2 | 4 | 3 years, 8 months ago | ||
Filter a View by terms applied the results of another View
Started by: tobiasB-4
in: Toolset Professional Support
Problem: I have a View of a CPT. There will only be 1 result in this View #1. I would like to filter View #2 by taxonomy, where the terms are the same as the terms applied to the results of View 1. Solution: [wpv-view name="view-2-slug" wpvbooktax="term-slug"] - Test by using a real term slug in the shortcode attribute, and be sure the View is showing the matching results add_filter( 'wpv_filter_wpv_view_shortcode_output', 'prefix_clean_view_output', 5, 2 ); function prefix_clean_view_output( $out, $id ) { $ids = array( 12345 ); if ( in_array( $id, $ids )) { $start = strpos( $out, '<!-- wpv-loop-start -->' ); if ( $start !== false && strrpos( $out, '<!-- wpv-loop-end -->', $start ) !== false ) { $start = $start + strlen( '<!-- wpv-loop-start -->' ); $out = substr( $out , $start ); $end = strrpos( $out, '<!-- wpv-loop-end -->' ); $out = substr( $out, 0, $end ); } else { $start = strpos( $out, '>' ); if ( $start !== false) { $out = substr( $out, $start + 1 ); $end = strpos( $out, '<' ); $out = trim(substr( $out, 0, $end )); } } } return $out; } Change "12345" to be the numeric ID of View #3. This code strips the unnecessary markup from the results of View #3 so the slugs can be read by the Query Filter of View #2. Relevant Documentation: |
2 | 7 | 6 years, 6 months ago |