How to Replace Display Widgets Plugin without Losing your Settings

You are here:
Estimated reading time: 2 min

In September 2017. the popular Display Widgets plugin was removed from the WordPress plugin repository because it was hacked.

Why the plugin was removed is detailed in this post by WordFence

What to Do if you have Display Widgets Installed

If you use the WordFence Security plugin on your website, you were already alerted in your WordPress dashboard about the Display Widgets vulnerability. Hopefully, you already updated the plugin.

For users who do not update regularly, it’s imperative you sign in to your WordPress site and update the Display Widgets plugin immediately. Otherwise, your site may display spam or malware.

Since Display Widgets has now been restored to the pre-malicious event status (v. 2.05), once you update it to version 2.7, your site is safe.

However, the plugin will no longer be maintained. Another issue with the clean update to version 2.7, it will continue to show in your dashboard that the plugin needs to be updated. For these reasons, it is recommend to install an alternative plugin.

Alternative Plugins

These are a few of the plugins that can replace Display widgets:

How to Replace the Display Widgets Plugin and Transfer the Settings

If you have a lot of widgets that were customized using the Display Widgets plugin, there is a way to transfer the settings.

Installing the Widget Options Plugin

First, install the new plugin before deleting the old one by following these steps:

  1. Log in to your WordPress dashboard.
  2. Click Plugins > Add New.
  3. Search for Widget Options.
    WordPress plugin search bar
  4. From the results, find Widget Options then click Install.
    install widget options plugin from WordPress repository
  5. Once the plugin is successfully installed, click Activate.Active the Widget Options plugin

Transferring Settings from Display Widgets to the New Plugin

Now that the new plugin is activated, open each widget and transfer the settings following these steps:

  1. Click Appearance > Widgets.
    Appearance widgets in WordPress dashboard
  2. In the widget area list, expand the first widget area.
  3. Open each widget and copy the Display Widgets information into the Widget Options section. Go through the list carefully and make sure to select the following in the new plugin:
    • Hide/Show on checked pages
    • Select all pages, posts, taxonomies that were selected in Display Widgets.

    Transfer the Display Widget plugin settings to the Widget Options settings

  4. Click Save.
  5. Click Close.
  6. Repeat this process for every widget in every widget area.

Testing the Widgets

Once you finish transferring the settings for every widget, go back to Plugins and deactivate Display Widgets.

Do not delete the Display Widgets plugin until you test the site because you will not be able to reinstall it to recover your settings.

Once the old plugin is deactivated, TEST YOUR SITE. Go page-by-page and make sure your widgets are displaying on the correct pages. Once you are satisfied everything is correct, it’s safe to delete Display Widgets.

h/t: Thanks to Lise Galipeau for alerting me to the issue.


Reader Interactions

Leave a Reply