https://github.com/jpkcom/jpkcom-fa-svg-plugin
Font Awesome (Pro) inline SVG WordPress shortcode plugin
https://github.com/jpkcom/jpkcom-fa-svg-plugin
font-awesome gutenberg-compatible inline-svg shortcodes svg wordpress wordpress-plugin
Last synced: 4 months ago
JSON representation
Font Awesome (Pro) inline SVG WordPress shortcode plugin
- Host: GitHub
- URL: https://github.com/jpkcom/jpkcom-fa-svg-plugin
- Owner: JPKCom
- License: gpl-2.0
- Created: 2021-03-28T11:22:11.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-05-13T09:48:59.000Z (5 months ago)
- Last Synced: 2025-05-13T10:43:55.685Z (5 months ago)
- Topics: font-awesome, gutenberg-compatible, inline-svg, shortcodes, svg, wordpress, wordpress-plugin
- Language: PHP
- Homepage: https://www.jpkc.com/
- Size: 48.8 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# JPKCom FA inline SVG shortcode
**Plugin Name:** JPKCom FA inline SVG shortcode
**Plugin URI:** https://github.com/JPKCom/jpkcom-fa-svg-plugin
**Description:** A plugin for loading inline SVGs from Font Awesome (Pro) v5.15.4 using a shortcode
**Version:** 2.0.8
**Author:** Jean Pierre Kolb
**Author URI:** https://www.jpkc.com/
**Contributors:** JPKCom
**Tags:** FontAwesome, SVG, Inline, Shortcode, Gutenberg
**Requires at least:** 6.7
**Tested up to:** 6.8
**Requires PHP:** 8.3
**Network:** true
**Stable tag:** 2.0.8
**License:** GPL-2.0+
**License URI:** http://www.gnu.org/licenses/gpl-2.0.txtA plugin for loading inline SVGs from Font Awesome (Pro) v5.15.4 using a shortcode.
## Description
A plugin for loading inline SVGs from Font Awesome (Pro) v5.15.4 using a shortcode.
This is not an official plugin of Font Awesome, nor is it directly affiliated with Font Awesome or its publisher/owner.
This plugin is intended for users who want to quickly and unbureaucratically integrate the output of the SVG version of Font Awesome, fast and resource-efficient, into their WordPress site.
Get your Font Awesome or much better your Font Awesome Pro license here: https://fontawesome.com/
## Installation
1. In your admin panel, go to 'Plugins' > and click the 'Add New' button.
2. Click Upload Plugin and 'Choose File', then select the Plugin's .zip file. Click 'Install Now'.
3. Download your version of Font Awesome (Pro) v5.15.4 from https://fontawesome.com/
4. Unpack/Upload the content of the Font Awesome zip file directly into wp-content/uploads folder named "`jpkcom_fasvg/`"
5. Make sure that the following files/folders and paths are present: "`wp-content/uploads/jpkcom_fasvg/css/svg-with-js.min.css`", "`wp-content/uploads/jpkcom_fasvg/svgs/*`"
6. Click 'Activate' to use the plugin right away.## Frequently Asked Questions
### Usage
Use `[jsvg type="" name="" style="" class="" title=""]` in your content or menu item title.
**For example:**
```
[jsvg type="fal" name="jedi" style="margin:2rem" class="fa-10x" title="Obi-Wan Kenobi"]
```You can also use this together with `do_shortcode()`.
See https://developer.wordpress.org/reference/functions/do_shortcode/ for more information about this.
**For example:**
```php