hellobarrio
Fils de soutien créés au cours des 30 derniers jours : 0
Sujets de forum favoris
Cet utilisateur n'a aucun sujet favori.
Sujets de forum créés
Status | Sujet | Supporter | Voix | Publications | Nouveauté |
---|---|---|---|---|---|
Relationships don't work
Commencé par : hellobarrio dans : Toolset Professional Support |
3 | 7 | Il y a 11 mois et 2 semaines | ||
Display repeating field group with php
Commencé par : hellobarrio
dans : Toolset Professional Support
Problem: I would like to know how to loop over repeating field groups with PHP. Solution: $parent = get_post( 12345 ); // the parent post that holds the RFG $sezioni = toolset_get_related_posts( $parent, // the parent post 'sezioni', // the RFG slug 'parent', // the post role in this relationship is 'parent' 1000000, // the maximum number of results 0, // the offset array(), // additional query arguments 'post_id', // return format 'child', // role to return ); // $sezioni is now an array of post IDs for each RFG $sez1 = get_post( $sezioni[0] ); // example, get the first Sezioni RFG ID $pulsanti = toolset_get_related_posts( $sez1, // the parent RFG 'pulsanti', // the RFG slug 'parent', // the sezioni role in this relationship is 'parent' 1000000, // the maximum number of results 0, // the offset array(), // additional query arguments 'post_id', // return format 'child', // role to return ); // $pulsanti is now an array of post IDs for each RFG in $sez1 Relevant Documentation: |
2 | 4 | Il y a 5 années et 10 mois | ||
toolset types 3 is ready?
Commencé par : hellobarrio
dans : Toolset Professional Support
Problem: Solution: Types 3.0 has been released and should be available for download. |
2 | 2 | Il y a 5 années et 11 mois | ||
Display repeated group field
Commencé par : hellobarrio
dans : Toolset Professional Support
Problem: The issue here is that the user is using the new field groups option in our Toolset Beta plugins and wanted to display the repeated groups on the frontend. Solution: I spoke with the development team and they said that they are working on an API for the repeatable field groups but its not quite ready as yet. So for now we are not able to display this on the frontend. The solution I provided was for the old method of repeatable field groups but given that you are using the Beta we currently don't have a solution for it just as yet. |
2 | 10 | Il y a 5 années et 11 mois | ||
Post relationship backend broken
Commencé par : hellobarrio dans : Types Community Support |
2 | 2 | Il y a 8 années et 8 mois |