Anthony
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 |
---|---|---|---|---|---|
View query filter for whether an image custom field has content
Started by: Anthony
in: Toolset Professional Support
Problem: The issue here is that the user wanted to filter their view with a query filter to not include posts where the image custom field is empty. Solution: This can be done with the hook below. //Return only products with banner images add_filter( 'wpv_filter_query', 'filter_empty_banners', 99, 3 ); function filter_empty_banners( $query_args,$view_settings ,$view_id ) { if ( $view_id == 44576) { $query_args['meta_query'] = array( array( 'key' => 'wpcf-banner', 'value' => '', 'compare' => '!=' ) ); } return $query_args; } Add the above to your Toolset custom code section in Toolset -> Custom Code and activate it. You will need to change the 44576 to your view's id as well as the wpcf-banner to the slug of your image field keeping the wpcf- prefix. |
2 | 5 | 3 years, 9 months ago | ||
Where can I download the Modules Manager plugin?
Started by: Anthony
in: Toolset Professional Support
Problem: Solution: And here is a direct URL https://toolset.com/download/toolset-module-manager/ |
2 | 7 | 3 years, 9 months ago | ||
I want to import large amounts of formatted text into custom fields in 200 posts
Started by: Anthony in: Toolset Professional Support |
2 | 5 | 3 years, 10 months ago | ||
Update of Types fails: "Download failed. (Forbidden)"
Started by: Anthony in: Toolset Professional Support |
2 | 3 | 4 years ago | ||
Converting Reusable Block back to regular blocks stalls
Started by: Anthony
in: Toolset Professional Support
Problem: Solution: I won't recommend making a view reusable. It is already reusable, by design. But, if you need a similar view with slight updates, you will have to create it from scratch. |
2 | 4 | 4 years ago | ||
CRED edit form throws an error on Submit
Started by: Anthony
in: Toolset Professional Support
Problem: Solution: |
2 | 8 | 4 years, 1 month ago | ||
Unable to install Views or Blocks – get message: "Download failed. (Forbidden)"
Started by: Anthony in: Toolset Professional Support |
2 | 2 | 4 years, 4 months ago | ||
Conditional display of a View inside a Container
Started by: Anthony in: Toolset Professional Support |
2 | 5 | 4 years, 9 months ago | ||
How to import RFG (repeating field group) data
Started by: Anthony in: Toolset Professional Support |
2 | 9 | 4 years, 9 months ago | ||
How to add a post reference field to the WooCommerce Cart
Started by: Anthony in: Toolset Professional Support |
2 | 3 | 4 years, 9 months ago | ||
WooCommerce Product Bundles extension Add-to-Cart and Toolset custom field
Started by: Anthony
in: Toolset Professional Support
Problem: I want to display an audio player using an MP3 I have stored in a Types custom audio field. I'm using a Product Bundle extension and I'd like to replace some of their text output with this MP3 player. Solution: I can show you how to display an audio player, but replacing some of a 3rd-party plugin's output may require the assistance of the support team for that 3rd-party plugin. In general, you would use the Types field API to display a MP3 player loaded with the MP3 from a custom audio field. An example showing how to display a basic player with 'autoplay' set to 'off': echo( types_render_field('your-field-slug', array( 'autoplay' => 'on' ) ) ); Relevant Documentation: |
2 | 4 | 4 years, 10 months ago | ||
Relationship between posts from different categories of WooCommerce Product CPT
Started by: Anthony in: Toolset Professional Support |
2 | 8 | 4 years, 10 months ago | ||
No list of Views on Dashboard
Started by: Anthony in: Toolset Professional Support |
2 | 3 | 4 years, 10 months ago | ||
WooCommerce – different Content Templates for different Product Categories
Started by: Anthony
in: Toolset Professional Support
Problem: I would like to apply different Content Templates to products in different categories. Solution: You can use the wpv_filter_force_template API to programmatically set the template applied to each archive page. This will override any selections for archives made in wp-admin. Relevant Documentation: https://toolset.com/documentation/programmer-reference/views-filters/#wpv_filter_force_template |
2 | 10 | 4 years, 10 months ago | ||
missing default archive .php file and create-archive button on Toolset dashboard
Started by: Anthony in: Toolset Professional Support |
2 | 2 | 4 years, 11 months ago |