Skip Navigation

[Resolved] Custom Filed

This support ticket is created 2 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 5 replies, has 2 voices.

Last updated by Minesh 2 years, 1 month ago.

Assisted by: Minesh.

Author
Posts
#2474479

Tell us what you are trying to do?
I have created custom post types and custom fields. Now I want to display them in frontend, Iwas wondering if there is a way to make the custom field clickable and display a page like Archive where all related post can be seen.

Second, if there is a way, I can access taxonomy of other CPT while displaying the on the front end in case of Post relationships.

Is there any documentation that you are following?
No

Is there a similar example that we can, see?

What is the link to your site?
It's on Local Host

#2474505

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

I believe you should go through our course that will help you to understand how exactly Toolset works and how you can create content (post types, custom fields, taxonomies) and how you can display the content on frontend using (views, content templates, archives ).
=> https://toolset.com/course/

Even I suggest you should create a test site on our free test platform http://www.discover-wp.com and create a test site using any of reference site we offer which is build on top using Toolset:
=> https://discover-wp.com/site-templates/

#2474535

I have already gone through the course but not able to find the solution to my problem

#2474553

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Can you please tell me to what custom field you want to make as clickable link and to what archive you want to link it to.

Have you created archive using Toolset?

Because archive should be created for post type and taxonomy, how you want to link custom field to archive and to what archive?

#2475867

I have some custom field like country, Subject area etc. I have already created archive page for CPT.

If I want to display all the post related to one subject area, then how can I do that.

Second, I have created the many to many relationships. I want to display all the taxonomy (tags or category) of related post from other CPT.

For Eg. I have one CPT which is Organization, and second CPT is Announcements which has its own categories, which is announced by org. now I want to display all the categories or tags for each organization making announcements.

#2475947

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Lets discuss one question at a time. We entertain only one question per ticket. This will help other users searching on the forum as well as help us to write correct problem resolution summery.

Regarding your first question, how to filter archive with custom fields. Do you know that you can build custom search using archive?
=> https://toolset.com/related-lesson/custom-search/

To display all posts related to specific subject area, what if you create a view and add a "Query Filter" for your specific subject are and add that view to your desired page.

Is your requirement is to reuse the same view for different subject area like:

[wpv-view name="view-slug" subjectarea="subject1"]
[wpv-view name="view-slug" subjectarea="subject2"]

If yes, then above would be achieved by creating view in legacy mode:
=> https://toolset.com/course-lesson/enabling-legacy-version-of-toolset-views/

And then filtering view by shortcode attribute:
=> https://toolset.com/documentation/legacy-features/views-plugin/passing-arguments-to-views/