A question for developers: Use the same Custom Post Type as a base but with two different user interfaces and URLs for the archive and single templates

[ad_1]

Let’s say I have a custom post type called **Items**.

I also have an archive.php and a single.php file to display those at */items* and */items/whatever-slug*

Now, I want to add a different user interface, keeping the old one.

It means, I want to display the archive and single views under */new-url/items* and */new-url/whatever-slug*

Being WordPress, there must be a ton of ways to achieve this.

How would you do it?

I am not asking for copy paste code, just the overall architectural approach you would take. I will of course think about it and generate all the code I need.

Thanks.

[ad_2]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer