Archives have incorrect text

Hi I recently asked for support about styling my archive pages and it worked a treat. however I have noticed another real issue with a few pages and was hoping you could advise me how to correct this:

Some pages which are listed in my tag archives don’t have current up to date text in them for example this page : https://www.elasticlounge.com/tag/jazz-swing-bands-devon shows incorrect text and it is not pulling the text from the main pages (pr at least not current info) The main page is :

I have tried to remove the tag for this page and update and then reapply but it still shows the other text is there a way to correct this to get current text ?

Hello,

Is this problem occurring with other archives or only this? I have checked your site and to investigate it better, can you provide to us your WP credentials in a secure note, please?

Ensure that you`re using the latest version of our products and disable any cache plugin and clear it after.

Hi

Yes it happens on multiple archive pages and also happens multiple pages appearing in those archives. I am using the latest version of theme x and I disabled cache and made no difference.

Thought I should mention I am using archive pages rather than posts

I will attach my login in the secure area in moment

Thanks

Tim

Hi Tim,

You said you have disabled cache. Did you purge the cache before disabling it? It is important to clear cache first and then disable it. This is so we can have updated content. Try that and let us know how this goes.

Yes I did purge the cache before disabling it. Do you know what the problem is ?

Hi,

May I know which cache plugn did you use.

Do you mind installing it back again.

We don’t see anything that could cause the issue besides the cache.

You can try the following depending on the plugin you are using.


Hope that helps

Hi Paul

Sorry but I am finding this process slightly frustrating. Why did I provide support with log in details to my site ?

Its not the cache you should be able to tell this by the fact it is still an issue with the cache disabled ? Why do you need me to tell you the cache plugin name ? I gave passwords to look at my site to try to resolve or give me advise ?I would have hoped you could identify the cache plugin ?

I have also spoke to yoast and Site Ground its not a cache issue and they said it should be supported by the theme developer

Hi,

Sorry about that, the login provided was not working when I checked and still not working.

Kindly check again and let us know.

Upon checking again, I can see the Tag Archive page is pulling pages as it’s content which shouldn’t be.

We need to know if you have modified the tag template to pull pages instead of post?

Can you provide us your ftp login so we can check the codes in your archive template.

Thanks

Hi Paul

Apologises I didn’t think anyone was going to look at my site so I changed my log in credentials again. I have included these in private below.

I am using a plugin called Post Tags And categories for Pages so yes I am using pages to be pulled for archives instead of posts. I know its a third party plugin but it was recommend by one of Theme x support team so would you mind having a look at the code ? and seeing if there is an easy fix ? I take it that it is using info from when I set the tags but even when I remove and reapply a tag the text remains out of date and does not relate tot the act (subject)

I have the tags etc throughout my site to be used as filters so if there is any way of correcting without deactivating and reinstalling that would be fantastic !

Any help would be greatly appreciated :slight_smile:

Regards

Tim

Hey Tim,

You are right about cache plugin, When I activated default theme I was able to see correct content in tag archive(in fact all the content was being fetched from main post).

A weird thing that I noticed is, When I have activated main X theme(parent theme) there was blank page with sidebar in tag archive page as well as post page.

Is there any modifications you have applied to any PHP files in X theme?

Regards

Hi Rahul

Thank for looking into things I am not aware of any changes done to my PHP files in X theme but I should be using a child theme ? I have noticed that the functionality of the homepage in cornerstone is strange and I am unable to chance find sizes etc but unsure if this is related. I am not saying someone from essential gird or theme x hasn’t made changes to my PHP but I don’t think I am aware of anything being done. Is it a major issue ? Is there a way to remove it ? I’ve actually never seen this before.

Have you any thoughts about the tags and the best options to resolve the issue ?

Thanks so much for looking into things Rahul

Hi there,

Looks like you enabled Tag and Category taxonomy for Page type, I’m not sure if it’s the cause but would you mind providing your FTP login credentials as well? Activating the main theme goes blank because the tag/category taxonomy for Page type is inactive too, so it must be child theme related.

Thanks!

Hi Iam

Thanks for your response yes as I mentioned to Rahul I am using a plugin to create categories and tags on pages (recommended by theme x support) I am heavily invest in them now as I am using these on multiple grids throughout the site for filters. So any help you can give to resolve this issue would be greatly appreciated,

My login in is included in a secure note

Thanks

Tim

Hi there,

I mean the FTP login credentials, not the admin credentials.

Thanks!

Oh ok I take it you mean my host I’ll attach

Hi there,

I did the troubleshooting and found out that the codes output the correct content the_content() and the_excerpt(). What I’m not sure is where that wrong content is coming from. It looks like appended to the_excerpt()

I’ll continue checking but for now, I enabled the manual excerpt for those pages. I added this to your child theme’s functions.php

add_post_type_support( 'page', 'excerpt' );

Now, you just need to edit your page and find Excerpt section and add your text that you wish to display on archive pages.

Thanks!

Thanks so much for the great support the changes you have made have certainly enabled me to clean up all my archives and be able to launch the business so I am very grateful. thanks for continuing to look into this and hopefully there will be a full solution ti the issue.

Rahul mentioned also that was a blank page with sidebar in tag archive page as well as post page when he activated main X theme(parent theme) after testing on a. default theme Do you have any insight into this ? is it something I need to be concerned about ?

thanks

Tim

Hi there,

Yes, it’s when you activate the main theme and it’s only normal since your custom codes are added to your child theme. Switching to any other themes will disable those custom codes and styling.

Thanks!

Thanks for the explanation

You are welcome!