• Resolved lasithhh

    (@lasithhh)


    Hi guys, is there a way to link listings within same directory. I tried to use Pods but it is not possible to select a single post type(single directory) for relationship field. Only possibility is to link to the whole directory (directorist listings) in the relationship field. Is it possible to make Directorist directories act as separate post types or is there another way to achieve this.
    Second question is I need to create different single post layouts for each directory using elementor pro. Is there a way to apply this layout for a single directory rather than applying to to whole directory(directorist listings).

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @lasithhh,

    1. All Listings are custom post types (at_biz_dir) but they’re not different per directory type. However, we distinguish between different directories using two methods. One is, all Directory Type is a custom taxonomy (atbdp_listing_types), so you can look up that taxonomy for a specific listing. Another is post meta, all listings have a meta named _directory_type that holds the ID for the directory type it is assigned. I hope you can use these.
    2. Yes, you can build single listings page for you individual directory types, for that, you’ll have to use our Custom Single Listing Page, you can find details here: https://directorist.com/documentation/directorist/form-and-layout-builder/custom-single-listing-page/

    Regards,
    Mahdi.

    • This reply was modified 2 years, 3 months ago by Mahdi.
    Thread Starter lasithhh

    (@lasithhh)

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Link listings within same directory’ is closed to new replies.