This plugin helps generate dynamic meta data tags for SEO and embeds like Discord or Facebook.
UserSpice can be downloaded from their website or on GitHub
This plugin requires UserSpice 5.3.7+ as the hooks it uses were added in that patch.
- Copy the embed plugin folder from inside the repo into /usersc/plugins/
- Open UserSpice Admin Panel and install plugin.
- Configure plugin if you'd like to choose a default description.
- Set descriptions for pages you'd like to have descriptions for.
In plugin configuration you can choose whether you'd like to have a default description for pages that do not have a description set.
In the page manager you will now have a field for a page description. This will be what is shown on the embed or Search Engine.
You can override the page title or description using the $embedTitle and $embedDescription variables before loading your template.
This allows you to dynamically set your meta title and/or description dynamically based on the title of the page.
This plugin requires write permissions to the usersc/includes folder. Please make sure it can edit the usersc/includes/head_tags.php as well as create a backup of the file. You can manually update fields in this file to match the one in files/head_tags.php of the plugin if you would like instead.
Any issues? Feel free to open an issue on Github or make a Pull Request.
Need help? Add me on Discord: BangingHeads#0001.
Any help with UserSpice can be asked in their Discord