Тема: Помогите пожалуйста добавить миниатюры на Вордпресс

Ответить в теме
Показано с 1 по 8 из 8
  1. Вверх #1
    Посетитель Аватар для imk2010
    Пол
    Женский
    Адрес
    Одесса
    Сообщений
    352
    Репутация
    987

    По умолчанию Помогите пожалуйста добавить миниатюры на Вордпресс

    Помогите пожалуйста добавить миниатюры на Вордпресс с меня лайки и +++++
    У меня шаблон Twenty Ten


  2. Вверх #2
    Посетитель Аватар для imk2010
    Пол
    Женский
    Адрес
    Одесса
    Сообщений
    352
    Репутация
    987
    Вот мой код functions.php
    <?php
    /**
    * TwentyTen functions and definitions
    *
    * Sets up the theme and provides some helper functions. Some helper functions
    * are used in the theme as custom template tags. Others are attached to action and
    * filter hooks in WordPress to change core functionality.
    *
    * The first function, twentyten_setup(), sets up the theme by registering support
    * for various features in WordPress, such as post thumbnails, navigation menus, and the like.
    *
    * When using a child theme (see http://codex.wordpress.org/Theme_Development and
    * http://codex.wordpress.org/Child_Themes), you can override certain functions
    * (those wrapped in a function_exists() call) by defining them first in your child theme's
    * functions.php file. The child theme's functions.php file is included before the parent
    * theme's file, so the child theme functions would be used.
    *
    * Functions that are not pluggable (not wrapped in function_exists()) are instead attached
    * to a filter or action hook. The hook can be removed by using remove_action() or
    * remove_filter() and you can attach your own function to the hook.
    *
    * We can remove the parent theme's hook only after it is attached, which means we need to
    * wait until setting up the child theme:
    *
    * <code>
    * add_action( 'after_setup_theme', 'my_child_theme_setup' );
    * function my_child_theme_setup() {
    * // We are providing our own filter for excerpt_length (or using the unfiltered value)
    * remove_filter( 'excerpt_length', 'twentyten_excerpt_length' );
    * ...
    * }
    * </code>
    *
    * For more information on hooks, actions, and filters, see http://codex.wordpress.org/Plugin_API.
    *
    * @package WordPress
    * @subpackage Twenty_Ten
    * @since Twenty Ten 1.0
    */

    /*
    * Set the content width based on the theme's design and stylesheet.
    *
    * Used to set the width of images and content. Should be equal to the width the theme
    * is designed for, generally via the style.css stylesheet.
    */
    if ( ! isset( $content_width ) )
    $content_width = 640;

    /* Tell WordPress to run twentyten_setup() when the 'after_setup_theme' hook is run. */
    add_action( 'after_setup_theme', 'twentyten_setup' );

    if ( ! function_exists( 'twentyten_setup' ) ):
    /**
    * Set up theme defaults and registers support for various WordPress features.
    *
    * Note that this function is hooked into the after_setup_theme hook, which runs
    * before the init hook. The init hook is too late for some features, such as indicating
    * support post thumbnails.
    *
    * To override twentyten_setup() in a child theme, add your own twentyten_setup to your child theme's
    * functions.php file.
    *
    * @uses add_theme_support() To add support for post thumbnails, custom headers and backgrounds, and automatic feed links.
    * @uses register_nav_menus() To add support for navigation menus.
    * @uses add_editor_style() To style the visual editor.
    * @uses load_theme_textdomain() For translation/localization support.
    * @uses register_default_headers() To register the default custom header images provided with the theme.
    * @uses set_post_thumbnail_size() To set a custom post thumbnail size.
    *
    * @since Twenty Ten 1.0
    */
    function twentyten_setup() {

    // This theme styles the visual editor with editor-style.css to match the theme style.
    add_editor_style();

    // Post Format support. You can also use the legacy "gallery" or "asides" (note the plural) categories.
    add_theme_support( 'post-formats', array( 'aside', 'gallery' ) );

    // This theme uses post thumbnails
    add_theme_support( 'post-thumbnails' );

    // Add default posts and comments RSS feed links to head
    add_theme_support( 'automatic-feed-links' );

    /*
    * Make theme available for translation.
    * Translations can be filed in the /languages/ directory
    */
    load_theme_textdomain( 'twentyten', get_template_directory() . '/languages' );

    // This theme uses wp_nav_menu() in one location.
    register_nav_menus( array(
    'primary' => __( 'Primary Navigation', 'twentyten' ),
    ) );

    // This theme allows users to set a custom background.
    add_theme_support( 'custom-background', array(
    // Let WordPress know what our default background color is.
    'default-color' => 'f1f1f1',
    ) );

    // The custom header business starts here.

    $custom_header_support = array(
    /*
    * The default image to use.
    * The %s is a placeholder for the theme template directory URI.
    */
    'default-image' => '%s/images/headers/path.jpg',
    // The height and width of our custom header.
    /**
    * Filter the Twenty Ten default header image width.
    *
    * @since Twenty Ten 1.0
    *
    * @param int The default header image width in pixels. Default 940.
    */
    'width' => apply_filters( 'twentyten_header_image_width', 940 ),
    /**
    * Filter the Twenty Ten defaul header image height.
    *
    * @since Twenty Ten 1.0
    *
    * @param int The default header image height in pixels. Default 198.
    */
    'height' => apply_filters( 'twentyten_header_image_height', 198 ),
    // Support flexible heights.
    'flex-height' => true,
    // Don't support text inside the header image.
    'header-text' => false,
    // Callback for styling the header preview in the admin.
    'admin-head-callback' => 'twentyten_admin_header_style',
    );

    add_theme_support( 'custom-header', $custom_header_support );

    if ( ! function_exists( 'get_custom_header' ) ) {
    // This is all for compatibility with versions of WordPress prior to 3.4.
    define( 'HEADER_TEXTCOLOR', '' );
    define( 'NO_HEADER_TEXT', true );
    define( 'HEADER_IMAGE', $custom_header_support['default-image'] );
    define( 'HEADER_IMAGE_WIDTH', $custom_header_support['width'] );
    define( 'HEADER_IMAGE_HEIGHT', $custom_header_support['height'] );
    add_custom_image_header( '', $custom_header_support['admin-head-callback'] );
    add_custom_background();
    }

    /*
    * We'll be using post thumbnails for custom header images on posts and pages.
    * We want them to be 940 pixels wide by 198 pixels tall.
    * Larger images will be auto-cropped to fit, smaller ones will be ignored. See header.php.
    */
    set_post_thumbnail_size( $custom_header_support['width'], $custom_header_support['height'], true );

    // ... and thus ends the custom header business.

    // Default custom headers packaged with the theme. %s is a placeholder for the theme template directory URI.
    register_default_headers( array(
    'berries' => array(
    'url' => '%s/images/headers/berries.jpg',
    'thumbnail_url' => '%s/images/headers/berries-thumbnail.jpg',
    /* translators: header image description */
    'description' => __( 'Berries', 'twentyten' )
    ),
    'cherryblossom' => array(
    'url' => '%s/images/headers/cherryblossoms.jpg',
    'thumbnail_url' => '%s/images/headers/cherryblossoms-thumbnail.jpg',
    /* translators: header image description */
    'description' => __( 'Cherry Blossoms', 'twentyten' )
    ),
    'concave' => array(
    'url' => '%s/images/headers/concave.jpg',
    'thumbnail_url' => '%s/images/headers/concave-thumbnail.jpg',
    /* translators: header image description */
    'description' => __( 'Concave', 'twentyten' )
    ),
    'fern' => array(
    'url' => '%s/images/headers/fern.jpg',
    'thumbnail_url' => '%s/images/headers/fern-thumbnail.jpg',
    /* translators: header image description */
    'description' => __( 'Fern', 'twentyten' )
    ),
    'forestfloor' => array(
    'url' => '%s/images/headers/forestfloor.jpg',
    'thumbnail_url' => '%s/images/headers/forestfloor-thumbnail.jpg',
    /* translators: header image description */
    'description' => __( 'Forest Floor', 'twentyten' )
    ),
    'inkwell' => array(
    'url' => '%s/images/headers/inkwell.jpg',
    'thumbnail_url' => '%s/images/headers/inkwell-thumbnail.jpg',
    /* translators: header image description */
    'description' => __( 'Inkwell', 'twentyten' )
    ),
    'path' => array(
    'url' => '%s/images/headers/path.jpg',
    'thumbnail_url' => '%s/images/headers/path-thumbnail.jpg',
    /* translators: header image description */
    'description' => __( 'Path', 'twentyten' )
    ),
    'sunset' => array(
    'url' => '%s/images/headers/sunset.jpg',
    'thumbnail_url' => '%s/images/headers/sunset-thumbnail.jpg',
    /* translators: header image description */
    'description' => __( 'Sunset', 'twentyten' )
    )
    ) );
    }
    endif;

    if ( ! function_exists( 'twentyten_admin_header_style' ) ) :
    /**
    * Style the header image displayed on the Appearance > Header admin panel.
    *
    * Referenced via add_custom_image_header() in twentyten_setup().
    *
    * @since Twenty Ten 1.0
    */
    function twentyten_admin_header_style() {
    ?>
    <style type="text/css" id="twentyten-admin-header-css">
    /* Shows the same border as on front end */
    #headimg {
    border-bottom: 1px solid #000;
    border-top: 4px solid #000;
    }
    /* If header-text was supported, you would style the text with these selectors:
    #headimg #name { }
    #headimg #desc { }
    */
    </style>
    <?php
    }
    endif;

    /**
    * Show a home link for our wp_nav_menu() fallback, wp_page_menu().
    *
    * To override this in a child theme, remove the filter and optionally add
    * your own function tied to the wp_page_menu_args filter hook.
    *
    * @since Twenty Ten 1.0
    *
    * @param array $args An optional array of arguments. @see wp_page_menu()
    */
    function twentyten_page_menu_args( $args ) {
    if ( ! isset( $args['show_home'] ) )
    $args['show_home'] = true;
    return $args;
    }
    add_filter( 'wp_page_menu_args', 'twentyten_page_menu_args' );

    /**
    * Set the post excerpt length to 40 characters.
    *
    * To override this length in a child theme, remove the filter and add your own
    * function tied to the excerpt_length filter hook.
    *
    * @since Twenty Ten 1.0
    *
    * @param int $length The number of excerpt characters.
    * @return int The filtered number of excerpt characters.
    */
    function twentyten_excerpt_length( $length ) {
    return 40;
    }
    add_filter( 'excerpt_length', 'twentyten_excerpt_length' );

    if ( ! function_exists( 'twentyten_continue_reading_link' ) ) :
    /**
    * Return a "Continue Reading" link for excerpts.
    *
    * @since Twenty Ten 1.0
    *
    * @return string "Continue Reading" link.
    */
    function twentyten_continue_reading_link() {
    return ' <a href="'. get_permalink() . '">' . __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyten' ) . '</a>';
    }
    endif;

    /**
    * Replace "[...]" with an ellipsis and twentyten_continue_reading_link().
    *
    * "[...]" is appended to automatically generated excerpts.
    *
    * To override this in a child theme, remove the filter and add your own
    * function tied to the excerpt_more filter hook.
    *
    * @since Twenty Ten 1.0
    *
    * @param string $more The Read More text.
    * @return string An ellipsis.
    */
    function twentyten_auto_excerpt_more( $more ) {
    return ' &hellip;' . twentyten_continue_reading_link();
    }
    add_filter( 'excerpt_more', 'twentyten_auto_excerpt_more' );

    /**
    * Add a pretty "Continue Reading" link to custom post excerpts.
    *
    * To override this link in a child theme, remove the filter and add your own
    * function tied to the get_the_excerpt filter hook.
    *
    * @since Twenty Ten 1.0
    *
    * @param string $output The "Coninue Reading" link.
    * @return string Excerpt with a pretty "Continue Reading" link.
    */
    function twentyten_custom_excerpt_more( $output ) {
    if ( has_excerpt() && ! is_attachment() ) {
    $output .= twentyten_continue_reading_link();
    }
    return $output;
    }
    add_filter( 'get_the_excerpt', 'twentyten_custom_excerpt_more' );

    /**
    * Remove inline styles printed when the gallery shortcode is used.
    *
    * Galleries are styled by the theme in Twenty Ten's style.css. This is just
    * a simple filter call that tells WordPress to not use the default styles.
    *
    * @since Twenty Ten 1.2
    */
    add_filter( 'use_default_gallery_style', '__return_false' );

    /**
    * Deprecated way to remove inline styles printed when the gallery shortcode is used.
    *
    * This function is no longer needed or used. Use the use_default_gallery_style
    * filter instead, as seen above.
    *
    * @since Twenty Ten 1.0
    * @deprecated Deprecated in Twenty Ten 1.2 for WordPress 3.1
    *
    * @return string The gallery style filter, with the styles themselves removed.
    */
    function twentyten_remove_gallery_css( $css ) {
    return preg_replace( "#<style type='text/css'>(.*?)</style>#s", '', $css );
    }
    // Backwards compatibility with WordPress 3.0.
    if ( version_compare( $GLOBALS['wp_version'], '3.1', '<' ) )
    add_filter( 'gallery_style', 'twentyten_remove_gallery_css' );

    if ( ! function_exists( 'twentyten_comment' ) ) :
    /**
    * Template for comments and pingbacks.
    *
    * To override this walker in a child theme without modifying the comments template
    * simply create your own twentyten_comment(), and that function will be used instead.
    *
    * Used as a callback by wp_list_comments() for displaying the comments.
    *
    * @since Twenty Ten 1.0
    *
    * @param object $comment The comment object.
    * @param array $args An array of arguments. @see get_comment_reply_link()
    * @param int $depth The depth of the comment.
    */
    function twentyten_comment( $comment, $args, $depth ) {
    $GLOBALS['comment'] = $comment;
    switch ( $comment->comment_type ) :
    case '' :
    ?>
    <li <?php comment_class(); ?> id="li-comment-<?php comment_ID(); ?>">
    <div id="comment-<?php comment_ID(); ?>">
    <div class="comment-author vcard">
    <?php echo get_avatar( $comment, 40 ); ?>
    <?php printf( __( '%s <span class="says">says:</span>', 'twentyten' ), sprintf( '<cite class="fn">%s</cite>', get_comment_author_link() ) ); ?>
    </div><!-- .comment-author .vcard -->
    <?php if ( $comment->comment_approved == '0' ) : ?>
    <em class="comment-awaiting-moderation"><?php _e( 'Your comment is awaiting moderation.', 'twentyten' ); ?></em>
    <br />
    <?php endif; ?>

    <div class="comment-meta commentmetadata"><a href="<?php echo esc_url( get_comment_link( $comment->comment_ID ) ); ?>">
    <?php

  3. Вверх #3
    Посетитель Аватар для imk2010
    Пол
    Женский
    Адрес
    Одесса
    Сообщений
    352
    Репутация
    987
    продолжение кода

    /* translators: 1: date, 2: time */
    printf( __( '%1$s at %2$s', 'twentyten' ), get_comment_date(), get_comment_time() ); ?></a><?php edit_comment_link( __( '(Edit)', 'twentyten' ), ' ' );
    ?>
    </div><!-- .comment-meta .commentmetadata -->

    <div class="comment-body"><?php comment_text(); ?></div>

    <div class="reply">
    <?php comment_reply_link( array_merge( $args, array( 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>
    </div><!-- .reply -->
    </div><!-- #comment-## -->

    <?php
    break;
    case 'pingback' :
    case 'trackback' :
    ?>
    <li class="post pingback">
    <p><?php _e( 'Pingback:', 'twentyten' ); ?> <?php comment_author_link(); ?><?php edit_comment_link( __( '(Edit)', 'twentyten' ), ' ' ); ?></p>
    <?php
    break;
    endswitch;
    }
    endif;

    /**
    * Register widgetized areas, including two sidebars and four widget-ready columns in the footer.
    *
    * To override twentyten_widgets_init() in a child theme, remove the action hook and add your own
    * function tied to the init hook.
    *
    * @since Twenty Ten 1.0
    *
    * @uses register_sidebar()
    */
    function twentyten_widgets_init() {
    // Area 1, located at the top of the sidebar.
    register_sidebar( array(
    'name' => __( 'Primary Widget Area', 'twentyten' ),
    'id' => 'primary-widget-area',
    'description' => __( 'Add widgets here to appear in your sidebar.', 'twentyten' ),
    'before_widget' => '<li id="%1$s" class="widget-container %2$s">',
    'after_widget' => '</li>',
    'before_title' => '<h3 class="widget-title">',
    'after_title' => '</h3>',
    ) );

    // Area 2, located below the Primary Widget Area in the sidebar. Empty by default.
    register_sidebar( array(
    'name' => __( 'Secondary Widget Area', 'twentyten' ),
    'id' => 'secondary-widget-area',
    'description' => __( 'An optional secondary widget area, displays below the primary widget area in your sidebar.', 'twentyten' ),
    'before_widget' => '<li id="%1$s" class="widget-container %2$s">',
    'after_widget' => '</li>',
    'before_title' => '<h3 class="widget-title">',
    'after_title' => '</h3>',
    ) );

    // Area 3, located in the footer. Empty by default.
    register_sidebar( array(
    'name' => __( 'First Footer Widget Area', 'twentyten' ),
    'id' => 'first-footer-widget-area',
    'description' => __( 'An optional widget area for your site footer.', 'twentyten' ),
    'before_widget' => '<li id="%1$s" class="widget-container %2$s">',
    'after_widget' => '</li>',
    'before_title' => '<h3 class="widget-title">',
    'after_title' => '</h3>',
    ) );

    // Area 4, located in the footer. Empty by default.
    register_sidebar( array(
    'name' => __( 'Second Footer Widget Area', 'twentyten' ),
    'id' => 'second-footer-widget-area',
    'description' => __( 'An optional widget area for your site footer.', 'twentyten' ),
    'before_widget' => '<li id="%1$s" class="widget-container %2$s">',
    'after_widget' => '</li>',
    'before_title' => '<h3 class="widget-title">',
    'after_title' => '</h3>',
    ) );

    // Area 5, located in the footer. Empty by default.
    register_sidebar( array(
    'name' => __( 'Third Footer Widget Area', 'twentyten' ),
    'id' => 'third-footer-widget-area',
    'description' => __( 'An optional widget area for your site footer.', 'twentyten' ),
    'before_widget' => '<li id="%1$s" class="widget-container %2$s">',
    'after_widget' => '</li>',
    'before_title' => '<h3 class="widget-title">',
    'after_title' => '</h3>',
    ) );

    // Area 6, located in the footer. Empty by default.
    register_sidebar( array(
    'name' => __( 'Fourth Footer Widget Area', 'twentyten' ),
    'id' => 'fourth-footer-widget-area',
    'description' => __( 'An optional widget area for your site footer.', 'twentyten' ),
    'before_widget' => '<li id="%1$s" class="widget-container %2$s">',
    'after_widget' => '</li>',
    'before_title' => '<h3 class="widget-title">',
    'after_title' => '</h3>',
    ) );
    }
    /** Register sidebars by running twentyten_widgets_init() on the widgets_init hook. */
    add_action( 'widgets_init', 'twentyten_widgets_init' );

    /**
    * Remove the default styles that are packaged with the Recent Comments widget.
    *
    * To override this in a child theme, remove the filter and optionally add your own
    * function tied to the widgets_init action hook.
    *
    * This function uses a filter (show_recent_comments_widget_style) new in WordPress 3.1
    * to remove the default style. Using Twenty Ten 1.2 in WordPress 3.0 will show the styles,
    * but they won't have any effect on the widget in default Twenty Ten styling.
    *
    * @since Twenty Ten 1.0
    */
    function twentyten_remove_recent_comments_style() {
    add_filter( 'show_recent_comments_widget_style', '__return_false' );
    }
    add_action( 'widgets_init', 'twentyten_remove_recent_comments_style' );

    if ( ! function_exists( 'twentyten_posted_on' ) ) :
    /**
    * Print HTML with meta information for the current post-date/time and author.
    *
    * @since Twenty Ten 1.0
    */
    function twentyten_posted_on() {
    printf( __( '<span class="%1$s">Posted on</span> %2$s <span class="meta-sep">by</span> %3$s', 'twentyten' ),
    'meta-prep meta-prep-author',
    sprintf( '<a href="%1$s" title="%2$s" rel="bookmark"><span class="entry-date">%3$s</span></a>',
    get_permalink(),
    esc_attr( get_the_time() ),
    get_the_date()
    ),
    sprintf( '<span class="author vcard"><a class="url fn n" href="%1$s" title="%2$s">%3$s</a></span>',
    get_author_posts_url( get_the_author_meta( 'ID' ) ),
    esc_attr( sprintf( __( 'View all posts by %s', 'twentyten' ), get_the_author() ) ),
    get_the_author()
    )
    );
    }
    endif;

    if ( ! function_exists( 'twentyten_posted_in' ) ) :
    /**
    * Print HTML with meta information for the current post (category, tags and permalink).
    *
    * @since Twenty Ten 1.0
    */
    function twentyten_posted_in() {
    // Retrieves tag list of current post, separated by commas.
    $tag_list = get_the_tag_list( '', ', ' );
    if ( $tag_list ) {
    $posted_in = __( 'This entry was posted in %1$s and tagged %2$s. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyten' );
    } elseif ( is_object_in_taxonomy( get_post_type(), 'category' ) ) {
    $posted_in = __( 'This entry was posted in %1$s. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyten' );
    } else {
    $posted_in = __( 'Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyten' );
    }
    // Prints the string, replacing the placeholders.
    printf(
    $posted_in,
    get_the_category_list( ', ' ),
    $tag_list,
    get_permalink(),
    the_title_attribute( 'echo=0' )
    );
    }
    endif;

    /**
    * Retrieve the IDs for images in a gallery.
    *
    * @uses get_post_galleries() First, if available. Falls back to shortcode parsing,
    * then as last option uses a get_posts() call.
    *
    * @since Twenty Ten 1.6.
    *
    * @return array List of image IDs from the post gallery.
    */
    function twentyten_get_gallery_images() {
    $images = array();

    if ( function_exists( 'get_post_galleries' ) ) {
    $galleries = get_post_galleries( get_the_ID(), false );
    if ( isset( $galleries[0]['ids'] ) )
    $images = explode( ',', $galleries[0]['ids'] );
    } else {
    $pattern = get_shortcode_regex();
    preg_match( "/$pattern/s", get_the_content(), $match );
    $atts = shortcode_parse_atts( $match[3] );
    if ( isset( $atts['ids'] ) )
    $images = explode( ',', $atts['ids'] );
    }

    if ( ! $images ) {
    $images = get_posts( array(
    'fields' => 'ids',
    'numberposts' => 999,
    'order' => 'ASC',
    'orderby' => 'menu_order',
    'post_mime_type' => 'image',
    'post_parent' => get_the_ID(),
    'post_type' => 'attachment',
    ) );
    }

    return $images;
    }

  4. Вверх #4
    Посетитель Аватар для imk2010
    Пол
    Женский
    Адрес
    Одесса
    Сообщений
    352
    Репутация
    987
    style.css

    /*
    Theme Name: Twenty Ten
    Theme URI: http://wordpress.org/themes/twentyten
    Description: The 2010 theme for WordPress is stylish, customizable, simple, and readable -- make it yours with a custom menu, header image, and background. Twenty Ten supports six widgetized areas (two in the sidebar, four in the footer) and featured images (thumbnails for gallery posts and custom header images for posts and pages). It includes stylesheets for print and the admin Visual Editor, special styles for posts in the "Asides" and "Gallery" categories, and has an optional one-column page template that removes the sidebar.
    Author: the WordPress team
    Author URI: http://wordpress.org/
    Version: 1.7
    License: GNU General Public License v2 or later
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    Tags: black, blue, white, two-columns, fixed-layout, custom-header, custom-background, threaded-comments, sticky-post, translation-ready, microformats, rtl-language-support, editor-style, custom-menu, flexible-header
    Text Domain: twentyten
    */


    /* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
    -------------------------------------------------------------- */

    html, body, div, span, applet, object, iframe,
    h1, h2, h3, h4, h5, h6, p, blockquote, pre,
    a, abbr, acronym, address, big, cite, code,
    del, dfn, em, font, img, ins, kbd, q, s, samp,
    small, strike, strong, sub, sup, tt, var,
    b, u, i, center,
    dl, dt, dd, ol, ul, li,
    fieldset, form, label, legend,
    table, caption, tbody, tfoot, thead, tr, th, td {
    background: transparent;
    border: 0;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
    }
    body {
    line-height: 1;
    }
    h1, h2, h3, h4, h5, h6 {
    clear: both;
    font-weight: normal;
    }
    ol, ul {
    list-style: none;
    }
    blockquote {
    quotes: none;
    }
    blockquote:before, blockquote:after {
    content: '';
    content: none;
    }
    del {
    text-decoration: line-through;
    }
    /* tables still need 'cellspacing="0"' in the markup */
    table {
    border-collapse: collapse;
    border-spacing: 0;
    }
    a img {
    border: none;
    }

    /* =Layout
    -------------------------------------------------------------- */

    /*
    LAYOUT: Two columns
    DESCRIPTION: Two-column fixed layout with one sidebar right of content
    */

    #container {
    float: left;
    margin: 0 -240px 0 0;
    width: 100%;
    }
    #content {
    margin: 0 280px 0 20px;
    }
    #primary,
    #secondary {
    float: right;
    overflow: hidden;
    width: 220px;
    }
    #secondary {
    clear: right;
    }
    #footer {
    clear: both;
    width: 100%;
    }

    /*
    LAYOUT: One column, no sidebar
    DESCRIPTION: One centered column with no sidebar
    */

    .one-column #content {
    margin: 0 auto;
    width: 640px;
    }

    /*
    LAYOUT: Full width, no sidebar
    DESCRIPTION: Full width content with no sidebar; used for attachment pages
    */

    .single-attachment #content {
    margin: 0 auto;
    width: 900px;
    }


    /* =Fonts
    -------------------------------------------------------------- */
    body,
    input,
    textarea,
    .page-title span,
    .pingback a.url {
    font-family: Georgia, "Bitstream Charter", serif;
    }
    h3#comments-title,
    h3#reply-title,
    #access .menu,
    #access div.menu ul,
    #cancel-comment-reply-link,
    .form-allowed-tags,
    #site-info,
    #site-title,
    #wp-calendar,
    .comment-meta,
    .comment-body tr th,
    .comment-body thead th,
    .entry-content label,
    .entry-content tr th,
    .entry-content thead th,
    .entry-meta,
    .entry-title,
    .entry-utility,
    #respond label,
    .navigation,
    .page-title,
    .pingback p,
    .reply,
    .widget-title,
    .wp-caption-text {
    font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
    }
    input[type="submit"] {
    font-family: "Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif;
    }
    pre {
    font-family: "Courier 10 Pitch", Courier, monospace;
    }
    code {
    font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
    }


    /* =Structure
    -------------------------------------------------------------- */

    /* The main theme structure */
    #access .menu-header,
    div.menu,
    #colophon,
    #branding,
    #main,
    #wrapper {
    margin: 0 auto;
    width: 940px;
    }
    #wrapper {
    background: #fff;
    margin-top: 20px;
    padding: 0 20px;
    }

    /* Structure the footer area */
    #footer-widget-area {
    overflow: hidden;
    }
    #footer-widget-area .widget-area {
    float: left;
    margin-right: 20px;
    width: 220px;
    }
    #footer-widget-area #fourth {
    margin-right: 0;
    }
    #site-info {
    float: left;
    font-size: 14px;
    font-weight: bold;
    width: 700px;
    }
    #site-generator {
    float: right;
    width: 220px;
    }


    /* =Global Elements
    -------------------------------------------------------------- */

    /* Main global 'theme' and typographic styles */
    body {
    background: #f1f1f1;
    }
    body,
    input,
    textarea {
    color: #666;
    font-size: 12px;
    line-height: 18px;
    }
    hr {
    background-color: #e7e7e7;
    border: 0;
    clear: both;
    height: 1px;
    margin-bottom: 18px;
    }

    /* Text elements */
    p {
    margin-bottom: 18px;
    }
    ul {
    list-style: square;
    margin: 0 0 18px 1.5em;
    }
    ol {
    list-style: decimal;
    margin: 0 0 18px 1.5em;
    }
    ol ol {
    list-style: upper-alpha;
    }
    ol ol ol {
    list-style: lower-roman;
    }
    ol ol ol ol {
    list-style: lower-alpha;
    }
    ul ul,
    ol ol,
    ul ol,
    ol ul {
    margin-bottom: 0;
    }
    dl {
    margin: 0 0 24px 0;
    }
    dt {
    font-weight: bold;
    }
    dd {
    margin-bottom: 18px;
    }
    strong {
    font-weight: bold;
    }
    cite,
    em,
    i {
    font-style: italic;
    }
    big {
    font-size: 131.25%;
    }
    ins {
    background: #ffc;
    text-decoration: none;
    }
    blockquote {
    font-style: italic;
    padding: 0 3em;
    }
    blockquote cite,
    blockquote em,
    blockquote i {
    font-style: normal;
    }
    pre {
    background: #f7f7f7;
    color: #222;
    line-height: 18px;
    margin-bottom: 18px;
    overflow: auto;
    padding: 1.5em;
    }
    abbr,
    acronym {
    border-bottom: 1px dotted #666;
    cursor: help;
    }
    sup,
    sub {
    height: 0;
    line-height: 1;
    position: relative;
    vertical-align: baseline;
    }
    sup {
    bottom: 1ex;
    }
    sub {
    top: .5ex;
    }
    small {
    font-size: smaller;
    }
    input[type="text"],
    input[type="password"],
    input[type="email"],
    input[type="url"],
    input[type="number"],
    textarea {
    background: #f9f9f9;
    border: 1px solid #ccc;
    box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
    -moz-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
    -webkit-box-shadow: inset 1px 1px 1px rgba(0,0,0,0.1);
    padding: 2px;
    }
    a:link {
    color: #0066cc;
    }
    a:visited {
    color: #743399;
    }
    a:active,
    a:hover {
    color: #ff4b33;
    }

    /* Text meant only for screen readers */
    .screen-reader-text {
    position: absolute;
    left: -9000px;
    }


    /* =Header
    -------------------------------------------------------------- */

    #header {
    padding: 30px 0 0 0;
    }
    #site-title {
    float: left;
    font-size: 30px;
    line-height: 36px;
    margin: 0 0 18px 0;
    width: 700px;
    }
    #site-title a {
    color: #000;
    font-weight: bold;
    text-decoration: none;
    }
    #site-description {
    clear: right;
    float: right;
    font-style: italic;
    margin: 15px 0 18px 0;
    width: 220px;
    }

    /* This is the custom header image */
    #branding img {
    border-top: 4px solid #000;
    border-bottom: 1px solid #000;
    display: block;
    float: left;
    }


    /* =Menu
    -------------------------------------------------------------- */

    #access {
    background: #000;
    display: block;
    float: left;
    margin: 0 auto;
    width: 940px;
    }
    #access .menu-header,
    div.menu {
    font-size: 13px;
    margin-left: 12px;
    width: 928px;
    }
    #access .menu-header ul,
    div.menu ul {
    list-style: none;
    margin: 0;
    }
    #access .menu-header li,
    div.menu li {
    float: left;
    position: relative;
    }
    #access a {
    color: #aaa;
    display: block;
    line-height: 38px;
    padding: 0 10px;
    text-decoration: none;
    }
    #access ul ul {
    box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
    -webkit-box-shadow: 0px 3px 3px rgba(0,0,0,0.2);
    display: none;
    position: absolute;
    top: 38px;
    left: 0;
    float: left;
    width: 180px;
    z-index: 99999;
    }
    #access ul ul li {
    min-width: 180px;
    }
    #access ul ul ul {
    left: 100%;
    top: 0;
    }
    #access ul ul a {
    background: #333;
    line-height: 1em;
    padding: 10px;
    width: 160px;
    height: auto;
    }
    #access li:hover > a,
    #access ul ul :hover > a {
    background: #333;
    color: #fff;
    }
    #access ul li:hover > ul {
    display: block;
    }
    #access ul li.current_page_item > a,
    #access ul li.current_page_ancestor > a,
    #access ul li.current-menu-ancestor > a,
    #access ul li.current-menu-item > a,
    #access ul li.current-menu-parent > a {
    color: #fff;
    }
    * html #access ul li.current_page_item a,
    * html #access ul li.current_page_ancestor a,
    * html #access ul li.current-menu-ancestor a,
    * html #access ul li.current-menu-item a,
    * html #access ul li.current-menu-parent a,
    * html #access ul li a:hover {
    color: #fff;
    }


    /* =Content
    -------------------------------------------------------------- */

    #main {
    clear: both;
    overflow: hidden;
    padding: 40px 0 0 0;
    }
    #content {
    margin-bottom: 36px;
    }
    #content,
    #content input,
    #content textarea {
    color: #333;
    font-size: 16px;
    line-height: 24px;
    }
    #content p,
    #content ul,
    #content ol,
    #content dd,
    #content pre,
    #content hr {
    margin-bottom: 24px;
    }
    #content ul ul,
    #content ol ol,
    #content ul ol,
    #content ol ul {
    margin-bottom: 0;
    }
    #content pre,
    #content kbd,
    #content tt,
    #content var {
    font-size: 15px;
    line-height: 21px;
    }
    #content code {
    font-size: 13px;
    }
    #content dt,
    #content th {
    color: #000;
    }
    #content h1,
    #content h2,
    #content h3,
    #content h4,
    #content h5,
    #content h6 {
    color: #000;
    line-height: 1.5em;
    margin: 0 0 20px 0;
    }
    #content table {
    border: 1px solid #e7e7e7;
    margin: 0 -1px 24px 0;
    text-align: left;
    width: 100%;
    }
    #content tr th,
    #content thead th {
    color: #777;
    font-size: 12px;
    font-weight: bold;
    line-height: 18px;
    padding: 9px 24px;
    }
    #content tr td {
    border-top: 1px solid #e7e7e7;
    padding: 6px 24px;
    }
    #content tr.odd td {
    background: #f2f7fc;
    }
    .hentry {
    margin: 0 0 48px 0;
    }
    .home .sticky {
    background: #f2f7fc;
    border-top: 4px solid #000;
    margin-left: -20px;
    margin-right: -20px;
    padding: 18px 20px;
    }
    .single .hentry {
    margin: 0 0 36px 0;
    }
    .page-title {
    color: #000;
    font-size: 14px;
    font-weight: bold;
    margin: 0 0 36px 0;
    }
    .page-title span {
    color: #333;
    font-size: 16px;
    font-style: italic;
    font-weight: normal;
    }
    .page-title a:link,
    .page-title a:visited {
    color: #777;
    text-decoration: none;
    }
    .page-title a:active,
    .page-title a:hover {
    color: #ff4b33;
    }
    #content .entry-title {
    color: #000;
    font-size: 21px;
    font-weight: bold;
    line-height: 1.3em;
    margin-bottom: 0;
    }
    .entry-title a:link,
    .entry-title a:visited {
    color: #000;
    text-decoration: none;
    }
    .entry-title a:active,
    .entry-title a:hover {
    color: #ff4b33;
    }
    .entry-meta {
    color: #777;
    font-size: 12px;
    }
    .entry-meta abbr,
    .entry-utility abbr {
    border: none;
    }
    .entry-meta abbr:hover,
    .entry-utility abbr:hover {
    border-bottom: 1px dotted #666;
    }
    .entry-content,
    .entry-summary {
    clear: both;
    padding: 12px 0 0 0;
    }
    #content .entry-summary p:last-child {
    margin-bottom: 12px;
    }
    .entry-content fieldset {
    border: 1px solid #e7e7e7;
    margin: 0 0 24px 0;
    padding: 24px;
    }
    .entry-content fieldset legend {
    background: #fff;
    color: #000;
    font-weight: bold;
    padding: 0 24px;
    }
    .entry-content input {
    margin: 0 0 24px 0;
    }
    .entry-content input.file,
    .entry-content input.button {
    margin-right: 24px;
    }
    .entry-content label {
    color: #777;
    font-size: 12px;
    }
    .entry-content select {
    margin: 0 0 24px 0;
    }
    .entry-content sup,
    .entry-content sub {
    font-size: 10px;
    }
    .entry-content blockquote.left {
    float: left;
    margin-left: 0;
    margin-right: 24px;
    text-align: right;
    width: 33%;
    }
    .entry-content blockquote.right {
    float: right;
    margin-left: 24px;
    margin-right: 0;
    text-align: left;
    width: 33%;
    }
    .page-link {
    clear: both;
    color: #000;
    font-weight: bold;
    line-height: 48px;
    word-spacing: 0.5em;
    }
    .page-link a:link,
    .page-link a:visited {
    background: #f1f1f1;
    color: #333;
    font-weight: normal;
    padding: 0.5em 0.75em;
    text-decoration: none;
    }
    .home .sticky .page-link a {
    background: #d9e8f7;
    }
    .page-link a:active,
    .page-link a:hover {
    color: #ff4b33;
    }
    body.page .edit-link {
    clear: both;
    display: block;
    }
    #entry-author-info {
    background: #f2f7fc;
    border-top: 4px solid #000;
    clear: both;
    font-size: 14px;
    line-height: 20px;
    margin: 24px 0;
    overflow: hidden;
    padding: 18px 20px;
    }
    #entry-author-info #author-avatar {
    background: #fff;
    border: 1px solid #e7e7e7;
    float: left;
    height: 60px;
    margin: 0 -104px 0 0;
    padding: 11px;
    }
    #entry-author-info #author-description {
    float: left;
    margin: 0 0 0 104px;
    }
    #entry-author-info h2 {
    color: #000;
    font-size: 100%;
    font-weight: bold;
    margin-bottom: 0;
    }
    .entry-utility {
    clear: both;
    color: #777;
    font-size: 12px;
    line-height: 18px;
    }
    .entry-meta a,
    .entry-utility a {
    color: #777;
    }
    .entry-meta a:hover,
    .entry-utility a:hover {
    color: #ff4b33;
    }
    #content .video-player {
    padding: 0;
    }

  5. Вверх #5
    Посетитель Аватар для imk2010
    Пол
    Женский
    Адрес
    Одесса
    Сообщений
    352
    Репутация
    987
    продолжение

    /* =Asides
    -------------------------------------------------------------- */

    .home #content .format-aside p,
    .home #content .category-asides p {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 10px;
    margin-top: 0;
    }
    .home .hentry.format-aside,
    .home .hentry.category-asides {
    padding: 0;
    }
    .home #content .format-aside .entry-content,
    .home #content .category-asides .entry-content {
    padding-top: 0;
    }


    /* =Gallery listing
    -------------------------------------------------------------- */

    .format-gallery .size-thumbnail img,
    .category-gallery .size-thumbnail img {
    border: 10px solid #f1f1f1;
    margin-bottom: 0;
    }
    .format-gallery .gallery-thumb,
    .category-gallery .gallery-thumb {
    float: left;
    margin-right: 20px;
    margin-top: -4px;
    }
    .home #content .format-gallery .entry-utility,
    .home #content .category-gallery .entry-utility {
    padding-top: 4px;
    }


    /* =Attachment pages
    -------------------------------------------------------------- */

    .attachment .entry-content .entry-caption {
    font-size: 140%;
    margin-top: 24px;
    }
    .attachment .entry-content .nav-previous a:before {
    content: '\2190\00a0';
    }
    .attachment .entry-content .nav-next a:after {
    content: '\00a0\2192';
    }


    /* =Images
    -------------------------------------------------------------- */

    /*
    Resize images to fit the main content area.
    - Applies only to images uploaded via WordPress by targeting size-* classes.
    - Other images will be left alone. Use "size-auto" class to apply to other images.
    */
    img.size-auto,
    img.size-full,
    img.size-large,
    img.size-medium,
    .attachment img,
    .widget-container img {
    max-width: 100%; /* When images are too wide for containing element, force them to fit. */
    height: auto; /* Override height to match resized width for correct aspect ratio. */
    }

    img.alignleft,
    img.alignright,
    img.aligncenter {
    margin-bottom: 12px;
    }
    .wp-caption {
    background: #f1f1f1;
    line-height: 18px;
    margin-bottom: 20px;
    max-width: 632px !important; /* prevent too-wide images from breaking layout */
    padding: 4px;
    text-align: center;
    }
    .wp-caption img {
    margin: 5px 5px 0;
    max-width: 622px; /* caption width - 10px */
    }
    .wp-caption p.wp-caption-text {
    color: #777;
    font-size: 12px;
    margin: 5px;
    }
    .wp-smiley {
    margin: 0;
    }
    .gallery {
    margin: 0 auto 18px;
    }
    .gallery .gallery-item {
    float: left;
    margin-top: 0;
    text-align: center;
    width: 33%;
    }
    .gallery-columns-2 .gallery-item {
    width: 50%;
    }
    .gallery-columns-4 .gallery-item {
    width: 25%;
    }
    .gallery img {
    border: 2px solid #cfcfcf;
    }
    .gallery-columns-2 .attachment-medium {
    max-width: 92%;
    height: auto;
    }
    .gallery-columns-4 .attachment-thumbnail {
    max-width: 84%;
    height: auto;
    }
    .gallery .gallery-caption {
    color: #777;
    font-size: 12px;
    margin: 0 0 12px;
    }
    .gallery dl {
    margin: 0;
    }
    .gallery img {
    border: 10px solid #f1f1f1;
    }
    .gallery br+br {
    display: none;
    }
    #content .attachment img {/* single attachment images should be centered */
    display: block;
    margin: 0 auto;
    }


    /* =Navigation
    -------------------------------------------------------------- */

    .navigation {
    color: #777;
    font-size: 12px;
    line-height: 18px;
    overflow: hidden;
    }
    .navigation a:link,
    .navigation a:visited {
    color: #777;
    text-decoration: none;
    }
    .navigation a:active,
    .navigation a:hover {
    color: #ff4b33;
    }
    .nav-previous {
    float: left;
    width: 50%;
    }
    .nav-next {
    float: right;
    text-align: right;
    width: 50%;
    }
    #nav-above {
    margin: 0 0 18px 0;
    }
    #nav-above {
    display: none;
    }
    .paged #nav-above,
    .single #nav-above {
    display: block;
    }
    #nav-below {
    margin: -18px 0 0 0;
    }


    /* =Comments
    -------------------------------------------------------------- */
    #comments {
    clear: both;
    }
    #comments .navigation {
    padding: 0 0 18px 0;
    }
    h3#comments-title,
    h3#reply-title {
    color: #000;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 0;
    }
    h3#comments-title {
    padding: 24px 0;
    }
    .commentlist {
    list-style: none;
    margin: 0;
    }
    .commentlist li.comment {
    border-bottom: 1px solid #e7e7e7;
    line-height: 24px;
    margin: 0 0 24px 0;
    padding: 0 0 0 56px;
    position: relative;
    }
    .commentlist li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    }
    #comments .comment-body ul,
    #comments .comment-body ol {
    margin-bottom: 18px;
    }
    #comments .comment-body p:last-child {
    margin-bottom: 6px;
    }
    #comments .comment-body blockquote p:last-child {
    margin-bottom: 24px;
    }
    .commentlist ol {
    list-style: decimal;
    }
    .commentlist .avatar {
    position: absolute;
    top: 4px;
    left: 0;
    }
    .comment-author {
    }
    .comment-author cite {
    color: #000;
    font-style: normal;
    font-weight: bold;
    }
    .comment-author .says {
    font-style: italic;
    }
    .comment-meta {
    font-size: 12px;
    margin: 0 0 18px 0;
    }
    .comment-meta a:link,
    .comment-meta a:visited {
    color: #777;
    text-decoration: none;
    }
    .comment-meta a:active,
    .comment-meta a:hover {
    color: #ff4b33;
    }
    .commentlist .even {
    }
    .commentlist .bypostauthor {
    }
    .reply {
    font-size: 12px;
    padding: 0 0 24px 0;
    }
    .reply a,
    a.comment-edit-link {
    color: #777;
    }
    .reply a:hover,
    a.comment-edit-link:hover {
    color: #ff4b33;
    }
    .commentlist .children {
    list-style: none;
    margin: 0;
    }
    .commentlist .children li {
    border: none;
    margin: 0;
    }
    .nopassword,
    .nocomments {
    display: none;
    }
    #comments .pingback {
    border-bottom: 1px solid #e7e7e7;
    margin-bottom: 18px;
    padding-bottom: 18px;
    }
    .commentlist li.comment+li.pingback {
    margin-top: -6px;
    }
    #comments .pingback p {
    color: #777;
    display: block;
    font-size: 12px;
    line-height: 18px;
    margin: 0;
    }
    #comments .pingback .url {
    font-size: 13px;
    font-style: italic;
    }

    /* Comments form */
    input[type="submit"] {
    color: #333;
    }
    #respond {
    border-top: 1px solid #e7e7e7;
    margin: 24px 0;
    overflow: hidden;
    position: relative;
    }
    #respond p {
    margin: 0;
    }
    #respond .comment-notes {
    margin-bottom: 1em;
    }
    .form-allowed-tags {
    line-height: 1em;
    }
    .children #respond {
    margin: 0 48px 0 0;
    }
    h3#reply-title {
    margin: 18px 0;
    }
    #comments-list #respond {
    margin: 0 0 18px 0;
    }
    #comments-list ul #respond {
    margin: 0;
    }
    #cancel-comment-reply-link {
    font-size: 12px;
    font-weight: normal;
    line-height: 18px;
    }
    #respond .required {
    color: #ff4b33;
    font-weight: bold;
    }
    #respond label {
    color: #777;
    font-size: 12px;
    }
    #respond input {
    margin: 0 0 9px;
    width: 98%;
    }
    #respond textarea {
    width: 98%;
    }
    #respond .form-allowed-tags {
    color: #777;
    font-size: 12px;
    line-height: 18px;
    }
    #respond .form-allowed-tags code {
    font-size: 11px;
    }
    #respond .form-submit {
    margin: 12px 0;
    }
    #respond .form-submit input {
    font-size: 14px;
    width: auto;
    }


    /* =Widget Areas
    -------------------------------------------------------------- */

    .widget-area ul {
    list-style: none;
    margin-left: 0;
    }
    .widget-area ul ul {
    list-style: square;
    margin-left: 1.3em;
    }
    .widget-area select {
    max-width: 100%;
    }
    .widget_search #s {/* This keeps the search inputs in line */
    width: 60%;
    }
    .widget_search label {
    display: none;
    }
    .widget-container {
    word-wrap: break-word;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;
    margin: 0 0 18px 0;
    }
    .widget-container .wp-caption img {
    margin: auto;
    }
    .widget-title {
    color: #222;
    font-weight: bold;
    }
    .widget-area a:link,
    .widget-area a:visited {
    text-decoration: none;
    }
    .widget-area a:active,
    .widget-area a:hover {
    text-decoration: underline;
    }
    .widget-area .entry-meta {
    font-size: 11px;
    }
    #wp_tag_cloud div {
    line-height: 1.6em;
    }
    #wp-calendar {
    width: 100%;
    }
    #wp-calendar caption {
    color: #222;
    font-size: 14px;
    font-weight: bold;
    padding-bottom: 4px;
    text-align: left;
    }
    #wp-calendar thead {
    font-size: 11px;
    }
    #wp-calendar thead th {
    }
    #wp-calendar tbody {
    color: #aaa;
    }
    #wp-calendar tbody td {
    background: #f5f5f5;
    border: 1px solid #fff;
    padding: 3px 0 2px;
    text-align: center;
    }
    #wp-calendar tbody .pad {
    background: none;
    }
    #wp-calendar tfoot #next {
    text-align: right;
    }
    .widget_rss a.rsswidget {
    color: #000;
    }
    .widget_rss a.rsswidget:hover {
    color: #ff4b33;
    }
    .widget_rss .widget-title img {
    width: 11px;
    height: 11px;
    }

    /* Main sidebars */
    #main .widget-area ul {
    margin-left: 0;
    padding: 0 20px 0 0;
    }
    #main .widget-area ul ul {
    border: none;
    margin-left: 1.3em;
    padding: 0;
    }
    #primary {
    }
    #secondary {
    }

    /* Footer widget areas */
    #footer-widget-area {
    }


    /* =Footer
    -------------------------------------------------------------- */

    #footer {
    margin-bottom: 20px;
    }
    #colophon {
    border-top: 4px solid #000;
    margin-top: -4px;
    overflow: hidden;
    padding: 18px 0;
    }
    #site-info {
    font-weight: bold;
    }
    #site-info a {
    color: #000;
    text-decoration: none;
    }
    #site-generator {
    font-style: italic;
    position: relative;
    }
    #site-generator a {
    background: url(images/wordpress.png) center left no-repeat;
    color: #666;
    display: inline-block;
    line-height: 16px;
    padding-left: 20px;
    text-decoration: none;
    }
    #site-generator a:hover {
    text-decoration: underline;
    }
    img#wpstats {
    display: block;
    margin: 0 auto 10px;
    }


    /* =Mobile Safari ( iPad, iPhone and iPod Touch )
    -------------------------------------------------------------- */

    pre {
    -webkit-text-size-adjust: 140%;
    }
    code {
    -webkit-text-size-adjust: 160%;
    }
    #access,
    .entry-meta,
    .entry-utility,
    .navigation,
    .widget-area {
    -webkit-text-size-adjust: 120%;
    }
    #site-description {
    -webkit-text-size-adjust: none;
    }


    /* =Print Style
    -------------------------------------------------------------- */

    @media print {
    body {
    background: none !important;
    }
    #wrapper {
    clear: both !important;
    display: block !important;
    float: none !important;
    position: relative !important;
    }
    #header {
    border-bottom: 2pt solid #000;
    padding-bottom: 18pt;
    }
    #colophon {
    border-top: 2pt solid #000;
    }
    #site-title,
    #site-description {
    float: none;
    line-height: 1.4em;
    margin: 0;
    padding: 0;
    }
    #site-title {
    font-size: 13pt;
    }
    .entry-content {
    font-size: 14pt;
    line-height: 1.6em;
    }
    .entry-title {
    font-size: 21pt;
    }
    #access,
    #branding img,
    #respond,
    .comment-edit-link,
    .edit-link,
    .navigation,
    .page-link,
    .widget-area {
    display: none !important;
    }
    #container,
    #header,
    #footer {
    margin: 0;
    width: 100%;
    }
    #content,
    .one-column #content {
    margin: 24pt 0 0;
    width: 100%;
    }
    .wp-caption p {
    font-size: 11pt;
    }
    #site-info,
    #site-generator {
    float: none;
    width: auto;
    }
    #colophon {
    width: auto;
    }
    img#wpstats {
    display: none;
    }
    #site-generator a {
    margin: 0;
    padding: 0;
    }
    #entry-author-info {
    border: 1px solid #e7e7e7;
    }
    #main {
    display: inline;
    }
    .home .sticky {
    border: none;
    }
    }
    /* Captions */
    .aligncenter,
    div.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    }
    .alignleft
    {
    float: left;
    }

    .alignright
    {
    float: right;
    }

    .wp-caption {
    border: 1px solid #ddd;
    text-align: center;
    background-color: #f3f3f3;
    padding-top: 4px;
    margin: 10px;
    -moz-border-radius: 3px;
    -khtml-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    }

    .wp-caption img {
    margin: 0;
    padding: 0;
    border: 0 none;
    }

    .wp-caption p.wp-caption-text {
    font-size: 12px;
    line-height: 17px;
    padding: 0 4px 5px;
    margin: 0;
    }
    /* End captions */

  6. Вверх #6
    Посетитель Аватар для V_AD
    Пол
    Мужской
    Адрес
    Одесса
    Сообщений
    256
    Репутация
    139
    Нажмите на изображение для увеличения
