'Sidebar 1',
'before_widget' => '
', // Removes -
'after_widget' => '
', // Removes
'before_title' => '', // Replaces
'after_title' => '
', // Replaces
));
if ( function_exists('register_sidebar') )
register_sidebar(array(
'name' => 'Sidebar 2',
'before_widget' => '', // Removes -
'after_widget' => '
', // Removes
'before_title' => '', // Replaces
'after_title' => '
', // Replaces
));
if ( function_exists('register_sidebar') )
register_sidebar(array(
'name' => 'Sidebar 3',
'before_widget' => '', // Removes -
'after_widget' => '
', // Removes
'before_title' => '', // Replaces
'after_title' => '
', // Replaces
));
// End for Widget Settings.
// Begin languages settings
if (!function_exists ('load_theme_textdomain'))
include (ABSPATH.WPINC.'/l10n.php');
load_theme_textdomain ('apple4us');
// End for languages settings.
// Begin remove the CSS of WP-Pagenavi plugin,
// you can find the CSS in layout.css file,find /* Hack for WP-PageNavi */
remove_action('wp_head', 'pagenavi_css');
// End remove function of WP-Pagenavi
// remove the checkbox of Subscribe to comments,
// the codes of the checkbox in the comments.php, find
// the CSS in the comments.css, find /* Begin Hack for subscribe-to-comments */
remove_action('comment_form', 'show_subscription_checkbox');
// End remove the function of Subscribe to comments
// Begin Comments list
function apple4us_comment($comment, $args, $depth) {
$GLOBALS['comment'] = $comment; ?>
id="comment-">
};
// End Custom Trackbacks List
// Begin to custom default Gravatar image file
add_filter( 'avatar_defaults', 'Apple4Us_addgravatar' );
function Apple4Us_addgravatar( $avatar_defaults ) {
$myavatar = get_bloginfo('template_directory') . '/images/gravatar.png';
$avatar_defaults[$myavatar] = (Apple4Us);
return $avatar_defaults;
};
// End to custom default Gravatar image file
//
?>