Adding your own SVG icons for the Template Editor

The plugin includes a set of royalty-free icons that can be used for any icon in the Template Editor. If you want to extend this list of icons you can create a folder named "wprm-icons" in your (child) theme. Any SVG file put in that folder will automatically get picked up by the Template Editor.

For example, all of these will now show up in the template editor:


In general, using your own child theme is recommended as theme files get overwritten when updating.

For even more flexibility the wprm_icon_sources plugin hook can be used to add another source for the SVG icons (or remove one). A source should be an array like this:

	'dir' => '/path/to/wprm-icons';
	'url' => '';
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.