The customer was using the cred-delete-post shortcode to allow users to delete posts but encountered an error message ("Something went wrong, please reload the page and try again") when attempting to delete posts with any role other than administrator. Additionally, a user with the "Adm Entidades" role was incorrectly able to see an edit form that they should not have access to.
Solution:
Upon investigation, we found that the issue stemmed from a custom code snippet that was causing redirection conflicts. Specifically, when the code included a wp_redirect function, it led to an infinite redirect scenario, preventing users from performing the delete action.
To resolve this, we temporarily disabled the custom code and moved it to the Toolset custom code section. We ensured that it would not execute during AJAX calls by unchecking the "Llamadas AJAX" option in the settings. This adjustment allowed users with the "Adm Entidades" role to delete posts without encountering the error.
The customer was able to confirm that the changes worked as intended.
The customer is trying to find where to enter a new registration key for Toolset in the website dashboard but only sees hyperlinks for new registration.
Solution:
We directed the customer to navigate to wp-admin > Plugins > Add New > Commercial tab, where they can find the option to unregister Toolset. After doing so, they will see an option to register Toolset and enter the new key.
The customer was unable to set image sizes in the Advanced Custom Fields (ACF) settings within the WordPress dashboard. The image size dropdown was not appearing, which hindered the ability to select a custom size for images.
Solution:
We discovered that the issue was related to resource limitations on the server. By disabling several resource-intensive plugins, the customer was able to access the image size settings properly. Additionally, we recommended increasing the PHP and WordPress memory limits to improve performance.
The customer wanted to create a slider for videos similar to an existing image slider on their site. Although the videos were set up as custom fields, they were currently displayed in a row on the page instead of a slider format.
Solution:
We advised the customer that Toolset does not have a built-in feature to directly display multiple videos from a custom field in a slider. Instead, we provided a custom HTML structure using the [wpv-for-each] shortcode to wrap the video outputs, along with custom CSS to style the videos in a slider-like format. This allowed the videos to be visually organized, improving their appearance.
You can start by wrapping your video outputs in a custom HTML structure like this:
The customer was unable to get Relevanssi to recognize their custom post types ("fires") on their site, resulting in zero search results, despite it working with other content areas.
Solution:
We identified that the issue stemmed from the theme filtering the post types available in the default search widget, restricting results to only pages and posts. We adjusted the settings under Appearances > Theme Settings > Layout Settings > Search Content to exclude the filtering, allowing all custom post types to be displayed. After this adjustment, search results were successfully returned.
I am using custom code to modify a View’s query based on taxonomy term slugs. This works, but now the taxonomy search filters (ld_course_category and ld_course_tag) no longer function properly in the view.
Solution:
The issue arises because your custom tax_query overrides the existing query, including filters for ld_course_category and ld_course_tag. To fix this, merge your custom tax_query with any existing tax_query conditions to preserve the original filters. Use a check to append your custom taxonomy query to the existing tax_query instead of replacing it.