Просмотр 3 ответов — с 1 по 3 (всего 3)
  • Atrax

    (@atrax)

    Ethical engineer

    Ну и причем тут CSS?
    header.php правьте

    Извиняюсь за название. где тут эта рубрика

    <!DOCTYPE html PUBLIC «-//W3C//DTD XHTML 1.0 Transitional//EN» «http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd»&gt;
    <html xmlns=»http://www.w3.org/1999/xhtml»&gt;
    <head profile=»http://gmpg.org/xfn/11″&gt;
    <meta http-equiv=»Content-Type» content=»<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>» />

    <title><?php
    /*
    * Print the <title> tag based on what is being viewed.
    */
    global $page, $paged;

    wp_title( ‘|’, true, ‘right’ );

    // Add the blog name.
    bloginfo( ‘name’ );

    // Add the blog description for the home/front page.
    $site_description = get_bloginfo( ‘description’, ‘display’ );
    if ( $site_description && ( is_home() || is_front_page() ) )
    echo » | $site_description»;

    // Add a page number if necessary:
    if ( $paged >= 2 || $page >= 2 )
    echo ‘ | ‘ . sprintf( __( ‘Page %s’, ‘twentyten’ ), max( $paged, $page ) );

    ?></title>
    <style type=»text/css»>
    #portrait-bg { background:url(<?php bloginfo(‘template_directory’); ?>/images/bg-portrait<?php echo (rand()%8); ?>.jpg); }
    </style>
    <link rel=»alternate» type=»application/rss+xml» title=»<?php bloginfo(‘name’); ?> RSS Feed» href=»<?php bloginfo(‘rss2_url’); ?>» />
    <link rel=»pingback» href=»<?php bloginfo(‘pingback_url’); ?>» />

    <?php if(is_singular()) wp_enqueue_script( ‘comment-reply’ );?>
    <?php wp_head(); ?>
    </head>

    <body <?php body_class(); ?>>

    <div id=»wrap»>
    <div id=»menu»>

    <?php wp_nav_menu( array(‘theme_location’ => ‘top’, ‘fallback_cb’ => ‘grace_top_default_menu’ )); ?>

    </div>

    <div id=»header»>
    <span class=»btitle»>/»><?php bloginfo(‘name’); ?></span>
    <p class=»description»>
    <a href=»<?php
    if (current_user_can(‘edit_posts’))
    {
    admin_url(); echo ‘/»>’;
    }
    else
    {
    home_url(); echo ‘/»>’;
    }
    bloginfo(‘description’); ?>

    </p>
    </div>

    <div id=»rss-big»>
    » title=»<?php _e(‘Subscribe to this site with RSS’, ‘blue-grace’); ?>»>
    </div>

    <div id=»portrait-bg»></div>
    <div id=»catmenu»>

    <?php wp_nav_menu( array(‘theme_location’ => ‘bottom’, ‘fallback_cb’ => ‘grace_bottom_default_menu’ )); ?>

    </div>

    Atrax

    (@atrax)

    Ethical engineer

    Читайте правила.
    Вы нарушили седьмое.

Просмотр 3 ответов — с 1 по 3 (всего 3)
  • Тема «CSS» закрыта для новых ответов.