Using Image Hover Effects in Widget Areas

2 min read Updated

You can show any hover effect gallery in a widget area, such as a sidebar or a footer column. On current WordPress versions, widgets are blocks, so you add the plugin’s Image Hover Effects block there and pick your style from a list.

Before You Start

  • ✅ Your theme supports widgets (most classic themes do; block themes use the Site Editor instead)
  • ✅ You have at least one saved style (see Creating Your First Hover Effect)

Step 1: Add the Block to a Widget Area

  1. Go to Appearance → Widgets.
  2. Open the area you want, for example Main Sidebar or a footer section.
  3. Click the + button and search for Image Hover.
  4. Click Image Hover Effects, the one with the pink icon, to add it.
The Image Hover Effects block found in the widget area inserter, with a Wildlife gallery already in the Main Sidebar

The results may also show Image Hover Effects Ultimate. That is the plugin’s classic widget: it has one Style ID field where you type the style’s id by hand, for example 50. The block is easier, because you pick the style from a list and see the gallery right away.

Step 2: Pick Your Style

Until you pick a style, the block says “Select an Image Hover style from the block settings panel”. In the settings panel on the right, under Image Hover Effects, open Select a Style and choose one of your styles, listed by name and id, for example Wildlife (#50). The gallery appears in the sidebar.

The Image Hover Effects block in the Main Sidebar widget area with Select a Style set to Wildlife

Click ✏ Edit Style to open the style in the Image Hover editor in a new tab. When you’re done, click Update at the top of the Widgets screen.

  • Add a Shortcode block and paste the style’s shortcode, for example [iheu_ultimate_oxi id="50"].
  • If your site uses the classic widgets screen, paste the shortcode into a Text widget; the plugin lets Text widgets run shortcodes.

Copy shortcodes from Image Hover → Shortcode; see Image Hover Effects Shortcode.

Tips

  • Sidebars are narrow: set Column Size to 1 or 2 in the style, so images stay big enough.
  • Show a few images only; three to six fit most sidebars.
  • Square images look best in narrow columns.

In posts and pages, the same block works too: see Using the Native Gutenberg Block. Something not showing? See Hover Effects Not Working. WordPress explains widget areas in its widgets guide.

Still stuck?

A developer who works on Image Hover Effects answers every ticket.

Open a ticket