evanshunt / wp-replace-social-icons
A WordPress plugin to allow theme overrides of social media icons
Installs: 73
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:wordpress-plugin
README
This is a plugin for WordPress when using the block editor and/or full-site editing. It allows you to customize the icons in the social links block.
How to use
- Download the latest release.
- Install the plugin (drop it into the
wp-content/plugins
directory) - Add a config file named
social-services.json
at the root of your theme. In the file, specify your icons in the following format:
{ "services": { "facebook": { "icon": "file:./src/svg/facebook.svg" }, "twitter": { "icon": "file:./src/svg/twitter.svg" }, "linkedin": { "icon": "file:./src/svg/linkedin.svg" } } }
Replace the paths with your actual paths to the SVG files. It has only been tested with files relative to your theme root.
- Activate the plugin. Now your social service icons should be replaced both on the front-end and in the back end (page editor, full site editor).
Issues
This is pre-release software and might not work as expected. Use at your own risk. However, if you encounter a problem, feel free to open an issue and the maintainer will probably try to fix it.