Skip to content

Instantly share code, notes, and snippets.

View norewp's full-sized avatar

Zulfikar Nore norewp

View GitHub Profile
<?php
return [
'&#xf26e;' => 'fa-500px',
'&#xf2b9;' => 'fa-address-book',
'&#xf2ba;' => 'fa-address-book-o',
'&#xf2bb;' => 'fa-address-card',
'&#xf2bc;' => 'fa-address-card-o',
'&#xf042;' => 'fa-adjust',
'&#xf170;' => 'fa-adn',
<?php
return [
'&#xE84D;' => '3d_rotation',
'&#xE190;' => 'access_alarm',
'&#xE191;' => 'access_alarms',
'&#xE192;' => 'access_time',
'&#xE84E;' => 'accessibility',
'&#xE84F;' => 'account_balance',
'&#xE850;' => 'account_balance_wallet',
@norewp
norewp / single-elementor_library.php
Created February 21, 2018 11:05 — forked from pingram3541/single-elementor_library.php
Used in theme functions.php - set Elementor Library post type to use built-in Canvas template by default
/* ---------------------------------------------------------------------------
* Force Elementor Library to use Canvas Template
* - this gist file name can also be used in your theme to override the template instead of this
* --------------------------------------------------------------------------- */
function get_elementor_library_post_type_template( $single_template ) {
global $post;
if ($post->post_type == 'elementor_library') {
$single_template = dirname( __FILE__ ) . '/../../plugins/elementor/includes/page-templates/canvas.php';
}