Tell us what you are trying to do?
Take a look at hidden link. Films is a custom post created in Toolset views with the Valenti Theme 5.5.4. With the same settings in Toolset and all other plug-ins the same page on the staging server hidden link is the following under Valenti 5.6.1.
Is there any documentation that you are following?
I follow the Valenti update documentation for upgrading 5.5.4 in 5.6.1
Maybe you encounter that problem?
Thanks a lot for your help.
Hello, I'm not familiar with that particular theme but I can run some tests locally if you provide download links to the old and new versions. You can post the theme files to Drive or Dropbox and provide download links here in your next reply. Any URL you share in the forum is hidden from the public for your security.
Hello Christian,
Thanks for your quick answer.
Il do not have anymore the Valenti 5.5.4 (except on the site) but you can find the 5.6.1 here: hidden link
Thanks for you help!
Okay I installed this theme and I was able to see a list of posts in the Categories archive page. if you go to Toolset > WordPress Archives, do you have any WordPress Archives assigned to the Categories archive? If so, can you edit that archive and unassign it from Categories?
If not, I may need to log in and take a closer look.
Hi, I was not able to log in with these credentials. Can you check and provide an update here if necessary?
Thanks for the updated credentials. I don't see anything obviously wrong here, so I'm a bit stumped. I see that archives for other terms in the Category taxonomy are working well, for example:
hidden link
There seems to be something wrong with this one particular term, "films". As a test, I renamed the Films post type and chose a different slug. That didn't work. I also changed the slug of the "films" taxonomy term as a test, but that didn't work either. I created a test site using this theme, and set up the same post types and taxonomy terms, but the archive appeared as expected. So I am a bit confused about what is going on here. I'd like to make a clone of this staging site using the Duplicator plugin so I can share the problem with my 2nd tier support team for closer investigation. If you approve, I will go ahead and make that site clone and continue our investigation.
Thanks again for trying.
Films is the only custom post type made with Toolset.
Critiques is just a category done directly in WP.
That's the only difference I can see in the test you did.
In my opinion, something I did in the custom post type is not working with the new version of the Valenti theme.
If you can investigate it further by duplicating the site, please do it and let me know.
In the mean time, have an happy new year!
Hello, we're still investigating this and would like to compare Valenti 5.5.4 and Valenti 5.6.1. Since you no longer have access to the older version theme other than the live site installation, we could download the 5.5.4 theme from that site directly by installing the WP Downloader plugin: https://wordpress.org/plugins/wp-downloader/
Once that plugin is installed, it provides the ability to download a package of the current Valenti 5.5.4 theme files directly from wp-admin. If you provide login credentials for the main site, I will be glad to install the plugin and download the theme myself.
I will activate private reply fields here so you can share login credentials for the live site.
If you would prefer to download the theme files yourself, you can install the WP Downloader plugin on the live site, then download Valenti 5.5.4 from wp-admin > Appearance > Themes. Upload those files to Drive or Dropbox and provide a download link in your next reply. Let me know if you have questions about this.
Hello Christian,
Please find here the full Valenti 5.5.4 download:
hidden link
Have a nice day and thanks for your help,
-Eric
Okay got it, thank you. I can see that the older version of the theme contained this code in the template file archive.php:
<div id="cb-content" class="wrap clearfix">
<div id="main" class="cb-main clearfix cb-module-block cb-blog-style-roll" role="main">
<?php if ( have_posts() ) {
get_template_part('cat', $cb_blog_style);
} ?>
</div> <!-- end #main -->
<?php if ( $cb_blog_style != 'style-c' ) { get_sidebar(); } ?>
</div> <!-- end #cb-content -->
That code does not exist in the newer versions of the theme. Without the get_template_part function, the new child version of the theme does not effectively create the loop of results for the archive, hence no posts are shown. I'm not sure why the theme authors decided to remove the loop of posts, but perhaps it is because there is some other gallery or widget in the archive that is used to display the results of the archive in another format. I can't say for sure why they decided to make this change, but it is breaking Toolset's WordPress Archive feature because it relies on this list of posts to be produced by the theme. Without that template part, our WP Archive won't work here.
To solve the problem, I think you'll need to create a child theme with a modified archive template. I'll take a look and see what is possible, and give you an update later.
Okay sorry but I'm still having issues here. I was a bit confused when I posted my last reply, thinking that the issue was related to Toolset's WordPress Archives feature not working correctly. But I can see that your site does not use this feature, instead it relies on the default term archives created by the theme. Regardless, the Category archives are not working as expected on staging. So I tried a few different things. I updated to the latest version of Valenti and all its required plugins. There is also a data migration process in the main Valenti menu, so I ran that process, but that didn't help. I created the site clone and ran a few more tests locally, but even after downgrading to the older version of the theme, the Film posts did not show up in the Films Category archive page.
So I returned to the staging environment to see what would happen if I downgraded the theme. Unfortunately that does not seem to resolve the issue. Still I cannot see a list of Films appear at the /category/films archive URL:
hidden link
I even disabled Toolset and activated the required Valenti Engine plugin. I'm still not seeing any posts appear in the archive. I edited two native WP Posts and added the term "Films", but no luck. So I'm not exactly sure how the older version of the theme had this working. It seems that upgrading the theme resulted in some changes that are not backwards-compatible, meaning that once staging had been updated to the newest version of the theme it became impossible to recreate the display seen in production. So I'm a bit stuck in staging right now. If you want, I can create a clone from production since nothing has been updated there yet. Or, you can create the clone for me and provide a download link. Let me know how you would like to proceed.
I can create a clone of the website but that's pretty big (more than 2 Gb). Is that OK for you?
But I have a question following your remarks: "thinking that the issue was related to Toolset's WordPress Archives feature not working correctly. But I can see that your site does not use this feature, instead it relies on the default term archives created by the theme". Did you try to use the toolset wordpress archives feature to see if it works? I never tried that either...
Kind regards,
-Eric
I can create a clone of the website but that's pretty big (more than 2 Gb). Is that OK for you?
I would prefer to work with a clone that omits the wp-content/uploads directory, where most of the images and media files are stored. It won't be necessary to have that directory to perform most of the testing I need to perform. So if you can create a clone that excludes this directory that would be preferable, otherwise I can work with the 2 Gb archive, it will just take a bit longer.
Did you try to use the toolset wordpress archives feature to see if it works? I never tried that either...
Yes, I checked, and it does work to some extent. There was a WordPress Archive in place for the Film post type on the staging site ( I cannot seem to access that staging site now, by the way). It produces a simpler list format without the gallery of images and text over a black background at the top of the page. You could use WordPress Archives to create your own archive design for taxonomy archives, but the design you create with Toolset's WordPress Archives would override the design created automatically by the theme, so you would lose the gallery that is shown now.
Hello Christian,
Many thanks again for your time!
Please find here the archive of the current website w/o the uploads folder:
hidden link
As for the staging, I change my hosting provider and so it is normal you do not have anymore access. Let me know if you need it again and I will re-create it on the new hosting facilities.
Have a nice day,
-Eric