|
Types Set-up
Started by: CharlesB2907
in: Toolset Professional Support
|
|
2 |
24 |
6 years, 9 months ago
Christian Cox
|
|
How to make a list of related posts
Started by: kjetilF
in: Toolset Professional Support
Quick solution available
Problem:
How to display a list of related posts using relationships?
Solution:
You need to create a relationships that stores the connections between the posts that you want to connect.
In this thread the client wants to display excursion posts that are related to the currently displayed holiday home post (and vice versa), which means creating a many-to-many relationship.
Relevant Documentation:
https://toolset.com/course-lesson/what-are-post-relationships-and-how-they-work/
|
|
2 |
5 |
6 years, 9 months ago
kjetilF
|
|
Breadcrumbs with Toolset
Started by: Ljuba
in: Toolset Professional Support
Quick solution available
|
|
2 |
9 |
6 years, 9 months ago
Beda
|
|
Display Taxonomy Terms anywhere in the website via shortcode
Started by: Silvia
in: Toolset Professional Support
Quick solution available
Problem:
How to display a term field from a taxonomy term assigned to a parent post?
Solution:
It is only possible with custom code. The following code registers a custom shortcode for this purpose. It is necessary to supply attributes for the field slug, the slug of the parent post type, and the slug of the taxonomy.
/**
* Display term field from parent post
*/
function parent_post_term_field_sc( $atts ){
global $post;
// Get id of parent post
$parent_post_id = get_post_meta( $post->ID, '_wpcf_belongs_' . $atts['parent-slug'] . '_id', true );
// Get ID of taxonomy term assigned to parent post
$term_id = wp_get_post_terms( $parent_post_id, $atts['tax-slug'], array( 'fields' => 'ids' ) );
// Output the required field for that term
return types_render_termmeta( $atts['field'], array( 'term_id' => $term_id[0] ) );
}
add_shortcode( 'parent-post-term-field', 'parent_post_term_field_sc' );
// Use like so by passing required attributes
[parent-post-term-field field="field-slug" tax-slug="tax-slug" parent-slug="parent-post-slug"]
|
|
2 |
7 |
6 years, 9 months ago
Silvia
|
|
Translatable Taxonomy on Non-Transltable Custom Post Type
Started by: Hila Mizrahi
in: Toolset Professional Support
Quick solution available
Problem:
The issue here is that the user wanted to know if its possible to use a translated taxonomy on a non-translatable CPT.
Solution:
Unfortunately our toolset forum would not be the best place to get advise on this.
I would recommend contacting our WPML support forum for more information on this.
http://wpml.org/
|
|
3 |
3 |
6 years, 9 months ago
Shane
|
|
Taxonomy glitch
Started by: JorgeE7101
in: Toolset Professional Support
|
|
2 |
26 |
6 years, 9 months ago
Beda
|
|
Adding existing fields within WordPress to Toolset Post Type
Started by: barryT-4
in: Toolset Professional Support
Quick solution available
Problem: I would like to use Event Organizers from the Tribe Events plugin as custom fields in a Toolset Post type called Event Reviews.
Solution: Since Organizers is a public post type, you could use a many-to-many post relationship to link Organizers and Event Reviews. This does not mean that the Events Calendar field editor panel shown in the attached screenshot will appear in your Event Review editor, though. It means that you can use an intermediary post type to store the connection between an existing Event Review and an existing Organizer.
If you want to show the actual Events Calendar panel and fields on your CPT editor, that's something that will require support from the Events Calendar plugin authors.
Relevant Documentation:
https://toolset.com/documentation/user-guides/many-to-many-post-relationship/
|
|
2 |
2 |
6 years, 9 months ago
Christian Cox
|
|
Post Title, Post relationships, Taxonomies
Started by: davidm-13
in: Toolset Professional Support
|
|
2 |
3 |
6 years, 9 months ago
davidm-13
|
|
drop-down list of taxonomies, first choice
Started by: massimoS527
in: Toolset Professional Support
Quick solution available
|
|
2 |
23 |
6 years, 9 months ago
massimoS527
|
|
CPT in classic category
Started by: thibautF
in: Toolset Professional Support
|
|
2 |
3 |
6 years, 9 months ago
thibautF
|
|
How to create a specific Post Relation with limitation.
Started by: holgerK
in: Types Community Support
|
|
2 |
5 |
6 years, 9 months ago
holgerK
|
|
Impossible to create new taxonomy with Types
Started by: Pat
in: Toolset Professional Support
|
|
3 |
18 |
6 years, 9 months ago
Minesh
|
|
Planning my custom posts
Started by: mikeR-8
in: Types Community Support
|
|
2 |
4 |
6 years, 10 months ago
Luo Yang
|
|
Custom post order
Started by: marc-andre
in: Toolset Professional Support
|
|
2 |
3 |
6 years, 10 months ago
marc-andre
|
|
While updating the post its duplicates
Started by: Simon Verduijn
in: Toolset Professional Support
|
|
2 |
4 |
6 years, 10 months ago
Minesh
|