Title: SMRK Toolkit
Author: SMRK studio
Published: <strong>November 11, 2026</strong>
Last modified: November 15, 2026

---

Search plugins

![](https://s.w.org/plugins/geopattern-icon/smrk-toolkit.svg)

# SMRK Toolkit

 By [SMRK studio](https://profiles.wordpress.org/hexcross/)

[Download](https://downloads.wordpress.org/plugin/smrk-toolkit.1.1.0.zip)

 * [Details](https://wordpress.org/plugins/smrk-toolkit/#description)
 * [Reviews](https://wordpress.org/plugins/smrk-toolkit/#reviews)
 *  [Installation](https://wordpress.org/plugins/smrk-toolkit/#installation)
 * [Development](https://wordpress.org/plugins/smrk-toolkit/#developers)

 [Support](https://wordpress.org/support/plugin/smrk-toolkit/)

## Description

SMRK Toolkit replaces a handful of small plugins with a single one. Each module 
below is switched on independently in Settings — enable only what you actually need,
everything else stays completely dormant.

 * **Duplicate** — clone any post/page/CPT in one click.
 * **Reorder** — manual drag & drop ordering for posts and taxonomy terms.
 * **Search & Replace** — bulk find & replace across the whole database, with a 
   mandatory dry run before anything is written.
 * **SEO** — meta title/description, Open Graph tags and an XML sitemap; automatically
   stays dormant if Yoast or Rank Math is active.
 * **Admin Notices** — collects and lets you permanently dismiss nagging admin notices
   from other plugins.
 * **Redirects** — a simple 301/302 redirect manager.
 * **Clean Filenames** — sanitizes uploaded file names (accents, spaces, uppercase)
   before they hit the Media Library.
 * **Czech Typography** — non-breaking spaces after single-letter Czech prepositions/
   conjunctions.
 * **Login Page** — moves the login form to a custom URL.
 * **Media Folders** — organizes the Media Library into folders.
 * **Monitor 404** — logs 404 hits so you can turn the frequent ones into redirects.
 * **SVG Upload** — allows SVG uploads, sanitized against XSS on the way in.
 * **Cookie Consent** — a GDPR cookie banner built on the open-source vanilla-cookieconsent
   library.
 * **Breadcrumbs** — a lightweight breadcrumb trail, themeable and available as 
   a template function.
 * **Backup** — one-click database export/import.
 * **Cleanup** — clears out old post revisions, expired drafts/trash and stale transients.
 * **Cache Lite** — full-page HTML cache with automatic invalidation on content 
   changes.

Every module page can be hidden from the WordPress admin menu independently (it 
stays reachable by direct link) and access to it can optionally be delegated to 
the Editor role — no permanent change to the Editor role itself, reversible at any
time. The plugin is entirely free and developed by [SMRK studio](https://smrkstudio.cz).

The uncompiled source of the bundled JS/CSS and the build steps are described in
the “Source code and third-party libraries” section below.

### External services

This plugin’s Cookie Consent module can optionally connect to Google Tag Manager(
GTM), a tag management service provided by Google. It is used to load the site owner’s
own analytics/marketing tags configured in their Google Tag Manager account.

 * **When:** only if an administrator enters a GTM container ID (GTM-XXXXXXX) in
   the Cookie Consent module settings. Without a container ID nothing is loaded 
   from Google. By default the GTM script stays blocked until the visitor accepts
   the “Analytics” cookie category in the plugin’s cookie banner. Only if the administrator
   explicitly enables the “insert unblocked” option is the script loaded on every
   page without waiting for consent (the site owner then manages consent inside 
   GTM), and in that mode a `<noscript>` iframe fallback for visitors without JavaScript
   is also output.
 * **What is loaded:** the script `https://www.googletagmanager.com/gtm.js?id=<container
   ID>` (and, in the unblocked mode for visitors without JavaScript, the iframe `
   https://www.googletagmanager.com/ns.html?id=<container ID>`).
 * **What data is sent:** the request to Google includes the container ID, the visitor’s
   IP address, browser information (user agent, language) and the URL of the visited
   page. Any further data collection (cookies, events) depends on the tags the site
   owner configures in their own GTM container.

This service is provided by Google LLC: [Google Tag Manager Use Policy](https://marketingplatform.google.com/about/analytics/tag-manager/use-policy/),
[Google Terms of Service](https://policies.google.com/terms), [Google Privacy Policy](https://policies.google.com/privacy).

The Cache Lite module’s optional preload only requests pages and the XML sitemap
of the site itself (its own `home_url()`); no data is sent to third parties.

### Source code and third-party libraries

The JavaScript/CSS bundles in `assets/dist/` are built with [Vite](https://vitejs.dev/).
The uncompiled, human-readable source is included in the plugin under `resources/
js/` and `resources/scss/` together with the build configuration (`vite.config.js`,`
package.json`, `package-lock.json`). To rebuild the bundles, run `npm install &&
npm run build` in the plugin directory.

Bundled third-party libraries:

 * [vanilla-cookieconsent](https://github.com/orestbida/cookieconsent) 3.1.0 by 
   Orest Bida (MIT license), bundled into the Cookie Consent frontend script from
   npm.
 * [enshrined/svg-sanitize](https://github.com/darylldoyle/svg-sanitizer) 1.0.0 (
   GPL-2.0-or-later), in `vendor/`, used by the SVG Upload module.

## Screenshots

[⌊The SMRK dashboard — enable/disable each module from one place.⌉⌊The SMRK dashboard—
enable/disable each module from one place.⌉[

The SMRK dashboard — enable/disable each module from one place.

[⌊The Permissions tab — hide a module from the admin menu and optionally delegate
it to the Editor role, per module.⌉⌊The Permissions tab — hide a module from the
admin menu and optionally delegate it to the Editor role, per module.⌉[

The Permissions tab — hide a module from the admin menu and optionally delegate 
it to the Editor role, per module.

[⌊The Cookie Consent module's frontend banner.⌉⌊The Cookie Consent module's frontend
banner.⌉[

The Cookie Consent module’s frontend banner.

[[

[[

## Installation

 1. Upload the plugin to `wp-content/plugins/smrk-toolkit`.
 2. Activate it in the WordPress admin.
 3. Go to SMRK  Settings and enable the modules you want to use.

## FAQ

### Does the SEO module conflict with Yoast SEO or Rank Math?

No. If either plugin is detected active, SMRK’s own SEO module automatically stays
dormant (even if switched on in Settings) so there is never a duplicate meta title/
description or duplicate sitemap.

### I forgot my custom login address / I am locked out. What now?

Without deleting the plugin: add `define( 'SMRK_LOGIN_PAGE_DISABLE', true );` to
wp-config.php (above the “That’s all” line) — the Login Page module is switched 
off and wp-login.php works again. Or with WP-CLI: `wp option patch update smrk_settings
modules login-page slug ''`. Remove the constant after you set a new address.

### Is it safe to run Search & Replace across the whole database?

The module always requires a dry run before anything is written, and it correctly
handles PHP-serialized values (so ACF fields, widget options and similar serialized
data are not corrupted the way a plain SQL find & replace would corrupt them). We
still recommend backing up your database first — the built-in Backup module can 
do that in one click.

### Can I let an Editor use a module without making them an Administrator?

Yes. On the Oprávnění (Permissions) tab of the SMRK dashboard you can grant the 
Editor role access to individual modules. This does not permanently modify the Editor
role — it can be revoked at any time and does not require any uninstall cleanup.

### How does Cache Lite serve pages before WordPress loads?

When the Cache Lite module is switched on, the plugin writes `advanced-cache.php`
into `wp-content` (in Bedrock `web/app`). With `WP_CACHE` enabled, WordPress loads
it right after `wp-config.php`, before the database and plugins, and cached pages
are sent straight from disk. The plugin also enables `WP_CACHE` with one marked 
line in `wp-config.php` (in Bedrock `WP_CACHE=true` in `.env`, if `config/application.
php` reads it from env). It never overwrites an existing `WP_CACHE` definition or
an `advanced-cache.php` that belongs to another cache plugin. If something cannot
be written (file permissions, read-only deploy), the Cache Lite  Configuration tab
shows the remaining manual steps, including how to enable `WP_CACHE` and how to 
revert. Switching the module off or deactivating the plugin removes only its own
advanced-cache.php and its own `WP_CACHE` line.

### What happens to a module’s data when I switch it off?

Its data (redirects, backups, suppressed notices, logged 404s, etc.) is kept — the
module simply stops running. Data is only removed when the plugin itself is uninstalled.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“SMRK Toolkit” is open source software. The following people have contributed to
this plugin.

Contributors

 *   [ SMRK studio ](https://profiles.wordpress.org/hexcross/)
 *   [ smrk ](https://profiles.wordpress.org/smrk/)

[Translate “SMRK Toolkit” into your language.](https://translate.wordpress.org/projects/wp-plugins/smrk-toolkit)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/smrk-toolkit/), check
out the [SVN repository](https://plugins.svn.wordpress.org/smrk-toolkit/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/smrk-toolkit/) by
[RSS](https://plugins.trac.wordpress.org/log/smrk-toolkit/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.1.0

 * Cache Lite: early cache serving via `advanced-cache.php` — with `WP_CACHE` enabled,
   cached pages are sent before WordPress, the database and plugins load (much lower
   TTFB on slow hosting). Same cache key, TTL and bypass rules as before; logged-
   in users, password-protected posts, commenters, excluded URLs, other query parameters
   and a non-empty WooCommerce cart (if enabled) always go to WordPress. `utm_*`,`
   fbclid`, `gclid` and `msclkid` are ignored when looking up the cache.
 * Cache Lite: `advanced-cache.php` and `WP_CACHE` are set up automatically — a 
   marked, conditional `WP_CACHE` line is added to `wp-config.php` (in Bedrock `
   WP_CACHE=true` to `.env` when `config/application.php` reads it from env). An
   existing `WP_CACHE` definition is never overwritten; the plugin removes only 
   its own line when the module is switched off.
 * Cache Lite: new Configuration tab with `advanced-cache.php`, `WP_CACHE` and cache
   folder status, an “Incomplete” label until set up, a self-test request and manual
   installation steps (download/copy of the file) shown only when automatic setup
   is not possible; finished steps are marked as done.
 * Cache Lite: an `advanced-cache.php` of another cache plugin is never overwritten
   and is reported as a conflict. Switching the module off, deactivating or uninstalling
   the plugin removes only its own advanced-cache.php, its own `WP_CACHE` line and
   exported settings.
 * Cache Lite: visitors with a post password or comment author cookie are no longer
   served or stored as the shared cached copy.
 * Cache Lite: percent-encoded URLs (e.g. non-ASCII slugs) keep their own cache 
   entry instead of being collapsed.

#### 1.0.6

 * Login Page: fixed a lockout — the custom login address returned 404 while WordPress
   login links already pointed to it. The address now works in all setups (subdirectory
   install, Bedrock, plain permalinks, upper-case slug, trailing slash). The module
   stays dormant when WPS Hide Login is active. New emergency switch: constant SMRK_LOGIN_PAGE_DISABLE(
   see FAQ).

#### 1.0.5

 * Security hardening: all HTML output is escaped late (admin notices via wp_kses(),
   cleanup count badges, reorder thumbnails); cached pages are streamed straight
   from the cache file.

#### 1.0.4

 * Removed the Code Snippets module (arbitrary HTML/CSS/JS insertion is not allowed
   in the plugin directory). Previously saved snippets are no longer output; the
   stored data is removed when the plugin is uninstalled.
 * Czech Typography: the title/excerpt filters return output passed through `wp_kses_post()`,
   and every processed text node is escaped.
 * Breadcrumbs: custom HTML for the home item and separator is escaped with `wp_kses()`
   on output, not only on save.
 * Admin Notices: notice callbacks run inside a buffer that is opened and closed
   in the same function.
 * Reorder: opening the per-term ordering screen no longer writes post meta; missing
   order values are filled in only when the order is saved (AJAX with nonce and 
   capability check). The submitted term tree is sanitized.
 * Security hardening: form and admin-post handlers check the capability first and
   then the nonce (`check_admin_referer()`), as separate conditions.
 * Admin: the remaining inline `onsubmit` confirmations use the admin script.
 * Cache Lite: the page cache is purged once after a plugin update, so pages cached
   by the previous version (old asset URLs, output of the removed Code Snippets 
   module) are no longer served.

#### 1.0.3

 * Cookie Consent: the Google Tag Manager snippet is now added with `wp_add_inline_script()`
   instead of a raw `<script>` tag; the `<noscript>` GTM fallback is only output
   in the “insert unblocked” mode, so visitors without JavaScript no longer load
   GTM without consent.
 * Cache Lite: the page cache uses the core template enhancement output buffer (
   WordPress 6.9) instead of its own `ob_start()`; the plugin now requires WordPress
   6.9 or later.
 * Admin Notices: the notice output buffer only closes its own buffer level.
 * Admin: confirmation dialogs and auto-submitting selects use the admin script 
   instead of inline `onclick`/`onchange` attributes.
 * Security hardening: nonce checks are repeated directly in every form/AJAX handler
   that reads request data, and remaining request input is unslashed and sanitized.
 * readme: expanded the External services section (Google Tag Manager) and documented
   the bundled source code, build steps and third-party libraries.

#### 1.0.2

 * Media Folders: deleted attachments no longer count towards a folder (a folder
   could show a number of files but appear empty when opened), and deleting an attachment
   now removes it from its folder.
 * Media Folders: the folder panel on the Media Library screen now stays in view
   while scrolling on desktop.
 * SEO: new configurable default `<title>` format (`{{title}} {{sep}} {{site.title}}`
   by default) for pages without a custom meta title; not applied on the homepage.
 * SEO: the `og:title` fallback now follows the same rules as `<title>` instead 
   of the bare post title.

#### 1.0.1

 * Fixed a fatal error (“Call to undefined function get_current_screen()”) that 
   could occur when enabling the Reorder or Duplicate module, since is_admin() can
   be true in contexts where WordPress hasn’t loaded the screen API.
 * Replaced remaining raw `<style>`/`<script>` output with `wp_enqueue_style`/`wp_add_inline_style`(
   admin menu visibility CSS, Breadcrumbs shortcode CSS, SEO meta box toggle script,
   Code Snippets custom CSS field).
 * The Cache module’s output buffer is now explicitly closed on `shutdown` instead
   of relying on PHP’s implicit end-of-request flush.
 * Removed the now-unnecessary `load_plugin_textdomain()` call (WordPress.org loads
   translations automatically since 4.6).
 * The plugin package now bundles the uncompiled JS/CSS source (`resources/`) and
   build config alongside the built assets, and no longer ships the pre-built English`.
   po`/`.mo` translation files.
 * Documented the optional Google Tag Manager integration in the Cookie Consent 
   module under a new “External services” section.

#### 1.0.0

 * First stable release — full set of 18 modules (Duplicate, Reorder, Search & Replace,
   SEO, Admin Notices, Redirects, Clean Filenames, Code Snippets, Czech Typography,
   Login Page, Media Folders, Monitor 404, SVG Upload, Cookie Consent, Breadcrumbs,
   Backup, Cleanup, Cache Lite).
 * Per-module menu visibility control — hide a module from the admin menu while 
   keeping it reachable by direct link.
 * Per-module delegation of Editor-role access, reversible at any time without touching
   the Editor role itself.
 * Full security audit of every module (prepared statements, output escaping, input
   sanitization).

#### 0.1.0

 * Initial infrastructure (menu, settings, modular architecture).
 * Duplicate module.

## Meta

 *  Version **1.1.0**
 *  Last updated **3 days ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 6.9 or higher **
 *  Tested up to **7.1.4**
 *  PHP version ** 8.0 or higher **
 * Tags
 * [admin](https://wordpress.org/plugins/tags/admin/)[duplicate](https://wordpress.org/plugins/tags/duplicate/)
   [productivity](https://wordpress.org/plugins/tags/productivity/)[redirects](https://wordpress.org/plugins/tags/redirects/)
   [seo](https://wordpress.org/plugins/tags/seo/)
 *  [Advanced View](https://wordpress.org/plugins/smrk-toolkit/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/smrk-toolkit/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/smrk-toolkit/reviews/)

## Contributors

 *   [ SMRK studio ](https://profiles.wordpress.org/hexcross/)
 *   [ smrk ](https://profiles.wordpress.org/smrk/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/smrk-toolkit/)