Home Page Short Keys
Here is the complete cheat sheet for all your custom shortcodes. You can mix, match, and combine these inside any WordPress page to build your custom homepage layout.
Remember, the Global Tracker is active across all of these. If a post shows up in the Hero Block, it will automatically be hidden from any Category or Mini List blocks below it to prevent duplicate posts on the same page.
1. The Hero Block Shortcode
This block is designed to sit at the very top of your homepage. It automatically pulls the 5 absolute newest published posts and arranges them into the 1 Large + 4 Grid layout.
Basic Usage:
Plaintext
[nm_hero_block]
(No parameters are needed for this block; it automatically handles the layout and queries the latest posts).
2. The Category Block Shortcode
This generates a grid of posts based on specific categories. You can control exactly how many posts show up, force specific posts to the front, or exclude certain posts.
Available Parameters:
cat_id: The numeric ID of the category (e.g.,cat_id="12").title: The heading displayed above the block.count: Number of posts to display (default is 3).priority_posts: Comma-separated Post IDs to force to the front of this block.skip_cats: Comma-separated Category IDs to exclude.skip_posts: Comma-separated Post IDs to manually hide.
Examples:
Standard Category Grid (e.g., pulling 6 posts for a main topic):
Plaintext
[nm_category_block title="FIFA World Cup 2026" cat_id="5" count="6"]
Category Grid with Pinned/Priority Posts (Forces Post IDs 105 and 88 to show first):
Plaintext
[nm_category_block title="Cricket Highlights" cat_id="8" priority_posts="105,88" count="4"]
Category Grid Skipping Specific Posts (Hides Post IDs 12 and 15 if you don’t want them showing up here):
Plaintext
[nm_category_block title="Premier League" cat_id="3" skip_posts="12,15" count="3"]
3. The Mini Widget List Shortcode
These are perfect for sidebars or tight columns. They create compact lists of posts, either with a small 1×1 image or as a highly scannable text-only list.
Available Parameters:
title: The heading for the widget box.count: Number of posts to display (default is 5).layout: Choose betweenimage_title(shows thumbnail) ortitle_only(shows just a text link).type: Choose betweenlatest(newest posts) orviewed(most popular posts). Note: ‘viewed’ requires your theme/plugins to be tracking post views.
Examples:
Latest 5 News with Small 1×1 Images:
Plaintext
[nm_mini_list type="latest" layout="image_title" count="5" title="Latest Updates"]
Most Viewed 5 News as Text-Only Links (Great for “Trending” sections):
Plaintext
[nm_mini_list type="viewed" layout="title_only" count="5" title="🔥 Trending Now"]
💡 Example: Full Page Layout Combination
If you are using the Gutenberg editor (or Elementor/Kadence blocks), you can create a highly professional layout by arranging the shortcodes like this:
Top Row (Full Width):
Plaintext
[nm_hero_block]
Middle Row (Split into 2 Columns – 70% Left / 30% Right):
Left Column (70%):
Plaintext
[nm_category_block title="Football News" cat_id="10" count="4"]
Right Column (Sidebar – 30%):
Plaintext
[nm_mini_list type="viewed" layout="title_only" count="6" title="Trending Matches"]

