Apraksts
Simple Font Awesome Icon plugin will give you the Font Awesome Icon option in your post and page. From there you can choose the required icon and hit save. Then use the get_post_meta(‘post ID’, ‘font-awesome-icon’, true); function in the template file and you will get the class name which can be used with i tag.
Please take a look the plugin page for more details: [https://codingdom.wordpress.com/simple-font-awesome-icon/)
Uzstādīšana
Through Dashboard
- Log in to your WordPress admin panel and go to Plugins -> Add New
- Type simple font awesome icon in the search box and click on search button.
- Find Simple Font Awesome Icon plugin.
- Then click on Install Now after that activate the plugin.
- Go to the required template file and call the function as below.
$icon_class = get_post_meta(‘your post ID’, ‘font-awesome-icon’, true);
Use this variable as class name for the i tag add where ever you want.
Installing Via FTP
- Download the plugin to your hardisk.
- Unzip.
- Upload the “simple-font-awesome-icon” folder into your plugins directory.
- Log in to your WordPress admin panel and click the Plugins menu.
- Then activate the plugin.
- Go to the required template file and call the function as below.
$icon_class = get_post_meta(‘your post ID’, ‘font-awesome-icon’, true);
Use this variable as class name for the i tag and add where ever you want.
BUJ
- Installation Instructions
-
Through Dashboard
- Log in to your WordPress admin panel and go to Plugins -> Add New
- Type simple font awesome icon in the search box and click on search button.
- Find Simple Font Awesome Icon plugin.
- Then click on Install Now after that activate the plugin.
- Go to the required template file and call the function as below.
$icon_class = get_post_meta(‘your post ID’, ‘font-awesome-icon’, true);
Use this variable as class name for the i tag add where ever you want.
Installing Via FTP
- Download the plugin to your hardisk.
- Unzip.
- Upload the “simple-font-awesome-icon” folder into your plugins directory.
- Log in to your WordPress admin panel and click the Plugins menu.
- Then activate the plugin.
- Go to the required template file and call the function as below.
$icon_class = get_post_meta(‘your post ID’, ‘font-awesome-icon’, true);
Use this variable as class name for the i tag and add where ever you want.
Atsauksmes
Autori un izstrādātāji
“Simple Font Awesome Icon” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.
LīdzdalībniekiTulkot “Simple Font Awesome Icon” savā valodā.
Vai jūs interesē attīstība?
Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.
Izmaiņu žurnāls
1.0 – June 27, 2017
- Support WordPress 4.8
1.0.1 – May 31, 2018
- Support WordPress 4.9.6