WP Manifestindependent plugin directory
manifest / editor / wp-performance-snippet-variation

Snippet Variation

Snippet Variation for use related snippets block

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/wpperformance/wp-performance-snippet-variation/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Variation block exemple

You can create variation for core block and modify the query arguments.

I use it on wp-performance.com. Exemple on this page end => https://wp-performance.com/snippet/desactiver-php-dans-les-repertoires-plugins-uploads-et-themes/

Method

1 - Create variation block with javascript file => assets/block-variations.js

2 - Change query arguments with filter hook for this variation namespace => index.php