• Resolved s

    (@sdnazdi)


    Hi,

    I like to create a listing website for agencies with related services.

    https://ibb.co/d4ch6vZ

    I like to have

    a) An Archive page to show list of All Agencies

    b) An (Archive) page to show list of All Services

    c) When I go to a Single page of Agency, I can see the list of its Related Services which are clickable

    https://ibb.co/ZhD3VHr

    d) When I go to a Single page of Service, I can see the list of its Related Agencies which are clickable

    https://ibb.co/tqsfH8n

    https://ibb.co/dPCrxnq

    I could create Archive page for Agencies (a), and Archive page for Services (b).

    My questions are

    1- Is it better to define Services Pod as Custom Post Type (CPT) or Custom Taxonomy (CT) to achieve my goal in b, c, d above?

    2- If I create Services as CPT, how can I create c, d?

    3- If I create Services as CT, how can I create c, d?

    Thanks

    • This topic was modified 11 months, 1 week ago by s.
    • This topic was modified 11 months, 1 week ago by s.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter s

    (@sdnazdi)

    P.S. I like to add that I could make parts (c), (d), with simple text outputs, however I am interested in creating something that is separately clickable title with respective clickable featured images.

    • This reply was modified 11 months, 1 week ago by s.
    Thread Starter s

    (@sdnazdi)

    Hi,

    I could do (c) with only titles (without their featured image) by the following code create inside the Pods Template.

    <ul>
    [each related_services]
        <li><a href="{@permalink,esc_url}">{@post_title}</a></li>
    [/each]
    </ul>    

    When working with ACF+Elementor Pro, there is a widget in Elementor specific for the Relationship.
    Is there a way to not using external template, and only use Pods+Elementor Pro to create part (c) and (d)?

    • This reply was modified 11 months, 1 week ago by s.
    Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @sdnazdi

    As per your description, the Services are basically an archive of Agencies so I would suggest the Services are taxonomies and not posts.

    When working with ACF+Elementor Pro, there is a widget in Elementor specific for the Relationship.
    Is there a way to not using external template, and only use Pods+Elementor Pro to create part (c) and (d)?

    Pods Pro includes an elementor integration that provides Pods blocks for Elementor Pro. However, these are still Pods templates.

    Elementor Pro has Dynamic tags but their relationship support isn’t very solid. However, this recently received an overhaul so I’m not sure what their current integration code looks like.

    Cheers, Jory

    Thread Starter s

    (@sdnazdi)

    Thanks @keraweb. Please give some hints or reference documentation/video which explain how to decide whether I choose post type or taxonomy.

    • This reply was modified 11 months, 1 week ago by s.
    • This reply was modified 11 months, 1 week ago by s.
    Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @sdnazdi

    Perhaps our introduction video’s will help you here:
    Grow: https://docs.pods.io/videos/grow-beyond-posts-pages-introduction-pods-framework/
    Plan: https://docs.pods.io/videos/plan-before-you-build-information-architecture-content-strategy/
    Build: https://docs.pods.io/videos/build-anything-with-pods-hands-on-workshop-using-the-pods-framework/

    In short:

    • Taxonomies are used for listing and filtering Posts.
    • Posts are used for displaying content (text, images etc.)

    So if you need a page that is just meant to display posts, use a taxonomy.

    Cheers, Jory

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘RelationShip: Related Services’ is closed to new replies.