Hi,
I have a CPT called "Persons" with slug "person" that will be used to display the works of some authors, speakers..etc
the works will be another 2 CPT called "sermons" and "books".
Then I have a custom taxonomy called "Author - Speaker" (slug: author-speaker) that is assigned to both the sermons and books CPT so i can assign the author of each book and the speaker of each sermon..etc
I want to use the tutorial presented by your team here:
hidden link
to redirect visitors when they click on a taxonomy term form the "Author - Speaker" to go to that person's page in the "Persons" CPT.
however, the system is not working for me.
I create the taxonomy term and the person cpt with the same slug.
so when an author is called "John Smith", i create a slug for both his taxonomy term and his cpt as "john-smith".
however, i realized that the person page url structure is like this:
site.com/person/john-smith
while the taxonomy term is like this:
site.com/author-speaker/john-smith
so i tried to change the Author-speaker taxonomy slug to "person" but the plugin did not allow me to do so and gave me this message:
"You cannot use this slug because it is already used or a reserved word. Please choose a different slug."
so is there a way to achieve similar result like the video but between a CPT and a taxonomy. i can't use normal "pages" due to the structure that i am trying to achieve.
thanks
Hello,
In your case, you don't need the taxonomy "author-speaker", I suggest you setup two many-to-many relationships between:
1) Post types "Persons" and "sermons"
2) Post types "Persons" and "books"
Then when you edit a single "sermons/books" post, you can connect it with other "Persons" posts
And in a single "sermons/books" post, you can display the related "Persons" posts
See our document:
https://toolset.com/documentation/user-guides/many-to-many-post-relationship/
Thanks a lot Luo,
i will explore this option and get back to you.
2 questions please:
1- is the new release due soon? I received the beta announcement some weeks ago. it will be good to build the website using the new system straight.
2- I am planing to build a custom search similar to the "real estate"demo you have, where visitors can filter through the books and sermons using many parameters with the the author being one of them.
so if i did it many-to-many. will i be able to incorporate the authors as a dropdown menu, given that we will not have the custom taxonomy anymore?
maybe we can build one of the custom search fields as a dropdown that shows the "post title" of the authors pages? this way it acts as if it is a custom taxonomy?
thanks.
Q1) Yes, the stable version will be released soon, maybe weeks.
Q2) Yes, it is possible with latest RC version of Toolset plugins, you can download them here:
https://toolset.com/account/downloads/
Choose channel: Beta
Hi Luo,
thanks a lot.
i did download the beta version and testing it now.
however, i wanted to let you know that the system is not yet working with Gutenberg.
when i enable gutenberg, the relationship section of the post/page shows a progress bar and wehn i click on the buttons to add the posts, nothing happen.
i know that both Toolset and gutenberg are still work in developement, but I wanted to highlight this to you.
have a look here:
hidden link
thanks,
For the new question:
when i enable gutenberg, the relationship section of the post/page shows a progress bar and wehn i click on the buttons to add the posts, nothing happen.
Yes, the compatibility issue with gutenberg is already in our to-do list, our developers are working on it, I suggest you create new thread for the new question, describe detail steps to duplicate the same problem, that will help other users to find the answers.
Thanks Luo,
It is not a new question. i am just highlighting an observation, so the toolset team is aware of the issue, but i am currently not using gutenberg. so i have no problem.
thanks for solving my main question.