Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

Alastair Howard
Alastair Howard
9,224 Points

Replacing incompatible plugins and stopping auto update

I am using Custom Content Type Manager which is no longer compatible with the latest version of WordPress. I need to replace the plugin but whenever I try and setup and access my pre-updated WordPress site on localhost, WordPress updates my database when I go to wp-admin - thus making it impossible to access CCTM plugin (as it is whitescreening in the latest WP) so I can't see the original post data to put it into a new plugin. Any ideas on how to stop WordPress updating or an alternative way of switching the custom post plugins please?

Thanks a lot!

2 Answers

Sue Dough
Sue Dough
35,800 Points

You can stop auto updating by putting the following into your wp-config.php file.

define( 'AUTOMATIC_UPDATER_DISABLED', true );"

This can be good if you want to test before it auto updating. Please keep in mind going back to a recent version of WordPress has security vulnerabilities and is a bad thing to do.

You can find old versions of every plugin and WordPress itself on wordpress.org .

I suggest trying to reach out to the author for plugin issues.

Alastair Howard
Alastair Howard
9,224 Points

Thanks for your answer - really appreciate it. This certainly solves the auto update issue.

Alastair Howard
Alastair Howard
9,224 Points

I thought I would add answer to my own question, in case it helps others.

ghost code was certainly spot on about the auto update - thanks. To get around the issues of a white out on the plugin I disabled pretty permalinks. However, what I didn't appreciate at the start and so was the penny dropping moment is that all the custom post type data is held in the SQL database. Therefore all that I had to do was install and activate a new plugin, remove the old one, and hey presto the custom post data would be displayed in the dashboard in the new plugin because it already exists in the database.

As ever, this was a simpler problem than I first thought!