On upgrading Wordpress

This is episode 1 in the “building a public test Gregobase instance” for the purpose of testing PRs outside of prod.

So, I have installed the latest Wordpress on a fresh Debian forky with PHP 8.4 (+apache2 and mariadb) because why not, might as well crash into modernity.

Database import went smoothly : see and enjoy https://test.gregobase.marteo.fr/scores.php

Obviously there are no images (they live outside of the DB and are not versioned) and history is broken because user data is not exported into gregobase dumps. But that’s not an issue: we can always recreate the clean images, import the source images, and make up fake user data that covers the user_ids seen in the prod data.

My present stumbling block is the site’s layout and particularly the navigation bar, which is visbly absent. The navbar is inherited from the Wordpress theme.
Gregobase’s theme is based on Thematic https://github.com/ThematicTheme/Thematic
which is awesome but incompatible with any remotely modern version of Wordpress.

I am very bad at Wordpress in general, but I guess the simplest way would be to remove the dependancy to Thematic and go for a newer generic customizable theme.

Anyone with some Wordpress skills to validate that?

Another serious option (imho) is to eliminate the reliance on Wordpress altogether and use an actual PHP framework for user data (and recreate blog posts, if needed, in that framework)

To avoid the inconveniences of WP themes, I used rather WP builders who don’t use themes: Oxygen & Breakdance. Etch appears to be the newbie in the matter.

Now, with the trend toward headless CMS, I’m also looking beyond WP: Payload, Strapi…

1 Like