CraigS3893
Support threads created in the last 30 days: 0
Favorite Forum Topics
This user has no favorite topics.
Forum Topics Created
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
Can't Add New Post Field Group
Started by: CraigS3893 in: Toolset Professional Support |
1 | 3 | 2 months, 4 weeks ago | ||
WordPress – "Your site is experiencing a technical issue" email
Started by: CraigS3893 in: Toolset Professional Support |
2 | 2 | 1 year, 10 months ago | ||
Nesting repeating groups programatically
Started by: CraigS3893 in: Toolset Professional Support |
1 | 3 | 2 years, 10 months ago | ||
Database error when updating Toolset
Started by: CraigS3893 in: Toolset Professional Support |
2 | 11 | 4 years ago | ||
Members only site that emails new posts to subscribers
Started by: CraigS3893 in: Toolset Professional Support |
2 | 2 | 4 years, 4 months ago | ||
Creating a competition form
Started by: CraigS3893 in: Toolset Professional Support |
2 | 5 | 4 years, 7 months ago | ||
Content specific to each user
Started by: CraigS3893 in: Toolset Professional Support |
2 | 3 | 4 years, 9 months ago | ||
Adding map in template file
1
2
Started by: CraigS3893 in: Toolset Professional Support |
2 | 19 | 4 years, 9 months ago | ||
"Add New Repeatable Group" button not appearing – even on single post type
Started by: CraigS3893 in: Toolset Professional Support |
2 | 8 | 5 years ago | ||
Repeating Group problem
1
2
Started by: CraigS3893 in: Toolset Professional Support |
2 | 19 | 5 years, 2 months ago | ||
Invalid site key for the current site.
Started by: CraigS3893
in: Toolset Professional Support
Problem: The issue here was that the user was getting an Invalid site key when using Types 2.2.23 Solution: You can download the update from the link below. |
2 | 3 | 5 years, 5 months ago | ||
How to output repeatable field groups on the front-end in the same order as the backend?
Started by: CraigS3893
in: Toolset Professional Support
Problem: Solution: |
2 | 6 | 5 years, 6 months ago | ||
Repeating Group Fields in a template file
Started by: CraigS3893 in: Toolset Professional Support |
2 | 10 | 5 years, 7 months ago | ||
Displaying post relationship items on a single post page (without using views)
Started by: CraigS3893
in: Toolset Professional Support
Problem: I have a CPT called "Products" and have setup a post relationship with another CPT called "Stockists". On the single-product.php page, I want to output the Stockists that are children of that particular Product. In the output of each Stockist, I want to display an image that is stored as a custom field on the Stockist post. I want to be able to do this in PHP without using Views. Solution: Use the toolset_get_related_posts API to query for related Stockist posts. Then loop over those results with a foreach statement. In that loop, echo the custom field image using the types_render_field API, and reference the current Stockist post ID in the array of params. $product_id = get_the_ID(); $relationship_slug = 'product-stockist'; $stockists = toolset_get_related_posts( $product_id, // the known item id $relationship_slug, // the relationship slug 'parent', // the known item role in the relationship 1000000, // a positive integer is required here for the limit 0, // zero-based index page number array(), // no additional params are required here 'post_id', // whether you want to return an array of post IDs or post objects 'child' // the role you want to return ); foreach($stockists as $stockist) { echo types_render_field( "stockist-logo", array( "raw"=>"true", "id"=>$stockist ) ); } Relevant Documentation: |
2 | 9 | 5 years, 10 months ago | ||
Update from 2.2.21
Started by: CraigS3893 in: Toolset Professional Support |
2 | 2 | 5 years, 10 months ago |