Install
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/romulobrasil/friendly-params/archive/refs/heads/master.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Friendly Params Wordpress
The plugin renders parameters in friendly URL format.
Guia em português do Friendly Params Wordpress
How to use
In the function fpvar, you will add your variables.
where will use like this for a variable.
and so if it is more than one variable, case like this:
Example: /events/year/month
Following in the function fpdorewrite, in the line you will change page-name for your page and varname, for the variable you added in the previous function.
If there is more than one variable, matches are accessed through the array key.
Example: /events/year/month
Thankful!
Rômulo Brasil