andreaV-4
Support threads created in the last 30 days: 1
Favorite Forum Topics
This user has no favorite topics.
Forum Topics Created
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
Image slider change image format
Started by: andreaV-4
in: Toolset Professional Support
Problem: I am using the Toolset Slider block to display images from a custom post type, but I cannot select the image size. As a result, the slider loads unoptimized, full-size images, causing slow loading times. The srcset attribute is missing, so smaller images are not being used for different viewports. Solution: Ensure that the Crop Image option is enabled in the Toolset Slider block settings. This allows WordPress to generate multiple image sizes and use the srcset feature, ensuring optimized images are loaded based on the device screen size. Relevant Documentation: https://toolset.com/course-lesson/displaying-images-with-toolset/ https://toolset.com/course-lesson/creating-sliders-with-dynamic-post-content/ |
|
1 | 8 | 1 week, 2 days ago | |
Filter view date from month and/or year
Started by: andreaV-4
in: Toolset Professional Support
Problem: The customer created a Custom Post Type (CPT) with a date field and wanted to allow users to filter posts by month and/or year using a select list. The Toolset view filters did not support filtering by only month or year because the date field is queried as a timestamp. Solution: We explained that it’s not possible to filter by month or year directly using Toolset’s default date field filters. As a workaround, we suggested creating separate custom fields for the month and year, which could then be used in the filter. We provided a code example using the save_post hook to automatically populate these custom fields based on the selected date whenever a post is created or edited: function auto_generate_month_year_from_date_field($post_id) { // Check if it's the correct post type if (get_post_type($post_id) == 'YOUR_POST_TYPE') { // Retrieve the date field $date_field = get_post_meta($post_id, 'wpcf-YOUR-CUSTOM-DATE-FIELD-SLUG', true); if (!empty($date_field)) { // Convert the timestamp to a DateTime object $date_obj = DateTime::createFromFormat('U', $date_field); // Check if date creation was successful if ($date_obj) { // Extract the year and month $year = date_format($date_obj, "Y"); $month = date_format($date_obj, "m"); // Update the custom fields with year and month update_post_meta($post_id, 'wpcf-YEAR-FIELD-SLUG', $year); update_post_meta($post_id, 'wpcf-MONTH-FIELD-SLUG', $month); } } } } add_action('save_post', 'auto_generate_month_year_from_date_field', 101); Relevant Documentation: |
|
2 | 6 | 7 months ago | |
Content templates with Elementor
Started by: andreaV-4
in: Toolset Professional Support
Problem: The customer inquired whether it is possible to create content templates using Elementor. Solution: We confirmed that Toolset is compatible with Elementor and that it is indeed possible to create content templates using Elementor. We provided a tutorial link with a step-by-step guide, including screenshots, to assist the customer in setting it up. Relevant Documentation: |
|
2 | 2 | 7 months, 1 week ago | |
Multiple filter into view for date
Started by: andreaV-4 in: Toolset Professional Support |
2 | 2 | 7 months, 2 weeks ago | ||
Recovery CPT theme
Started by: andreaV-4 in: Toolset Professional Support |
2 | 2 | 10 months, 1 week ago | ||
URL canonical error
Started by: andreaV-4
in: Toolset Professional Support
Problem: I'm receiving reports indicating that the hreflang annotations in my custom post type "corsi" contain URLs that are not canonical. The URLs include parameters such as https://example.it/corso/nomecorso?subject=test. I need to set the canonical URL to https://example.it/corso/nomecorso. Solution: Toolset doesn't provide direct customization for canonical URLs in the page head. Consider using an SEO plugin that allows setting canonical URLs. You can get started here: https://www.hallaminternet.com/avoiding-the-seo-pitfalls-of-url-parameters/ https://clicknathan.com/web-design/wordpress-canonical-urls-done-right/ |
|
2 | 2 | 11 months, 4 weeks ago | |
do_shortcode muiltiple cred_form problem with WPML
Started by: andreaV-4 in: Toolset Professional Support |
|
2 | 4 | 1 year, 3 months ago | |
WP_Query custom post type and custom field
Started by: andreaV-4 in: Toolset Professional Support |
|
2 | 2 | 1 year, 3 months ago | |
Mansory view
1
2
Started by: andreaV-4 in: Toolset Professional Support |
|
2 | 18 | 1 year, 4 months ago | |
Include and sorting custom post type shared
Started by: andreaV-4 in: Toolset Professional Support |
|
2 | 2 | 1 year, 4 months ago | |
Dynamic selection menu multilanguage
Started by: andreaV-4 in: Toolset Professional Support |
|
2 | 6 | 2 years ago | |
Translate CRED form with WPML
Started by: andreaV-4 in: Toolset Professional Support |
2 | 3 | 2 years ago | ||
Cred form live conditional group and field
Started by: andreaV-4 in: Toolset Professional Support |
|
2 | 3 | 2 years ago | |
Section relations field menu – show label
Started by: andreaV-4 in: Toolset Professional Support |
|
2 | 2 | 2 years ago | |
Field date and time
Started by: andreaV-4 in: Toolset Professional Support |
|
2 | 8 | 2 years ago |