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
/* | |
*@author nevilpaul.. | |
*@mail: [email protected] | |
*@date published:03/07/2018 | |
*/ | |
<?php | |
global $wp; | |
function intercom_script_footer(){ | |
$ipaddress = ''; | |
if ($_SERVER['HTTP_CLIENT_IP']) |
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
/* | |
*@author nevilpaul.. | |
*@mail: [email protected] | |
*@date published:12/07/2018 | |
*/ | |
<?php | |
// copy the code from here in the function.php file and disable the intercom plugin replace 'APP-ID' with the actual id of your app | |
global $wp; | |
function intercom_script_footer(){ | |
if ( is_user_logged_in() ) { |
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
@mixin animation($loader, $ts, $iterrationcount, $timeFunction) { | |
-webkit-animation: $loader $ts $iterrationcount $timeFunction; | |
-moz-animation: $loader $ts $iterrationcount $timeFunction; | |
-ms-animation: $loader $ts $iterrationcount $timeFunction; | |
-o-animation: $loader $ts $iterrationcount $timeFunction; | |
animation: $loader $ts $iterrationcount $timeFunction; | |
} | |
@mixin scrollbar($width) { | |
::-webkit-scrollbar { |
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
/* | |
*@author nevilpaul.. | |
*@mail: [email protected] | |
*@date published:03/07/2018 | |
*/ | |
<?php | |
global $wp; | |
function intercom_script_footer(){ | |
if ( is_user_logged_in() ) { | |
$current_user = wp_get_current_user(); ?> |