Quantcast
Channel: Toolset » All Posts
Viewing all articles
Browse latest Browse all 20145

WordPress archive or a view on page?

$
0
0

Hi,

I have some issues.

I decided to make a Custom Post Type for an artist for his 'exhibitions'.

So ofcourse I want a list of exhibitions on the URL domain.com/exhibitions/, and from there you can click on the exibitions for more information, this needs to have an URL domain.com/exhibitions/exhibitions-library-almere/. Also it needs to be clear for Yoast breadcrumbs that exhibitions is the parent of

1) So, with the CPT I checked the has_archive option. In this scenario everything is working. The Yoast breadcrumbs shows exhibitions achive page as parent and the URL's are how it should be. The only problem I'm facing is that is seems that I have limitid possibilities to work/change the exhibitions archive page. I can change how it looks, but for the rest I'm missing al the important things I can do when I create a view, like changing the order on the archive page. Why does the wordpress archive not have the same possibilities as when I create a view?

2) Because I could not arrange the order of the archive items in the way I want, based on the date of a custom field, I made a normal page called 'exhibitions', with the idea to include a view in there. For this page to work I had to uncheck the has_archive option on the custom post type, which is not a problem if this would work ofcourse. The problem here is the URL's are still OK, but in the breadcrumb it is not clear the this 'exhibitions' page is the parent of those exhibitions. So, not working either.

3) The last thing I tried is to give the CPT exhibitions the parent 'page', but when I select that exhibition page described in 2 as a parent, then still the breadcrumb is not showing me the parent.

So, to summarize, it seems that my only option is a wordpress archive, which is not good also because I can not change that expect from how it looks.

Please help :-).

Kind regards,

Willem-Siebe


Viewing all articles
Browse latest Browse all 20145

Trending Articles