Skip Navigation

[Resolved] Pages instead or Archives Tutorial not working for me

This support ticket is created 6 years, 6 months 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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Hong_Kong (GMT+08:00)

Author
Posts
#893242

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

#895135

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/

#895264

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.

#895520

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

#900186

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,

#900218

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.

#900240

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.