Luciana
In den letzten 30 Tagen erstellte Support-Threads: 0
Lieblings-Forenthemen
This user has no favorite topics.
Forum Topics Created
| Status | Thema | Supporter | Stimmen | Artikel | Aktualität |
|---|---|---|---|---|---|
|
Text search filter is not filtering
Gestartet von: Luciana in: Toolset Professional Support |
|
2 | 13 | vor 4 years, 1 month | |
|
Search filter and view on two separate areas with Elementor preserving styles
Gestartet von: 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 | vor 4 years, 1 month | |
|
Building a search filter and view on two separate areas with Elementor
Gestartet von: Luciana in: Toolset Professional Support |
|
3 | 8 | vor 4 years, 2 months | |
|
Building a search view inside a grid block
1
2
Gestartet von: Luciana in: Toolset Professional Support |
|
3 | 24 | vor 4 years, 7 months | |
|
Custom select field pulling dynamic data
Gestartet von: Luciana in: Toolset Professional Support |
|
2 | 6 | vor 4 years, 8 months | |
|
Trying to update toolset
Gestartet von: Luciana in: Toolset Professional Support |
|
2 | 2 | vor 4 years, 8 months | |
|
custom SELECT field with dynamic data
Gestartet von: 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 | vor 4 years, 8 months | |
|
Custom Post Type disappeared from WP admin menu
Gestartet von: 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 | vor 4 years, 9 months |