Site Tweaks
The simple Wordpress "query loop" block addition which can list posts from certain categories. It is 2026 and WP needs me to install a spammy, bloated, paid plugin for this and look my customer in the eye? No way.
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/tdude/site-tweaks/archive/refs/heads/main.zipReadme
Site Tweaks (WordPress plugin)
Small site-specific plugin for displaying cards from a specific post category in the Gutenberg loop block. Each card can have an arbitrary URL if needed.
Features
1) Kort-URL (Card URL) for posts
Adds a Gutenberg sidebar panel on posts: Kort-URL.
- If set, post “cards” (Query Loop / Post Title / Featured Image / Read More) will link to this URL.
- If empty, cards link to the normal single post permalink.
Meta key: _site_tweaks_card_url.
2) Query Loop-kategorifilter
Lets you restrict and switch categories for Query Loop blocks via ?cat=....
What this plugin does
Category override logic
When a (targeted) Query Loop block renders:
- If URL has
?cat=<ID>and<ID>is allowed, it uses that category. - Else if a default category is configured, it uses the default.
Hardening:
- Only
publish no_found_rowsenabled- sticky posts ignored
Setup
- Activate:
WP Admin → Plugins → Site Tweaks. - Configure:
WP Admin → Settings → Site Tweaks.
Target which Query Loops are affected
- All Query Loops: enable “Tillämpa på alla Query Loop-block”.
- Specific Query Loop only: add CSS class
filtered-loopto the Query block.
Front-end usage
Example: /start/?cat=123
Find category ID: WP Admin → Inlägg → Kategorier then open the category and read tag_ID from the URL.