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
I am attesting that this GitHub handle Circa75 is linked to the Tezos account tz1XuuWRftyAeo2iBkekZdcYBS8Gkb4NjJQw for tzprofiles | |
sig:edsigtc8EyLMCJ9d6uuoGCrunWt5pUoQaU5Ew6ASnoS6AEXJ3oFs6ETiqtf1ZrSyr2Hgn2GegfsUfsCsg7MFEpg6rMWqWHP3Zsd |
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
.mouse { | |
width: 26px; | |
height: 40px; | |
position: absolute; | |
bottom: 40px; | |
left: 50%; | |
transform: translate(-50%, 0); | |
z-index: 20; | |
border: 1px solid rgba(#ffffff, 0.5); | |
border-radius: 13px; |
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
// Clean the admin. | |
function pk_clean_admin () { | |
remove_menu_page('edit.php'); | |
remove_menu_page('upload.php'); | |
remove_menu_page('edit.php?post_type=page'); | |
remove_menu_page('edit-comments.php'); | |
remove_menu_page('options-general.php'); | |
remove_menu_page('tools.php'); | |
global $submenu; |
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
// Clean the dashboard. | |
function pk_clean_dashboard() { | |
global $wp_meta_boxes; | |
unset($wp_meta_boxes['dashboard']['normal']['core']['dashboard_recent_comments']); | |
unset($wp_meta_boxes['dashboard']['normal']['core']['dashboard_incoming_links']); | |
unset($wp_meta_boxes['dashboard']['normal']['core']['dashboard_plugins']); | |
unset($wp_meta_boxes['dashboard']['side']['core']['dashboard_quick_press']); | |
unset($wp_meta_boxes['dashboard']['side']['core']['dashboard_recent_drafts']); | |
unset($wp_meta_boxes['dashboard']['normal']['core']['bbp-dashboard-right-now']); | |
unset($wp_meta_boxes['dashboard']['normal']['core']['yoast_db_widget']); |
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 get_twitter_profile_img($username, $size = '') { | |
$api_call = 'https://twitter.com/users/'.$username.'.json'; | |
$results = json_decode(file_get_contents($api_call)); | |
$image_url = str_replace('_normal', $size, $results->profile_image_url); | |
// Replace with your cache directory. | |
$image_path = './cache/'; | |
// Get the name of the file. | |
$exploded_image_url = explode("/",$image_url); |
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 get_twitter_profile_img($username) { | |
$xml = simplexml_load_file('http://twitter.com/users/'.$username.'.xml'); | |
return str_replace('_normal', '', $xml->profile_image_url); | |
} |
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
/*-----------------------------------------------------------------------------------*/ | |
/* Theme Options Check | |
/*-----------------------------------------------------------------------------------*/ | |
opt_check(); | |
function opt_check() | |
{ | |
if ( !function_exists('option_tree_category') ) | |
{ |