davidR-12
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 |
---|---|---|---|---|---|
Posts not appearing in alphabetical order
Iniciado por: davidR-12 en: Toolset Professional Support |
2 | 9 | hace 5 años, 2 meses | ||
Relevanssi search view not working
Iniciado por: davidR-12
en: Toolset Professional Support
Problem: Solution: In this user's case the problem was that they were missing the appropriate query filter for the search. If you are experiencing this issue I would recommend not to copy and paste the search box from a different view but rather to click on the text search button to add it to each view individually. |
2 | 3 | hace 5 años, 3 meses | ||
What format does Types save dates in?
Iniciado por: davidR-12 en: Chat Support |
1 | 2 | hace 5 años, 7 meses | ||
Display child category terms in alphabetical order and then display any posts
Iniciado por: davidR-12 en: Toolset Professional Support |
2 | 6 | hace 5 años, 8 meses | ||
Views creating an insecure link on an HTTPS site
Iniciado por: davidR-12 en: Toolset Professional Support |
2 | 8 | hace 5 años, 9 meses | ||
Only one slider working on a page
Iniciado por: davidR-12 en: Toolset Professional Support |
2 | 8 | hace 5 años, 9 meses | ||
Repeatable group not showing up as an option to add to cred form
Iniciado por: davidR-12 en: Toolset Professional Support |
2 | 3 | hace 5 años, 9 meses | ||
Search by postcode
Iniciado por: davidR-12 en: Toolset Professional Support |
3 | 7 | hace 5 años, 10 meses | ||
Toolset forms many to many
Iniciado por: davidR-12 en: Toolset Professional Support |
2 | 5 | hace 5 años, 10 meses | ||
How to hide Beaver builder sections using conditional fields?
Iniciado por: davidR-12
en: Toolset Professional Support
Problem: In this ticket the user wanted a conditional beaver builder section. Solution: This can be achieved by following the instructions in the link below. |
2 | 3 | hace 6 años | ||
Certain custom fields not saving
Iniciado por: davidR-12
en: Toolset Professional Support
Problem: The issue here is that the custom field value is not saving if the user had a conditional for that field and then removed the conditional field that is required. Solution: I was able to identify this bug and submitted it to our development team to fix, however no fix has been published yet. |
3 | 13 | hace 6 años | ||
How to get view to appear on same line as other content?
Iniciado por: davidR-12
en: Toolset Professional Support
Problem: Solution: The code below should be able to assist you. add_filter( 'wpv_filter_wpv_view_shortcode_output', 'prefix_clean_view_output', 5, 2 ); function prefix_clean_view_output( $out, $id ) { if ( $id == '375' ) { $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 ); } } return $out; } |
2 | 5 | hace 6 años, 2 meses | ||
link appearing multiple times on frontend
Iniciado por: davidR-12
en: Toolset Professional Support
Problem: The issue here is that the user had this code here <a href="[wpv-post-url]"> <div class="search-resource-single"> <div class="search-resource-single-inner"> <div class="search-resource-single-inner-top"> [wpv-conditional if="( $(edd_price) gt '0' )"] <p class="search-resource-price-tag">[wpv-post-field name='edd_price']</p> [/wpv-conditional] [wpv-conditional if="( $(edd_price) eq '0' )"] <p class="search-resource-price-tag">Free</p> [/wpv-conditional] </div> <div class="search-resource-single-inner-bottom"> [wpv-view name="module-terms-view"] <h3 class="search-resource-single-title">[wpv-post-title]</h3> <p class="search-resource-single-age">[wpv-post-taxonomy type="age-category" separator=" "] <span class="search-resource-single-type"> [types field='resource-type'][/types]</span></p> </div> </div> </div> </a> However his link was being rendered multiple times even though it should only be there once. This was actually caused by the [wpv-post-taxonomy type="age-category" separator=" "] Shortcodes as it is rendering the taxonomy terms as links which breaks the wrapping a tag. To resolve this just change the format of the taxonomy output from a link to just the name. |
2 | 15 | hace 6 años, 2 meses | ||
Term custom fields not available for conditional tests
Iniciado por: davidR-12
en: Toolset Professional Support
Problem: Solution: For example: [wpv-conditional if="( '[types termmeta='module-partner-logo' output='raw' term_id='[wpv-taxonomy-archive info='id']'][/types]' ne '' )"] Your code goes here [/wpv-conditional] You can find the proposed solution, in this case, with the following reply: Relevant Documentation: |
2 | 5 | hace 6 años, 2 meses | ||
Taxonomy View rendered in PHP shows no results found
Iniciado por: davidR-12
en: Toolset Professional Support
Problem: I would like to use PHP to loop over all the terms assigned to a post and display some formatted text using a custom field applied to the term. Solution: Use the native WordPress method wp_get_post_terms to get all the terms associated with a specific post. Then use foreach to loop over the terms. Inside that loop, use the types_render_termmeta API to retrieve the custom field values and echo the formatted text string. $term_list_module = wp_get_post_terms($download->ID, 'download_category'); foreach( $term_list_module as $term ) { $module_color = types_render_termmeta( "module-colour", array( "term_id" => $term->term_id) ); echo "<span style='color:" . $module_color . ";'>".$term->name."</span>"; } Relevant Documentation: |
3 | 8 | hace 6 años, 2 meses |