Название: 13854490995700.jpeg
Просмотров: 30
Размер:	38.7 Кб
ID:	9070363

    /* translators: 1: date, 2: time */
    printf( __( '%1$s at %2$s', 'twentyten' ), get_comment_date(), get_comment_time() ); ?></a><?php edit_comment_link( __( '(Edit)', 'twentyten' ), ' ' );
    ?>
    </div><!-- .comment-meta .commentmetadata -->
    <div class="comment-body"><?php comment_text(); ?></div>

    <div class="reply">
    <?php comment_reply_link( array_merge( $args, array( 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>
    </div><!-- .reply -->
    </div><!-- #comment-## -->

    <?php
    break;
    case 'pingback' :
    case 'trackback' :
    ?>
    <li class="post pingback">
    <p><?php _e( 'Pingback:', 'twentyten' ); ?> <?php comment_author_link(); ?><?php edit_comment_link( __( '(Edit)', 'twentyten' ), ' ' ); ?></p>
    <?php
    break;
    endswitch;
    }
    endif;
    Изображения
    Последний раз редактировалось V_AD; 25.11.2014 в 18:59.

  7. Вверх #7
    Новичок
    Пол
    Мужской
    Возраст
    35
    Сообщений
    25
    Репутация
    12
    какая-то безумная стукотня примата по клавиатуре, а не код)))

  8. Вверх #8
    Посетитель Аватар для imk2010
    Пол
    Женский
    Адрес
    Одесса
    Сообщений
    352
    Репутация
    987
    Цитата Сообщение от V_AD Посмотреть сообщение
    Вложение 9070363

    /* translators: 1: date, 2: time */
    printf( __( '%1$s at %2$s', 'twentyten' ), get_comment_date(), get_comment_time() ); ?></a><?php edit_comment_link( __( '(Edit)', 'twentyten' ), ' ' );
    ?>
    </div><!-- .comment-meta .commentmetadata -->
    <div class="comment-body"><?php comment_text(); ?></div>

    <div class="reply">
    <?php comment_reply_link( array_merge( $args, array( 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ); ?>
    </div><!-- .reply -->
    </div><!-- #comment-## -->

    <?php
    break;
    case 'pingback' :
    case 'trackback' :
    ?>
    <li class="post pingback">
    <p><?php _e( 'Pingback:', 'twentyten' ); ?> <?php comment_author_link(); ?><?php edit_comment_link( __( '(Edit)', 'twentyten' ), ' ' ); ?></p>
    <?php
    break;
    endswitch;
    }
    endif;
    подскажите, а куда именно вставить код который вы написали? заранее большое спасибо за ответ.


Ответить в теме

Социальные закладки

Социальные закладки

Ваши права

  • Вы не можете создавать новые темы
  • Вы не можете отвечать в темах
  • Вы не можете прикреплять вложения
  • Вы не можете редактировать свои сообщения