Navigation überspringen

[Gelöst] Help setting up custom post types & taxonomies

This support ticket is created vor 1 year, 3 months. 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
- 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 -

Zeitzone des Unterstützers: Asia/Kolkata (GMT+05:30)

Dieses Thema enthält 5 Antworten, hat 1 Stimme.

Zuletzt aktualisiert von Minesh vor 1 year, 3 months.

Assistiert von: Minesh.

Author
Artikel
#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?

versteckter Link (all listings)
versteckter Link (only agricultural listings)
versteckter Link (only plant & machinery listings)
versteckter 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
Unterstützer

Sprachen: Englisch (English )

Zeitzone: 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.

versteckter Link (all listings)
==>
Create post type "Machinery"

versteckter Link (only agricultural listings)
==>
Create post type "Agricultural"

versteckter Link (only plant & machinery listings)
===>
Create post type "Plant Machinery"

versteckter 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:

versteckter Link
versteckter Link
versteckter Link
versteckter Link

#2799639

Minesh
Unterstützer

Sprachen: Englisch (English )

Zeitzone: 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:
- versteckter 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:
- versteckter Link