
Shihabiiuc Post Grid
v1.0.0Shihab Ul Hoque · 2026年11月26日 上架
Show your latest blog posts in a clean card grid or masonry layout. Works with Elementor, the block editor, and any theme via shortcode.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 0
- 最近更新
- 2026年11月26日
贡献者
截图




Shihabiiuc Post Grid shows your newest blog posts as cards. Each card has a featured image, the post title, a short excerpt and a “Read More” button. The image, title and button all link to the post.
It works almost anywhere:
- Elementor: drag the Shihabiiuc Post Grid widget onto your page.
- Block editor (Gutenberg): add the Shihabiiuc Post Grid block.
- Any other theme or page builder: use the
[shihabiiuc_post_grid]shortcode.
Elementor is not required. If Elementor is installed, the widget appears automatically.
Features
- Shows the 3 latest posts by default. You can show 1 to 24.
- Equal-height grid: images are cropped to 1200 × 628 from the center and the buttons line up.
- Masonry grid: images keep their original proportions.
- 1 to 4 columns. Tablets show up to 2 columns and phones show 1.
- Excerpt length in words (30 by default, or 0 to hide it).
- Filter by category, skip the newest posts (offset), and hide the post being viewed on single post pages.
- Custom “Read More” text, with a right-chevron icon.
- Change the title color and size, excerpt color and size, and the button background, text color, padding and font size.
- Card border (1px solid #cfcfcf by default), border radius, padding, background and gap are all editable.
- A built-in placeholder image for posts without a featured image.
- Lightweight: one small stylesheet that loads only where the grid is used, and no JavaScript on the front end.
- Translation ready.
Shortcode
The basic shortcode shows the 3 latest posts:
[shihabiiuc_post_grid]
Every option is available as an attribute:
[shihabiiuc_post_grid posts="6" columns="3" layout="masonry" excerpt_words="20" category="news,tips" offset="0" exclude_current="yes" read_more_text="Continue reading" title_color="#111111" title_font_size="22" excerpt_color="#555555" excerpt_font_size="15" button_bg="#ff6600" button_color="#ffffff" button_font_size="14" button_padding="10px 22px"]
Content attributes
posts: number of posts, 1–24. Default3.columns: desktop columns, 1–4. Default3.layout:grid(equal height, cropped images) ormasonry. Defaultgrid.excerpt_words: excerpt length in words, 0–100. Default30.category: category slugs or IDs, separated by commas. Default: all categories.offset: number of newest posts to skip. Default0.exclude_current:yesorno. Hides the post being viewed. Defaultyes.read_more_text: button text. DefaultRead More.title_tag:h2,h3,h4,h5,h6,pordiv. Defaulth3.
Style attributes (colors are hex or rgb/rgba; a number without a unit means pixels)
title_color,title_font_sizeexcerpt_color,excerpt_font_sizebutton_bg,button_color,button_font_size,button_padding(for example10px 22px)card_bg,border_color,border_width,border_radius,card_padding,gap
Need a custom WordPress website?
This plugin is built and maintained by Shihab, a WordPress developer. If you need a custom theme, plugin or Elementor website, get in touch or visit shihabiiuc.com.