Skip Navigation

[Resolved] Help setting up custom post types & taxonomies

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 1 voice.

Last updated by Minesh 5 months ago.

Assisted by: Minesh.

Author
Posts
#2799536

Hi,

I purchased this plugin as I have a website I'd like to create for selling various types of machinery. Only I will be adding listings to this website, approximately 5-10 a month.

I've broken the business down into 3 main categories:

1) Agricultural Equipment
2) Plant & Machinery
3) Commercial Vehicles

How would I structure the post types & taxonomies to achieve the following URL structure?

hidden link (all listings)
hidden link (only agricultural listings)
hidden link (only plant & machinery listings)
hidden link (only commercial listings)

Is it possible to do something like this?

I appreciate that this might not be very clear so if you have any questions then please let me know.

Thanks,
Alfie

#2799586

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

If you want such a listing as you mentioned then you will have to create post type.

hidden link (all listings)
==>
Create post type "Machinery"

hidden link (only agricultural listings)
==>
Create post type "Agricultural"

hidden link (only plant & machinery listings)
===>
Create post type "Plant Machinery"

hidden link (only commercial listings)
===>
Create post type "Commercials"

You can follow any of the courses we offer that might help you:
=> https://toolset.com/course/

#2799613

Hi Minesh,

Many thanks for your response.

Would it be possible to have all of the posts automatically list on the "Machinery" page from the other categories?

I'd like to have the main archive page, "Machinery", and I would also like to have pages for each different category.

Kind regards,
Alfie

#2799616

For instance, on the homepage I would also like to have a "Most Recent" section that pulls in the 6 most recent machines I've listed (from all categories).

#2799617

Or alternatively, if the above wouldn't be possible. How would I go about doing something like this:

hidden link
hidden link
hidden link
hidden link

#2799639

Minesh
Supporter

Languages: English (English )

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

Would it be possible to have all of the posts automatically list on the "Machinery" page from the other categories?

I'd like to have the main archive page, "Machinery", and I would also like to have pages for each different category.
===>
Yes - you can have post type "Machinery" and then you can add taxonomy "Machinery Types" and add terms to caregorise your Machinery posts.

In this case please note that the possible URL format will be:
- hidden link

And for taxonomy archive - Lets say you hve taxonomy term added "Commercials" to the taxonomy "Machinery Types". Then possible URL structure for taxonomy archive will be:
- hidden link