zego adlı üyeden alıntı

functions.php yi not defteriyle açın ve 1. satırını söyleyin, verdiği hatayı değil :(


/**
* @package WordPress
* @subpackage Summ
*/
add_theme_support( 'automatic-feed-links' );

if ( ! isset( $content_width ) ) $content_width = 900;
/** -----------------------------------------------
* custom background
*/
add_custom_background();
define('HEADER_TEXTCOLOR', '111111');
define('HEADER_IMAGE', '%s/images/default_header.jpg'); // %s is the template dir uri
define('HEADER_IMAGE_WIDTH', 1000); // use width and height appropriate for your theme
define('HEADER_IMAGE_HEIGHT', 138);
/** -----------------------------------------------
* gets included in the site header
*/
function header_style() {
?>}
/** -----------------------------------------------
* gets included in the admin header
*/
function admin_header_style() {
?>}
add_custom_image_header('header_style', 'admin_header_style');
if ( function_exists('register_sidebar') )
register_sidebar( array(
'before_widget' => '
  • ',
    'after_widget' => '
  • ',
    'before_title' => '',
    'after_title' => '
    ',
    ));
    /** -----------------------------------------------
    * Theme uses wp_nav_menu() in one location. Chack if function exist
    */
    if( function_exists('register_nav_menus') )
    register_nav_menus( array(
    'primary' => __( 'Primary Navigation', 'Summ' ),
    ) );

    /**
    * Return older post
    *
    * @return mixed If not NULL
    */
    function older_post_exists()
    {
    static $older;
    if (empty($older)) {
    if (is_attachment()) {
    global $post;
    $older = &get_post($post -> post_parent);
    } else {
    $older = &get_previous_post();
    }
    }
    return $older;
    }
    /**
    * Return newer post
    *
    * @return mixed If not NULL
    */
    function newer_post_exists()
    {
    static $newer;
    if (empty($newer)) $newer = &get_next_post();
    return $newer;
    }

    /** -----------------------------------------------
    * custom comments
    */
    if (function_exists('wp_list_comments')) {
    function custom_comments($comment, $args, $depth) {
    $GLOBALS['comment'] = $comment;
    ?>
  • id="li-comment-">

    ' ); ?>


    $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>







    ?>



    ben size şöyle vereyim