|
|
image sizes
Started by: szilardN
in: Toolset Professional Support
|
|
2 |
4 |
4 years, 11 months ago
Waqar
|
|
|
Slider images
Started by: Puntorosso
in: Toolset Professional Support
|
|
2 |
5 |
4 years, 11 months ago
Puntorosso
|
|
|
Query filter: Posts modified within the last 4 weeks
Started by: matthiasK-3
in: Toolset Professional Support
Quick solution available
Problem:
The issue here is that the user wanted to query their posts that were modified in the last 4 weeks using views.
Solution:
In order to do this you will need to use the view wpv_filter_query hook.
Have a look at the hook example below.
function tssupp_filter_query($view_args, $view_settings, $view_id)
{
$view_ids = array( 123, 456 ); // Edit for View IDs to apply to
if ( in_array($view_id, $view_ids) ) {
$view_args['date_query'] = array(
'after' => '4 weeks ago',
'column' => 'post_modified'
);
}
return $view_args;
}
add_filter('wpv_filter_query', 'tssupp_filter_query', 101, 3);
Add this to your Toolset custom code section in Toolset->Settings -> Custom Code and ensure that you've clicked on activate after saving.
You will need to change the 123,456 to the ID of your view that you want this hook to apply to.
|
|
2 |
3 |
4 years, 11 months ago
matthiasK-3
|
|
|
Social Share Icons Not Showing
Started by: DaveR6137
in: Toolset Professional Support
|
|
2 |
8 |
4 years, 11 months ago
DaveR6137
|
|
|
Conflict between WP File Manager and Blocks
Started by: umbertoZ
in: Toolset Professional Support
|
|
2 |
6 |
4 years, 11 months ago
umbertoZ
|
|
|
Form email notification logic options
Started by: leilaG
in: Toolset Professional Support
|
|
2 |
3 |
4 years, 11 months ago
leilaG
|
|
|
Detailed changelog
Started by: dimitrisb-2
in: Toolset Professional Support
|
|
2 |
3 |
4 years, 11 months ago
dimitrisb-2
|
|
|
All values instead of only active values show up
Started by: matthiasV-2
in: Toolset Professional Support
Quick solution available
Problem:
All values instead of only active values show up
Solution:
This issue is fixed with Toolset Blocks 1.4.1.
Relevant Documentation:
|
|
2 |
6 |
4 years, 11 months ago
matthiasV-2
|
|
|
Elementor integration not working, Toolset keys empty
Started by: karstenL
in: Toolset Professional Support
|
|
2 |
14 |
4 years, 11 months ago
karstenL
|
|
|
Problème d'affichage des résultats filtre paramétrique d'une vue
Started by: karimS
in: Toolset Professional Support
|
|
2 |
4 |
4 years, 11 months ago
Minesh
|
|
|
The WooCommerce shop page is is hanging
Started by: adriS
in: Toolset Professional Support
Quick solution available
|
|
2 |
3 |
4 years, 11 months ago
adriS
|
|
|
Youtube in conditional block
Started by: Puntorosso
in: Toolset Professional Support
|
|
2 |
5 |
4 years, 11 months ago
Puntorosso
|
|
|
View queries using space characters
Started by: johnG-18
in: Toolset Professional Support
|
|
2 |
5 |
4 years, 11 months ago
Christian Cox
|
|
|
I am using x pro theme when I install blocks it overrides the theme content
Started by: GrahamS4078
in: Toolset Professional Support
|
|
2 |
2 |
4 years, 11 months ago
Christian Cox
|
|
|
When editing page, it auto refreshes to 'Edit Layout'
Started by: bryanS-5
in: Toolset Professional Support
|
|
2 |
2 |
4 years, 11 months ago
Christian Cox
|