Ian
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 | Topic | Supporter | Voix | Publications | Nouveauté |
|---|---|---|---|---|---|
|
Archive order is not working
Commencé par : Ian
in: Toolset Professional Support
Problem: I wanted to display archive posts ordered by post title in ascending order, but the archive order setting wasn’t working correctly. Solution: The issue was caused by another plugin’s configuration. After adjusting that plugin, the archive ordering worked as expected. Relevant Documentation: https://toolset.com/course-lesson/creating-a-custom-archive-page/ |
|
1 | 3 | Il y a 7 months, 1 week | |
|
Adding filters
Commencé par : Ian
in: Toolset Professional Support
Problem: I wanted to add category (taxonomy) filters to a WordPress Archive built with the block editor; I could add a search, but wasn’t sure if taxonomy filters were possible in Toolset Blocks. Solution: In the Archive editor (Toolset → WordPress Archives), select the Archive block, click “Add Search Field,” choose “Post Taxonomy,” pick the taxonomy (e.g., Categories), select the input type (checkboxes/select/radio), and configure options and AJAX update in Custom Search settings. Relevant Documentation: https://toolset.com/course-lesson/creating-a-custom-archive-page/ https://toolset.com/course-lesson/creating-a-custom-search/ https://toolset.com/course-lesson/creating-a-custom-list-of-woocommerce-products-for-a-taxonomy/ |
|
1 | 2 | Il y a 7 months, 1 week | |
|
Reset field on form submission
Commencé par : Ian in: Toolset Professional Support |
|
1 | 9 | Il y a 1 year | |
|
Redirect on page with no permision
Commencé par : Ian in: Toolset Professional Support |
|
1 | 3 | Il y a 1 year | |
|
Form gives critical error on submission
Commencé par : Ian in: Toolset Professional Support |
|
1 | 9 | Il y a 1 year, 1 month | |
|
Toolset Forms check if WYSIWYG field is empty
Commencé par : Ian in: Toolset Professional Support |
|
1 | 2 | Il y a 1 year, 2 months | |
|
Set default relationship
Commencé par : Ian in: Toolset Professional Support |
|
1 | 3 | Il y a 1 year, 2 months | |
|
Slider with repeating images
Commencé par : Ian in: Toolset Professional Support |
|
1 | 5 | Il y a 1 year, 2 months | |
|
Filter view with date pull down menu
Commencé par : Ian in: Toolset Professional Support |
|
1 | 6 | Il y a 1 year, 4 months | |
|
Hide posts with specific term
Commencé par : Ian
in: Toolset Professional Support
Problem: Solution: To achieve the desired functionality, you can consider using Toolset's conditional HTML to restrict content based on taxonomy. Here are some resources and suggestions: https://toolset.com/documentation/user-guides/conditional-html-output-in-views/ While Toolset does not provide a built-in way to filter by taxonomy terms directly, combining the above methods with some custom code can achieve the desired result. However, support for custom code is beyond the scope of this forum. If custom implementation becomes a roadblock, consider seeking assistance from Toolset Contractors: https://toolset.com/contractors/ |
|
2 | 2 | Il y a 1 year, 12 months | |
|
Can not Edit Page with Toolset Blocks WordPress 6.5.2 Issue
Commencé par : Ian in: Toolset Professional Support |
2 | 2 | Il y a 2 years, 1 month | ||
|
User Edit Many to Many Relationships
Commencé par : Ian in: Toolset Professional Support |
|
2 | 13 | Il y a 2 years, 2 months | |
|
Change User Role with Toolset Form
Commencé par : Ian
in: Toolset Professional Support
Problem:
add_action('cred_submit_complete', 'cred_update_user_role_pending', 10,2);
function cred_update_user_role_pending($post_id, $form_data) {
require_once(ABSPATH.'wp-admin/includes/user.php');
if ( isset($form_data) && !empty($form_data) && isset($form_data['id']) && $form_data['id'] == 4981 ) {
// update the user role
$user = new WP_User( $post_id );
$user->remove_role( 'pending_vendor' );
$user->add_role( 'vendor' );
}
}
I also put in a check to make sure by the time the form is submitted, there's a valid formdata, it was causing a fatal error for some reason. |
|
2 | 5 | Il y a 2 years, 2 months | |
|
Delete User from Form Not Working
Commencé par : Ian
in: Toolset Professional Support
Problem:
function efm_delete_user( $user_id, $form_data ){
if ( isset($form_data) && !empty($form_data) && isset($form_data['id']) && $form_data['id'] == 5846 ) {
require_once( ABSPATH.'wp-admin/includes/user.php' );
wp_delete_user( $user_id );
}
}
add_action( 'cred_submit_complete', 'efm_delete_user', 10, 2 );
|
|
2 | 7 | Il y a 2 years, 2 months | |
|
Incompatibility with latest Blocksy Theme
Commencé par : Ian in: Toolset Professional Support |
2 | 3 | Il y a 2 years, 3 months |