Problem:
Here's what I want to do:
- Have a custom post type called Lawyers (uses the slug: 'lawyers' and posts are shown at mydomain.com/lawyers/post123)
- Have a page at mydomain.com/lawyers that shows the Lawyers posts.
So I'd really like to be able to have no archive for lawyers, and instead have a page I can build using different tools.
Solution:
There isn't such a straightforward way to achieve it within Types plugin, and it is a limitation of WordPress, for example, the the page "lawyers" URL is:
domain.com/lawyers/
you create a lawyer post "2", the URL is:
domain.com/lawyers/2/
Wordpress will take above URL as second pagination of page "lawyers".
I suggest you try this:
1) Remove the page "lawyers"
2) use "lawyers" as slug of post type "lawyers"
use Views wordpress archive to customize the archive page of post type "lawyers":
domain.com/lawyers/
Relevant Documentation:
https://toolset.com/documentation/user-guides/normal-vs-archive-views/
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)
This topic contains 5 replies, has 3 voices.
Last updated by 6 years, 6 months ago.
Assisted by: Luo Yang.