This file contains 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
/** | |
* Internal dependencies | |
*/ | |
import './style.scss'; | |
/** | |
* External dependencies | |
*/ | |
import { __ } from '@wordpress/i18n'; | |
import { registerBlockType } from '@wordpress/blocks'; |
This file contains 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
/** | |
* Internal dependencies | |
*/ | |
import './style.scss'; | |
/** | |
* External dependencies | |
*/ | |
import { __ } from '@wordpress/i18n'; | |
import { registerBlockType, createBlock } from '@wordpress/blocks'; |
This file contains 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
<span class="wooicon">T</span> // The character you want to display. "T" is the Twitter bird icon. | |
.wooicon { | |
font-family: @wooicons; // Set the font-family using the LESS variable; | |
} |
This file contains 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
<a class="icon" href="#" title="#">Something</a> | |
a.icon:before { | |
.iconbefore_FA; // This will insert all the necessary default properties from the LESS mixin | |
content: "\f0a1"; // Set icon value. Find the value by inspecting elements on this page: http://fortawesome.github.io/Font-Awesome/icons/ | |
} |
This file contains 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
/* global _, wp */ | |
const { __ } = wp.i18n; | |
const { | |
registerBlockType, | |
Editable, | |
InspectorControls, | |
MediaUploadButton, | |
source: { | |
attr, |
This file contains 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
/* global _, wp */ | |
const { __ } = wp.i18n; | |
const { | |
registerBlockType, | |
Editable, | |
InspectorControls, | |
MediaUploadButton, | |
PanelBody, | |
ToggleControl, |
This file contains 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
### Keybase proof | |
I hereby claim: | |
* I am belcherj on github. | |
* I am belcherj (https://keybase.io/belcherj) on keybase. | |
* I have a public key whose fingerprint is 163E E7A5 A5E6 48D8 5841 4022 EF0C FA9D EB24 A791 | |
To claim this, I am signing this object: |