Skip Navigation

[Resolved] How do I duplicate an Archive template?

This thread is resolved. Here is a description of the problem and solution.

Problem:

I want to duplicate an Archive template, using Blocks editor

Solution:

There isn't such kind of built-in feature within Toolset Blocks plugin, and the client shares a workaround to duplicate the Toolset WordPress archive with code editor:

See the video here:
https://youtu.be/ARrqnQLw8hU

Relevant Documentation:

100% of people find this useful.

This support ticket is created 4 years, 10 months ago. 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
- 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 10 replies, has 5 voices.

Last updated by Luo Yang 3 years, 7 months ago.

Assisted by: Luo Yang.

Author
Posts
#1508215

Tell us what you are trying to do?
I want to duplicate an Archive template, using Blocks editor

Is there any documentation that you are following? No

Is there a similar example that we can see? No

I have 2 Archive templates, one has copied content from the other. However, if I try to edit the one, it always opens the other.

And there's also no way to duplicate an Archive template.

I'm using the latest versions of the Toolset plugins.

#1508333

Hello,

What kind of Archive template are we talking about?
Is it created with some other plugins/theme?
Please provide detail steps to duplicate the same problem, if it requires other plugins/theme, please provide downloadable URL for them, thanks

#1508337

A Toolset Archive, created from Toolset > WordPress Archives, for a CPT created by Toolset.

I have create an Archive Page Template for a CPT taxonomy. I want a similar Archive with small changes for a different taxonomy.

At the moment, the only way would be to open the existing Archive Page Template I created in Block Editor and using 'Copy all content'...

#1508363

Temporary answer:

Open the CPT Archive to duplicate in Blocks Editor.
Change from 'Visual' to 'Code Editor' and copy the page code.

Create new CPT Archive, view in 'Code Editor'.
Paste the page code.
Delete the information that causes problem, viz:

<!-- wp:toolset-views/wpa-editor { /// DELETE ALL THIS -> "reduxStoreId":"views-editor-1581668972563","viewId":85735,"viewSlug":"home-countries","previewId":85740,"insertExisting":0,"wizardDone":true,"wizardStep":3 <- UP TO HERE///,"align":"full"} -->

Because if you don't delete this, that's where the problem starts with the templates mixing up.

#1508437

To avoid more misunderstandings, as I mentioned above, please provide detail steps to duplicate the same problem:
How and where do you create the "Archive Page Template for a CPT taxonomy"?
How and where do you use 'Copy all content'?

I need to test and debug it in my localhost

#1508455

I made a video for you to see what I'm doing : hidden link

#1508481

Thanks for the video, there isn't such kind of built-in feature within Toolset Blocks plugin:
Duplicate the WordPress Archive.

So you will need to do it manually, same as your video.

You can also add a feature request for it, our developers will evaluate it:
https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/

#1806245

It would be nice if we could see the solution, other people have the same problem!
I have 2 similar CPTs that are built with Toolset. I want to duplicate the archive from the first CPT where I worked hours on styling and use it for the second CPT and just change out a couple of fields.

#1976955

Any luck with this I have to create 6 archives almost identical but with 2 fields different on each.

Thanks

#2043069

Pls, make the video available to others.

#2047071

Updated summary with video link