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
.fa.fa-twitter{ | |
font-family:sans-serif; | |
} | |
.fa.fa-twitter::before{ | |
content:"𝕏"; | |
font-size:1.2em; | |
} |
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
// Code to be placed in functions.php of your theme or a custom plugin file. | |
add_filter( 'load_textdomain_mofile', 'load_custom_plugin_translation_file', 10, 2 ); | |
/* | |
* Replace 'textdomain' with your plugin's textdomain. e.g. 'woocommerce'. | |
* File to be named, for example, yourtranslationfile-en_GB.mo | |
* File to be placed, for example, wp-content/lanaguages/textdomain/yourtranslationfile-en_GB.mo | |
*/ | |
function load_custom_plugin_translation_file( $mofile, $domain ) { | |
if ( 'textdomain' === $domain ) { |
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 _remove_soc_icons() { | |
add_action('reactor_header_before', '_new_custom_soc_icons', 2); | |
remove_action('reactor_header_after', 'crumina_social_icons', 2); | |
} | |
add_action( 'init', '_remove_soc_icons', 1 ); | |
function _new_custom_soc_icons(){ | |
echo '<div class="row"><div class="large-12 columns"> | |
<div id="panel"> | |
<div id="soc-icons-wrap" class="' . $class . '">'.'<span class="header-phone"><i class="fa fa-phone-square"></i> 804-442-STAR (7827)</span>'; |
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
<?php | |
/** | |
* Shortcode attributes | |
* @var $atts | |
* @var $title | |
* @var $source | |
* @var $image | |
* @var $custom_src | |
* @var $onclick | |
* @var $img_size |
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
<script type="text/javascript"> | |
jQuery('#header .soc-head-icons a').click(function() { jQuery(this).attr('target', '_blank'); }); | |
</script> |
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 crum_changed_content($num,$no_more = false) | |
{ | |
global $post; | |
$options = get_option('second-touch'); | |
if ($options['read_more_style'] == '0'){ | |
$read_more_link = '<a href="'. get_permalink($post->ID) . '" class="link-read-more"> </a>'; | |
}else{ | |
$read_more_link = '<a href="'. get_permalink($post->ID) . '"> '.__('Read more','crum').'</a>'; |
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
<?php | |
if ( !function_exists('reactor_comments') ) : | |
function reactor_comments( $comment, $args, $depth ) { | |
do_action('reactor_comments', $comment, $args, $depth ); | |
global $userpro; | |
$GLOBALS['comment'] = $comment; | |
switch ( $comment->comment_type ) : | |
case 'pingback' : | |
case 'trackback' : |
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
<?php | |
/** | |
* Meta information for current post: categories, tags, author, and date | |
*/ | |
if ( !function_exists('reactor_post_meta') ) { | |
function reactor_post_meta( $args = '' ) { | |
do_action('reactor_post_meta', $args); |
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
jQuery(document).ready(function(){ | |
jQuery("#Grid .round article").find(".absolute-link").removeAttr('title'); | |
}); |
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
<script> | |
jQuery(document).ready(function(){ | |
jQuery(".widget_crum_block_fetures_box").find("a.link.clickable").removeAttr('href'); | |
jQuery(".widget_block-fetures-box").find(".button").hide(); | |
}); | |
</script> |
NewerOlder