Filtering Views Query by Author
Started by: Aaron Zame
in: Toolset Professional Support
2
3
4 years, 12 months ago
Aaron Zame
The content in my repeatable field groups are not showing up
Started by: StanleyT8485
in: Toolset Professional Support
2
4
4 years, 12 months ago
Minesh
Can't add any more custom fields
Started by: johnC-6
in: Toolset Professional Support
2
2
4 years, 12 months ago
Minesh
unable to enter site key
Started by: ericaG
in: Toolset Professional Support
2
2
4 years, 12 months ago
Waqar
Question about using {!{cred_form}!} with Page Builders..
Started by: Gerard
in: Toolset Professional Support
2
3
4 years, 12 months ago
Gerard
Slider images
Started by: Puntorosso
in: Toolset Professional Support
2
5
4 years, 12 months ago
Puntorosso
Elementor template & Toolset integration
Started by: stephaneR-2
in: Toolset Professional Support
Quick solution available
2
4
4 years, 12 months ago
Shane
Update Types from 3.3.10 to 3.4.7
Started by: danielC-16
in: Toolset Professional Support
2
12
4 years, 12 months ago
danielC-16
Is there a way to mke a many-to-any relationship field required?
Started by: wimD-2
in: Toolset Professional Support
Quick solution available
Problem:
The issue here is that the user wanted to make the relationship field Mandatory, so when a user is creating a post they have to connect it to another post in a relationship.
Solution:
Unfortunately this is not possible to do unless some form of custom code is used to check to see if the post is being submitted with the relationship field filled.
2
5
4 years, 12 months ago
wimD-2
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, 12 months ago
matthiasK-3
Default value on a Select field
Started by: Puntorosso
in: Toolset Professional Support
2
3
4 years, 12 months ago
Puntorosso
Search for CPT in admin shows Posts insteads
Started by: Puntorosso
in: Toolset Professional Support
Quick solution available
Problem: I have a custom post type created by Types. When I visit the CPT dashboard and perform a search, I see results from another post type appear.
Solution: Disable custom code that is interfering with search.
2
3
4 years, 12 months ago
Puntorosso
How to delete child post related to parent when use cred-delete-post
Started by: Edward
in: Toolset Professional Support
1
2
4 years, 12 months ago
Edward
URL with dynamic parameter – mail address field from related post
Started by: michaelG-24
in: Toolset Professional Support
Quick solution available
2
3
4 years, 12 months ago
michaelG-24
Auto complete post title based on two field values
Started by: AndreG3332
in: Toolset Professional Support
Quick solution available
2
7
4 years, 12 months ago
AndreG3332