• Resolved djiesr

    (@djiesr)


    I have a custom defined list, with multiselect in a taxonomy. This taxonomy?is linked with a Post Type.

    When I had this list in a template of the post type, I have only one choice appear in the list. ( Choice 1) In other situation, when had custom defined list, with multiselect directly from post type, i will have a list. (Choice 1, Choice 2, Choice 3)
    I link a page, in “Activités” from “organisation” you can see “Canot/Kayak”, but you supposed to see many more.

    In my template :

                <div class="info-item">
                    <strong>Activités:</strong>
                      {@organisation.activites}
                </div>

    Thanks

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support Paul Clark

    (@pdclark)

    All taxonomy terms should appear in the WP Admin field when the term (Activity) is associated with the post (organisation).

    In the template, the magic tag should output only terms which have been associated with the current post.

    Below are a few things to verify. If none of these resolve it, the nature of the issue can be approached in more detail with a Pods Admin > Components > Import/Export Packages JSON file sent as a GitHub issue at https://pods.io/submit

    Is the taxonomy name conflicting with a field name?

    A connected taxonomy and a field relationship of taxonomy terms can both be referenced with magic tags, as either {@taxonomy_name} or {@field_name}. Check whether the taxonomy is conneted as a traditional WordPress post<>terms relationship under the post type Connections tab, then verify whether the magic tag is referencing relationships saved through the default WordPress user interface or a Pods field.

    Is the magic tag and dot notation correct?

    The linked page is a post type named refuges. The magic tag {@organisation.activites} would mean a field or taxonomy named organisation on refuges, then a field or taxonomy named activities on organisation.

    If looking for a field on refuges, one would expect the magic tag to be {@field_name_or_taxonomy_name} without a dot, as a dot indicates traversal to a field on another post type or taxonomy term through traversal of a relationship.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.