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
body.iframe-hover .wpcc-cursor { | |
display: none; | |
} | |
.no-transition .cursor-el1, | |
.no-transition .cursor-el2 { | |
transition: none !important; | |
} | |
.no-cursor { | |
cursor: none; | |
} |
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
<?php | |
// Show the new style contextual help if user is running WP 3.3 | |
if( function_exists('add_option') ) { | |
function sh_sb_help_page() { | |
global $sh_sb_settings; | |
$current_screen = get_current_screen(); | |
if ($current_screen->id != $sh_sb_settings) | |
return; |
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
<?php | |
// Show the new style contextual help if user is running WP 3.3 | |
if( function_exists('add_option') ) { | |
function sh_fbc_help_page() { | |
global $sh_fbc_settings; | |
$current_screen = get_current_screen(); | |
if ($current_screen->id != $sh_fbc_settings) | |
return; |
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
<?php function sh_sb_widget_register_widgets() { | |
register_widget( 'sh_sb_widget' ); | |
} | |
class sh_sb_widget extends WP_Widget { | |
function sh_sb_widget() { | |
$widget_ops = array( | |
'classname' => 'sh_sb_widget_class', | |
'description' => 'Display your Social Bartender links.' |
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
function portfolioposttype_add_help_text($contextual_help, $screen_id, $screen) { | |
//$contextual_help .= var_dump($screen); // use this to help determine $screen->id | |
if ('portfolio' == $screen->id ) { | |
$contextual_help = | |
'<p>' . __('The title field and the big Post Editing Area are fixed in place, but you can reposition all the other boxes using drag and drop, and can minimize or expand them by clicking the title bar of each box. Use the Screen Options tab to unhide more boxes (Excerpt, Send Trackbacks, Custom Fields, Discussion, Slug, Author) or to choose a 1- or 2-column layout for this screen.') . '</p>' . | |
'<p>' . __('<strong>Title</strong> - Enter a title for your post. After you enter a title, you’ll see the permalink below, which you can edit.') . '</p>' . | |
'<p>' . __('<strong>Post editor</strong> - Enter the text for your post. There are two modes of editing: Visual and HTML. Choose the mode by clicking on the appropriate tab. Visual mode gives you a WYSIWYG editor. Click the last ico |
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
function sb_widget_register_widgets() { | |
register_widget( 'sb_widget' ); | |
} | |
class sb_widget extends WP_Widget { | |
function sb_widget() { | |
$widget_ops = array( | |
'classname' => 'sb_widget_class', | |
'description' => 'Display your Social Bartender links.' |