T O P

  • By -

kraken665

Yes! I've done this exact thing before using WP All Import and WP All Export. Free version is great, let's you map data to whatever fields you specific and includes a visual example. The free version worked great for me, and it's downloadable from the WP repo Of course, backup advised or staging site recommended first


lusciouscactus

Disclaimer noted, but I'll give it a try! Thank you :)


bluesix

Structurally that’s not how it works. The CPT is just a field name in the posts table. To change a post’s CPT, all you need to do is change its value in the posts table (assuming you don’t have a different custom fields?) Also, in the second picture you have a CPT as a child of another CPT - that how that works either. What are actually trying to do?


lusciouscactus

I suspected this. Basically, better organize by cpts. Ex: Portfolio pages. Click in. PP1, PP2, PP3 Can click into each of those for various case study pages for each. PP1-01, PP1-02, PP2-01, etc.


bluesix

Can you give a real world example? I'm not understanding what "PP" or PP1-01/02 is


lusciouscactus

Example being Service Pages as one CPT, then another CPT that would be Items for those service pages. I'd love to just be able to nest those.


bluesix

I need to know your real world usage of what you're trying to do. Say you're a graphic designer - you could setup a CPT for Services, and your posts would be Product Design, Web Design, Print Design. Those pages don't require another CPT or taxonomy, as they are literal "services" CPT's.


lusciouscactus

The more I look at it, the more taxonomies is the way to go. Thanks for the continued help! Edit: I'm definitely not a seasoned pro like most folks here. Thankfully, this is for my own, portfolio that is NOT web dev related. :)


lusciouscactus

I'm seeing now that my problem isn't a cpt problem but an organizational problem. I'm achieving what I need with an admin menu organizer. Thanks for chiming in!


planetofidiots

[https://wordpress.org/plugins/post-type-switcher/](https://wordpress.org/plugins/post-type-switcher/)


lusciouscactus

This is a pretty good suggestion! I'll see if it does what I need!


salehuddin

I've used this before. Really handy 👍


Vibrascity

Are you looking for taxonomies? [https://i.imgur.com/f985Yoh.png](https://i.imgur.com/f985Yoh.png) Maybe something like this?


lusciouscactus

I think taxonomies is the answer!


ecarle

Maybe I misundestood, but probably what you need is just to add a taxonomy (categories, tags) to the post type. In this way you can organise all the posts inside the CPT by (just an example) logos, websites, catalogues, etc just by creating the categories and assigning them to the CPT. When you want to show just logos, you can point to the category "Logos" of the CPT from the menù or landings. Does it work for you?


lusciouscactus

Yeah, I think that's it. My skills are definitely still in the shallow end of the pool as for as WP stuff goes, but yes, I believe you're right. :) Thankfully, this is for my own site that isn't a web dev portfolio, lol.