Luciana
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 |
|---|---|---|---|---|---|
|
Text search filter is not filtering
Started by: Luciana in: Toolset Professional Support |
|
2 | 13 | 3 years, 12 months ago | |
|
Search filter and view on two separate areas with Elementor preserving styles
Started by: Luciana
in: Toolset Professional Support
Problem: Use Elementor with post view. Solution: Since Toolset Blocks plugin is based on WordPress built-in Blocks editor, which is a different page builder from Elementor, it is not recommended to use two page builders to design the same page, you can setup the post with with classic editor: https://toolset.com/course-lesson/enabling-legacy-version-of-toolset-views/ Then use view's shortcodes in Elementor editor to display the search form and search results. Relevant Documentation: |
|
2 | 8 | 4 years ago | |
|
Building a search filter and view on two separate areas with Elementor
Started by: Luciana in: Toolset Professional Support |
|
3 | 8 | 4 years ago | |
|
Building a search view inside a grid block
1
2
Started by: Luciana in: Toolset Professional Support |
|
3 | 24 | 4 years, 6 months ago | |
|
Custom select field pulling dynamic data
Started by: Luciana in: Toolset Professional Support |
|
2 | 6 | 4 years, 6 months ago | |
|
Trying to update toolset
Started by: Luciana in: Toolset Professional Support |
|
2 | 2 | 4 years, 7 months ago | |
|
custom SELECT field with dynamic data
Started by: Luciana
in: Toolset Professional Support
Problem: The problem here is that the user wanted to dynamically populate their select field with the information of another post type. Solution: This can be done by using the function below.
// Put the code of your snippet below this comment.
add_filter( 'wpt_field_options', 'func_dynamic_populate', 10, 3);
function func_dynamic_populate( $options, $title, $type ){
switch( $title ){
case 'winery-select': //select field slug goes here
$options = array();
$args = array(
'post_type' => 'wineries',
'post_status' => 'publish');
$posts_array = get_posts( $args );
foreach ($posts_array as $post) {
$options[] = array(
'#value' => $post->ID,
'#title' => $post->post_title,
);
}
break;
}
return $options;
}
This can be added to your Toolset Custom code section at Toolset -> Settings -> Custom Code. Relevant Documentation: |
|
2 | 8 | 4 years, 7 months ago | |
|
Custom Post Type disappeared from WP admin menu
Started by: Luciana
in: Toolset Professional Support
Problem: Show the custom post type in the admin menu Solution: You can edit the custom post type, enable option "show_in_menu". Relevant Documentation: https://developer.wordpress.org/reference/functions/register_post_type/#show_in_menu |
|
2 | 3 | 4 years, 7 months ago |