WillL606
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 |
---|---|---|---|---|---|
Split: Strange search results – how to build custom search search with result archive
Started by: WillL606
in: Toolset Professional Support
Problem: Solution: It will give you the option to create a normal archive or archive with a custom search. Relevant Documentation: |
2 | 3 | 6 years, 4 months ago | ||
Strange search results
Started by: WillL606
in: Toolset Professional Support
Problem: Relevant Documentation: |
2 | 7 | 6 years, 4 months ago | ||
Formatting Custom Types in Search results (Archive)
Started by: WillL606 in: Toolset Professional Support |
2 | 3 | 6 years, 4 months ago | ||
Post Type displaying unwanted excerpt from more tag instead of just content
Started by: WillL606
in: Toolset Professional Support
Problem: Solution: You can find proposed solution, in this case, with the following reply: Relevant Documentation: |
2 | 8 | 6 years, 6 months ago | ||
Views not working in certain cases
Started by: WillL606
in: Toolset Professional Support
Problem: Solution: You can find proposed solution, in this case, with the following reply: Relevant Documentation: |
2 | 7 | 6 years, 6 months ago | ||
View conditional not working
Started by: WillL606
in: Toolset Professional Support
Problem: Solution: For example: [wpv-conditional if="( '[wpv-post-field name='wpcf-riposte-to']' gt '0' ) AND ( '[wpv-post-field name='wpcf-riposte-to']' ne '' )"] [wpv-post-body view_template="Loop item in riPOSTe to"] [/wpv-conditional] You can find proposed solution, in this case, with the following reply: Relevant Documentation: |
2 | 7 | 6 years, 7 months ago | ||
Change CSS of sidebar tabs based on value of View
Started by: WillL606
in: Toolset Professional Support
Problem: I would like to apply different CSS classes to some content depending on the value of a View. Solution: Use conditional HTML to test the output of a View and assign different CSS classes to content. By default, a View will produce extra markup and text, so you must add some custom code to strip that extra text. In your content: [wpv-conditional if="('[wpv-view name="thread-text-only"]' eq 'fictions present' )"] <div class="fp"> [/wpv-conditional] In your functions.php file: add_filter( 'wpv_filter_wpv_view_shortcode_output', 'prefix_clean_view_output', 5, 2 ); function prefix_clean_view_output( $out, $id ) { $ids = array( 5298 ); 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; } In the View's Loop Output editor: [wpv-layout-start][wpv-items-found]<!-- wpv-loop-start --><wpv-loop>[wpv-post-title]</wpv-loop><!-- wpv-loop-end -->[/wpv-items-found][wpv-no-items-found]<strong>[wpml-string context="wpv-views"]No items found[/wpml-string]</strong>[/wpv-no-items-found][wpv-layout-end] |
3 | 7 | 6 years, 7 months ago | ||
Display of a Custom Field not working
Started by: WillL606
in: Toolset Professional Support
Problem: Solution: Relevant Documentation: |
2 | 10 | 6 years, 7 months ago | ||
Custom Field (Post Reference) default value
Started by: WillL606
in: Toolset Professional Support
Problem: Solution: You can find proposed solution, in this case, with the following reply: Relevant Documentation: |
2 | 13 | 6 years, 7 months ago | ||
Can’t comma separate list of Views if there are more than one
Started by: WillL606
in: Toolset Professional Support
Problem: Solution: You can find proposed solution, in this case, with the following reply: Relevant Documentation: |
2 | 5 | 6 years, 7 months ago | ||
Query Filter on A View
Started by: WillL606 in: Toolset Professional Support |
2 | 6 | 6 years, 8 months ago | ||
List other posts by the same author of current post
Started by: WillL606
in: Toolset Professional Support
Problem: Solution: You can find proposed solution, in this case, with the following reply: Relevant Documentation: |
2 | 5 | 6 years, 8 months ago | ||
Can't create a Template for Custom Type
Started by: WillL606 in: Toolset Professional Support |
2 | 10 | 6 years, 8 months ago |