Toolset lets you develop truly custom sites, including WooCommerce, Membership and Directory/Classifieds sites.
Visit our dedicated tutorials to learn how to build each of these sites using Toolset:
Problem: I have a one-to-many hierarchical relationship of post types with grandparent, parent, and child posts (Make > Model > Version). On the single Version post page, I would like to display the Version information, as well as breadcrumb links to the single Model and single Make pages for its parent and grandparent posts. On the parent single Model page, I would like to show a View of all the Versions that belong to this parent. The breadcrumbs on this page should include a link to the grandparent Make post. On the single grandparent Make page, I would like to include a View that shows all the Version posts belonging to the grandparent Make.
Solution: Create a Content Template for Version posts. Include information about the Version by adding Field shortcodes. Create another View that will be used to display breadcrumb links. Add links to the parent and grandparent single post pages. Place this View in your Content Template.
Use a post relationship filter to create a View of Version posts. Filter to show posts that are children of the current post. In the Loop Output section, include links to each Version single post page. Create another View that shows links to the grandparent Make single post. Use this View to display breadcrumbs. Place both these Views in your Content Template for Model single posts.
Repeat this process for the grandparent Make Content Template, but remove the filter and update the breadcrumb structure to match your hierarchy.
Problem: I would like to be able to set certain posts as "featured posts", so they will appear at the top of sorted results lists.
Solution: Use a custom field to store a value of 1 for all posts, or 2 if the post is "featured". Use the cred_save_data hook to add this value automatically when posts are created by CRED. Filter based on this custom field.
Problem:
I created a custom type, “Volunteers” with fields for first name and last name. When I add a volunteer, I want to automatically set the post link to “Last Name, First Name”. For example if first name is “John” and last name is “Doe”, I want the post title to be set to “Doe, John” and the post link to be set to volunteer=doe-john. Is there an easy way to do so?
Solution:
There isn't such a feature within Toolset plugins, it needs custom codes, I suggest you try with wordpress action hook save_post
For example, when user save a "Volunteers" post, use action save_post to trigger a custom PHP function, in this function get the value of "Last Name, First Name"
use those values to update the post title to what you want
Problem:
Can not Add/Edit Custom Post Type, getting these errors:
Warning: require(/home/derekk2110/public_html/wp-content/plugins/types/application/data/information/table/forms.php): failed to open stream: No such file or directory in /home/derekk2110/public_html/wp-content/plugins/types/application/controllers/information/controller.php on line 168
Fatal error: require(): Failed opening required '/home/derekk2110/public_html/wp-content/plugins/types/application/data/information/table/forms.php' (include_path='.:/opt/cpanel/ea-php70/root/usr/share/pear') in /home/derekk2110/public_html/wp-content/plugins/types/application/controllers/information/controller.php on line 168
Solution:
Please delete Toolset plugins from WordPress dashboard (make sure there is no Toolset related folder, for example “Types”, “Views” etc. exists in your FTP, if you see any Toolset folders for example “Types”, “Views” etc. in FTP then please delete it) and re-install it again from Commercial Tab in WordPress Dashboard.