Skip Navigation

[Resolved] Custom archive page design not being used

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

Problem:
Client has designed a custom archive, but when visiting it on the front-end the design is unchanged from the standard theme archive design.

Solution:
The Jupiter theme uses a bespoke system for outputting the archive, and it is not possible for Toolset to modify it.

You would need to create a child theme and make an archive.php file which uses the WordPress standard for outputting the archive.

This support ticket is created 6 years, 5 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
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 5 replies, has 2 voices.

Last updated by Nigel 6 years, 5 months ago.

Assisted by: Nigel.

Author
Posts
#1089207
layout3.JPG
layout2.JPG
layout.JPG

I am trying to:

customize the archive pages but this does not seem to work i can see the pages in the edit layout section as per screen shot but clicking on the preview layout or save lay out nothing on the site updates or the page is not created..

#1089484

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Wayne

Does this just happen with preview?

Your screenshot layout3 is of the "old layout". Does that mean there is an existing Layout assigned to the inspiration archive which you have edited and are previewing the changes before saving them? Or there is an existing, assigned, Layout and you are making a new alternative one that you are trying to preview, but there is still the old Layout assigned to the archive?

#1090105

seeing the theme archives looks like it not creating a new one to override the existing one

Feel free to take a look and try out with the

hidden link

Log in details...

hidden link

Thanks

Wayne

#1090194

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Wayne

I checked your site, saw the problem, suspected it was a theme compatibility issue and so switched to twentyseventeen, where the problem is resolved.

Looking in our internal tickets I see that the Jupiter theme uses a bespoke system for displaying WordPress archives, not the standard WordPress templating system, and our developer looked at that and concluded that there is nothing we can do on our side to get this to work.

We have some discussions with the theme authors ongoing, but essentially require some changes on their part before custom archives will work.

In the meantime it's just not possible with that theme, I'm afraid.

#1090198

This is not what i wanted to here:-( what customization needs doing i do not need any of the theme default custom archive page ...

#1090200

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Well you would need to copy the archive.php file to your child theme.

If you only need to customise the inspiration archive then you can rename the file archive-inspiration.php.

You'll then need to edit that file and modify it.

I took a quick look, here is how it looks:

<?php
/*
** archive.php
** mk_build_main_wrapper : builds the main divisions that contains the content. Located in framework/helpers/global.php
** mk_get_view gets the parts of the pages, modules and components. Function located in framework/helpers/global.php
*/

get_header();


mk_build_main_wrapper( mk_get_view('templates', 'wp-archive', true) );


get_footer();

All of the customisation happens with that mk_build_main_wrapper function, which you need to remove and replace with a standard archive loop.

Check the archive.php file for the standard themes (or the _s starter theme: hidden link) to get an idea of what is required.

Specifically, the Loop section should output the content of posts using the standard the_content() function.