Display Post: Show WordPress Posts with Hover Effects

4 min read Updated

Display Post (Pro) shows your WordPress posts as hover effect cards, without adding a single image by hand. Each post’s featured image, title and excerpt fill a hover style you already made, and the card links to the post. New posts appear on their own.

Before You Start

  • ✅ A Pro license is active (see Free vs Pro)
  • ✅ You have a saved General, Caption or Square style with at least one image item. This is the card design every post uses. Only these three effect types can be used.
  • ✅ Your posts have featured images

How Display Post Works

Display Post takes the first image item of the hover style you pick and repeats it once per post. For every post it puts in:

  • the featured image as the image (a post without one keeps the image of that first item)
  • the post title as the heading
  • the excerpt as the description (or the start of the post when it has no excerpt), cut to your word limit and ended with “…”
  • the post link as the link

Everything else comes from that style: the effect, colors, fonts, columns and the button text. So give its first item a Button Text such as “Read More” if you want a button on every card, or leave it empty to make the whole image the link.

Step 1: Create a Display Post Style

  1. Go to Image Hover and find Display Post under Extensions.
  2. Click Templates. There is one design, Design 1. Its preview shows a note instead of cards, because no hover style is picked yet; that is expected.
  3. Click Use this design, type a name (for example “Latest Posts”) and click Create and edit.

Step 2: Choose Which Posts to Display (Post Query)

The Post Query section picks the posts:

  • Post Type: post for blog posts, page for pages, or a custom post type such as products.
  • Author: only posts by these authors. Leave empty for all.
  • Category and Tags: only posts in these categories or with these tags (not shown for pages; for some custom post types the Category list stays empty). A post that matches either one is shown.
  • Include Post: show only the posts you pick here.
  • Exclude Post: never show these posts.
Display post editor with the Category set to Nature Journal and one post card hovered, showing its title, excerpt and Read More button

Step 3: Pick the Card Design and Order (Post Condition)

Open the Post Condition section:

  • Post Style: the hover style each post is shown with. The list has your General, Caption and Square styles by name.
  • Post Per Page: how many posts to show.
  • Excerpt Word Limit: how many words of the excerpt to show.
  • Offset: how many posts to skip at the start. Use 0 to start with the first post.
  • Order By: Post ID, Post Author, Title, Date, Last Modified Date, Parent Id, Random, Comment Count or Menu Order.
  • Order Type: Ascending (oldest or A first) or Descending (newest or Z first).
  • Image Size: which size of the featured image to load, for example medium or large. Pick one close to the card size so pages stay fast.
The Post Condition section with the Post Style Blog Cards marked, above Post Per Page, Excerpt Word Limit, Offset and Order By

Tip: The design starts with 8 posts, an Offset of 1 (it skips your first post) and the order Last Modified Date, Ascending (oldest first). For a “latest posts” grid, set Offset to 0, Order By to Date and Order Type to Descending.

Step 4: Save and Place Your Display Post Grid

  1. Click Save. The preview shows your posts as cards; hover one to check the title, excerpt and button.
  2. Copy the shortcode above the preview, for example [iheu_ultimate_oxi id="67"].
  3. Paste it into a page, or pick the style in the Gutenberg block or the Elementor widget. More ways in Image Hover Effects Shortcode.

Change the Look of the Cards

The Display Post editor has only Content (the settings above) and Advanced (Custom CSS). To change colors, fonts, columns or the effect, edit the hover style you picked in Post Style and save it; the Display Post grid follows. Keep in mind that other places using that style change too, so you can Clone it on the Shortcode page first and use the copy.

Load More

Post Condition also has a Load More switch with a Button or Infinite type, and a Load More Button section for its text and look. In the current version, the extra posts don’t load for your visitors, so leave Load More off and set Post Per Page to the number of posts you want to show.

Display Post Troubleshooting

  • “Set Initial Data How to Decorate your Display Post”: the style picked in Post Style has no image items. Add one item to that style and save it.
  • “Style Data not found”: no Post Style is picked, or that style was deleted. Pick a style and click Save.
  • “Image Hover Empty Data”: no post matches your Post Query. Check Category, Tags, Include Post and Offset.
  • Cards show the same picture: those posts have no featured image. Set one for each post; WordPress explains how in the Post Settings sidebar (Featured image).
Still stuck?

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

Open a ticket