kayser
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 |
---|---|---|---|---|---|
picture size
Started by: kayser
in: Toolset Professional Support
Problem: I encountered an issue where image sizes render differently in Chrome compared to Firefox. Solution: To fix the issue, add the following CSS code to your theme: div.tb-gallery img { height: 100% !important; } .tb-gallery--grid--nocrop .tb-gallery__cell { height: 100%; } |
1 | 6 | 5 days, 13 hours ago | ||
type E_ERROR
Started by: kayser in: Toolset Professional Support |
1 | 11 | 1 month, 2 weeks ago | ||
rand result in custom searc
Started by: kayser
in: Toolset Professional Support
Problem: The user wants to display search results in a random order in a Toolset View without showing the sorting dropdown menu. Solution: Set Sorting to Random Order: 1. Add a sorting control to the Toolset View. Hide Sorting Dropdown Menu: 1. Use custom CSS to hide the sorting dropdown menu. div.wpv-sorting-block { display: none; } Relevant Documentation: https://toolset.com/course-lesson/creating-a-view/#add-front-end-sorting-to-a-view |
2 | 11 | 10 months, 1 week ago | ||
styling read more
Started by: kayser in: Toolset Professional Support |
2 | 6 | 10 months, 3 weeks ago | ||
no marker icon
Started by: kayser
in: Toolset Professional Support
Problem: The marker is not appearing on the map, and assistance is needed to resolve the issue. Solution: Ensure that you follow the steps outlined in the Toolset documentation for displaying markers on maps: https://toolset.com/documentation/legacy-features/maps-plugin/displaying-markers-on-maps/ Additionally, correct the URL format in the "marker_icon" attribute of the shortcode; replace "https//" with "https://": Relevant Documentation: https://toolset.com/documentation/legacy-features/maps-plugin/displaying-markers-on-maps/ |
2 | 2 | 11 months, 1 week ago | ||
single duplicate in a grid
Started by: kayser
in: Toolset Professional Support
Problem: Two grids with single fields are causing duplication issues when the second row is conditional. The second field in red is duplicated in the first one (in blue). Solution: - Check for HTML code inside conditionals that might cause errors, especially unclosed tags. Relevant Documentation: https://toolset.com/course-lesson/using-toolset-conditional-block/ |
2 | 11 | 11 months, 1 week ago | ||
makes an error in the html of the content template but
Started by: kayser in: Toolset Professional Support |
2 | 8 | 11 months, 2 weeks ago | ||
different map marker
1
2
Started by: kayser in: Toolset Professional Support |
2 | 19 | 1 year, 4 months ago | ||
thumbnail size
Started by: kayser in: Toolset Professional Support |
2 | 7 | 2 years, 5 months ago | ||
an empty space in the alignment
Started by: kayser
in: Toolset Professional Support
Problem: Solution: |
2 | 9 | 3 years, 7 months ago | ||
Display related post information after adding a favorite post with Favorites plugin
Started by: kayser
in: Toolset Professional Support
Problem: I have 3 custom post types - Artists, Books, and Works on Paper. I have two one-to-many (O2M) relationships: Artists-Books where Artist is parent and Book is child, and Artists-Works On Paper where Artist is parent and Work on Paper is child. I'm using the Favorites plugin to allow my site visitors to add favorite Books and favorite Works on Paper. In the list of favorite posts, I would like to display information about the related Artist. Solution: The best way to handle this is to use the Favorites plugin's filters API to filter the favorites list HTML. You can use the Toolset Post Relationships API toolset_get_related_posts to get information from related posts in that filter callback: /** * Toolset Support * Filter the Favorites list information to display related Artiste info * Currently supports Livres and Oeuvres Sur Papiers post types for Favorites * Extendable by adding a case statement for new post type / relationship slug * https://toolset.com/forums/topic/find-related-custom-post-type/ */ add_filter( 'favorites/list/listing/html', 'custom_favorites_listing_html', 10, 4 ); function custom_favorites_listing_html($html, $markup_template, $post_id, $list_options) { // relationship slugs per favorite post type $post_type = get_post_type( $post_id ); switch($post_type) { case "livre": $rel_slug = "livre_artiste"; break; case "oeuvre-sur-papier": $rel_slug = "oeuvre-sur-papier-artiste"; break; default: return $html; }; // Get related posts with Toolset post relationships API $children_args = [ 'query_by_role' => 'parent', 'role_to_return' => 'child' ]; $children = toolset_get_related_posts( $post_id, $rel_slug, $children_args); // Build a string of related post titles, separated by a comma, // and concatenate it into response HTML, then return it $child_titles = []; if( $children && count( $children ) > 0 ) { foreach( $children as $child ){ $child_titles[]= get_the_title($child); } return $html . implode(',', $child_titles); } // in case no related posts are found, return the default HTML return $html; } Relevant Documentation: |
2 | 15 | 3 years, 9 months ago | ||
next and previous with two custom post
1
2
Started by: kayser in: Toolset Professional Support |
3 | 27 | 3 years, 10 months ago | ||
slider with one image
Started by: kayser in: Toolset Professional Support |
2 | 9 | 3 years, 10 months ago | ||
error
Started by: kayser in: Toolset Professional Support |
1 | 2 | 3 years, 10 months ago | ||
next and previous
Started by: kayser in: Toolset Professional Support |
2 | 3 | 3 years, 10 months ago |