daveG-7
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 |
---|---|---|---|---|---|
Help with displaying post expiration date
Gestartet von: daveG-7 in: Toolset Professional Support |
|
2 | 8 | vor 1 Monat, 2 Wochen | |
Code snippet not running on Ajax calls on a search form
Gestartet von: daveG-7 in: Toolset Professional Support |
|
2 | 5 | vor 2 Monate | |
I've found an issue with a previous solution to a different ticket
Gestartet von: daveG-7 in: Toolset Professional Support |
|
2 | 11 | vor 3 Monate | |
Second page of ajax pagination after a custom search returns no results
Gestartet von: daveG-7 in: Toolset Professional Support |
|
2 | 5 | vor 5 Monate, 1 Woche | |
Add default text to multiselect taxonomy filters
Gestartet von: daveG-7
in: Toolset Professional Support
Problem: I am having an issue with adding default text to multi-select taxonomy filters in Toolset, as the default_label only works for select taxonomy filters. Solution: To add a value-less option with the desired text to the multi-select input, use the following JavaScript code: document.addEventListener("DOMContentLoaded", function() { // Get the select element const selectElement = document.querySelector('select[name="wpv-offering[]"]'); // Create a new option element const defaultOption = document.createElement('option'); defaultOption.value = 'any'; defaultOption.text = 'Any'; // Set the new option as the default selected option defaultOption.selected = true; // Add the new option to the beginning of the select element selectElement.insertBefore(defaultOption, selectElement.firstChild); }); This code waits for the DOM content to be loaded, gets the select element, creates a new option element, sets it as the default selected option, and adds it to the beginning of the select element. |
|
3 | 7 | vor 5 Monate, 1 Woche | |
Changing users role after membership expires
Gestartet von: daveG-7 in: Toolset Professional Support |
|
2 | 3 | vor 5 Monate, 2 Wochen | |
Create user form is only showing up for admin level users
1
2
Gestartet von: daveG-7 in: Toolset Professional Support |
|
2 | 20 | vor 6 Monate, 1 Woche | |
Help with conditional output
Gestartet von: daveG-7
in: Toolset Professional Support
Problem: Solution: You can find proposed solution in this case with the following reply: Relevant Documentation: |
|
2 | 3 | vor 1 Jahr, 6 Monate | |
Layout being removed when post is being published through Woocommerce
1
2
Gestartet von: daveG-7 in: Toolset Professional Support |
|
2 | 18 | vor 3 Jahre, 10 Monate | |
CRED Commerce sending users to empty cart instead of checkout
1
2
Gestartet von: daveG-7 in: Toolset Professional Support |
|
3 | 23 | vor 4 Jahre | |
Posts created through Post Form that are in draft status still send emails
Gestartet von: daveG-7
in: Toolset Professional Support
Problem: If a post is trashed, how can those notifications be turned off? Solution: Here's an example of such code: function ts_remove_expiry_notification( $post_id ){ $notification = get_post_meta( $post_id, '_cred_post_expiration_notifications' ); if ( !empty( $notification ) ){ delete_post_meta( $post_id, '_cred_post_expiration_notifications' ); } } add_action( 'wp_trash_post', 'ts_remove_expiry_notification' ); |
|
2 | 7 | vor 4 Jahre | |
Change a user’s role with Cred Commerce on payment and post expiration
Gestartet von: daveG-7
in: Toolset Professional Support
Problem: Solution: Reverting the role when the related post expires is slightly trickier, as there is no Toolset API hook for when a post expires. In this case, when a post expires it is changed to draft status. You can use the standard WP hooks that are triggered when changing a custom post status to draft (e.g. the draft_project hook for a project post type) to check when a post of the relevant type is changed to draft status, and then check whether the post expiration time has passed (meaning the change to draft was likely triggered by the expiration) using the value stored in a hidden custom field '_cred_post_expiration_time' that can be retrieved with get_post_meta. Relevant Documentation: |
|
2 | 5 | vor 4 Jahre | |
Errors with Cred Commerce
Gestartet von: daveG-7 in: Toolset Professional Support |
|
2 | 7 | vor 4 Jahre | |
CRED post form that requires payment going to blank cart page instead
1
2
Gestartet von: daveG-7 in: Toolset Professional Support |
|
3 | 25 | vor 4 Jahre, 3 Monate | |
Forms are no longer editable
Gestartet von: daveG-7
in: Toolset Professional Support
Problem: Solution: I suspect that the issue here is being caused by a plugin conflict. What I would recommend that you do is to temporarily disable the non-toolset plugins and check again to see if the form editor show up again. In this users case the issue was being caused by the Accordions plugins. |
|
2 | 7 | vor 4 Jahre, 3 Monate |