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 3 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 3 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 3 mois | |
Update of Types fails: "Download failed. (Forbidden)"
Commencé par : Anthony in: Toolset Professional Support |
|
2 | 3 | Il y a 4 années et 5 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 6 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 7 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 10 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 2 mois |