• Resolved neovera

    (@neovera)


    Unfortunately you will not be able to see the link as it is in a password-protected staging environment.

    I updated the theme on our WordPress site to Astra from Bridge. I know the previous developer applied a lot of code on the old theme, and it seems there’s some still overriding the new theme whenever you go to a category page ( you can see what the old theme looked like at https://www.neovera.com/category/cyber-security).

    If I create a new category, there is no issue. So it seems the code is only connected to the categories that were originally on the website.

    I believe the code applied was to modify the look of the category query page, i.e., several blog posts show up on one page as opposed to a feed that only shows one subsequent post at a time. When I’m editing in the sandbox, everything looks fine – the issue is only seen when exiting out of the WordPress dashboard.

    Also of note – the old theme (Bridge) has been deleted from the site. I’m not sure where to access this code to override it if the theme isn’t even on the site any more – any ideas on how to fix this problem?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • I noticed you have some hard links on the old site to certain categories. Is it possible your category links are pointing at the old site??? I’ve done things like that and missed the real cause.

    Maybe you copied the menu items under resources over verbose and they were absolute instead of relative? Same with that list of categories on the main page maybe?

    Did you try a cache flush? That’s the only thing I can think of that would bring residual artifacts up when a theme has been changed?

    I’m thinking a proxy box out front?

    It’s semi-possible there’s some custom header, body, and footer stuff done to the posts but I can’t think of a way to have done that for a category page as, again, those changes would have ‘went out the door’ with the old theme.

    One more thought would be a child theme but then that would have choked when the dependencies would have tried to find the old theme.

    Otherwise, I don’t know the answer but I sure do admire the problem!

    Thread Starter neovera

    (@neovera)

    Turns out all I needed to do was a cache flush… I’m glad it was that easy of a fix.

    Thank you, @jnashhawkins for your help! Would love to ping you in the future if we run into any more problems.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Old Theme Overriding New Theme with Category Query’ is closed to new replies.