Àpèjúwe
The Font Awesome Box Shortcode plugin adds slim information box style shortcodes to your WordPress site and which supports displaying any of the Font Awesome Icons.
See the Other Notes page for useage instructions.
Minimum Requirements
For this extension to function WordPress must be installed.
FAQ
How do I use the shortcodes.
From the WordPress visual editor you can add a shortcode via the box shortcode icon.
To use the plugin manually insert the shortcode below into your WordPress post or page content area.
[box icon="fa-wordpress" color="blue" url="https://wordpress.org"]Visit WordPress.org[/box]
The shortcode accepts two parameters of icon="" and url="" which are explained below.
The icon="" parameter will accept any Font Awesome icon code which looks like this fa-warning as an example
For a full list of all the icons you can use within the shortcode these are available with the relevant codes on the Font Awesome Cheat Sheet.
The url="" parameter will accept any url internal or external url you add to it.
The color="" parameter allows you to choose one of the predefined colors listed below
Also donÌtumọ̀ Yorùbá: ’t forget to add some text content between the shortcode containers too!
How can I disable the plugins default font awesome stylesheet as my theme is loading itÌtumọ̀ Yorùbá: ’s own?
There is a filter inside the Font Awesome Box Shortcode plugin titled enqueued_fabs_font_awesome_filter which you can use to specify your themes enqueued version of Font Awesome which will then disable the plugin version from loading.
If your themes loaded version of font awesome has been enqueued as font-awesome then you donÌtumọ̀ Yorùbá: ’t need to use any filters as the plugin will detect that loaded script and not load itÌtumọ̀ Yorùbá: ’s own version of the Font Awesome stylesheet from MAX CDN.
If your existing loaded version of Font Awesome has been enqueued under a different name like my_themes_fontawesome as an example then you would have to use the filter below to specify the name under which your current version was being enqueued.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function load_my_current_font_awesome() { | |
| return 'my_theme_fontawesome'; | |
| } | |
| add_filter( 'enqueued_fabs_font_awesome_filter', 'load_my_current_font_awesome' ); |
Àwọn àgbéyẹ̀wò
Kò sí àwọn àgbéyẹ̀wò fún plugin yìí.
Àwọn Olùkópa & Olùgbéejáde
“Font Awesome Box Shortcode” jẹ́ ètò ìṣàmúlò orísun ṣíṣí sílẹ̀. Àwọn ènìyàn wọ̀nyí ti ṣe ìkópa sí plugin yìí.
Àwọn OlùkópaA ti túmọ̀ “Font Awesome Box Shortcode” sí èdè agbègbè 1 kan. Ọpẹ́lọpẹ́ fún àwọn atúmọ̀ èdè fún àwọn ìkópa wọn.
Túmọ̀ “Font Awesome Box Shortcode” sí èdè rẹ.
Ṣe o nífẹ̀ẹ́ sí ìdàgbàsókè?
Ṣàwárí koodu, ṣàyẹ̀wò ibi ìpamọ́ SVN, tàbí ṣe àgbékalẹ̀ sí àkọsílẹ̀ ìdàgbàsókè nípasẹ̀ RSS.
Àkọsílẹ̀ àwọn àyípadà
1.0.1 Ìtumọ̀ Yorùbá: – 14/02/17
- Update Ìtumọ̀ Yorùbá: – updated font awesome version to v4.7.0.
1.0.0 Ìtumọ̀ Yorùbá: – 15/10/16
- Initial Release Ìtumọ̀ Yorùbá: – first version of the plugin released.
