Anthony
Fils de soutien créés au cours des 30 derniers jours : 0
Sujets de forum favoris
This user has no favorite topics.
Sujets de forum créés
Status | Sujet | Supporter | Voix | Publications | Nouveauté |
---|---|---|---|---|---|
View query filter for whether an image custom field has content
Commencé par : 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 | Il y a 4 années et 1 mois | |
Where can I download the Modules Manager plugin?
Commencé par : Anthony
in: Toolset Professional Support
Problem: Solution: And here is a direct URL https://toolset.com/download/toolset-module-manager/ |
|
2 | 7 | Il y a 4 années et 2 mois | |
I want to import large amounts of formatted text into custom fields in 200 posts
Commencé par : Anthony in: Toolset Professional Support |
|
2 | 5 | Il y a 4 années et 2 mois | |
Update of Types fails: "Download failed. (Forbidden)"
Commencé par : Anthony in: Toolset Professional Support |
|
2 | 3 | Il y a 4 années et 4 mois | |
Converting Reusable Block back to regular blocks stalls
Commencé par : 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 | Il y a 4 années et 4 mois | |
CRED edit form throws an error on Submit
Commencé par : Anthony
in: Toolset Professional Support
Problem: Solution: |
|
2 | 8 | Il y a 4 années et 5 mois | |
Unable to install Views or Blocks – get message: "Download failed. (Forbidden)"
Commencé par : Anthony in: Toolset Professional Support |
|
2 | 2 | Il y a 4 années et 8 mois | |
Conditional display of a View inside a Container
Commencé par : Anthony in: Toolset Professional Support |
|
2 | 5 | Il y a 5 années et 1 mois | |
How to import RFG (repeating field group) data
Commencé par : Anthony in: Toolset Professional Support |
|
2 | 9 | Il y a 5 années et 1 mois | |
How to add a post reference field to the WooCommerce Cart
Commencé par : Anthony in: Toolset Professional Support |
|
2 | 3 | Il y a 5 années et 2 mois | |
WooCommerce Product Bundles extension Add-to-Cart and Toolset custom field
Commencé par : 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 | Il y a 5 années et 2 mois | |
Relationship between posts from different categories of WooCommerce Product CPT
Commencé par : Anthony in: Toolset Professional Support |
|
2 | 8 | Il y a 5 années et 2 mois | |
No list of Views on Dashboard
Commencé par : Anthony in: Toolset Professional Support |
|
2 | 3 | Il y a 5 années et 2 mois | |
WooCommerce – different Content Templates for different Product Categories
Commencé par : 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 | Il y a 5 années et 2 mois | |
missing default archive .php file and create-archive button on Toolset dashboard
Commencé par : Anthony in: Toolset Professional Support |
|
2 | 2 | Il y a 5 années et 3 mois |