PHP: <?php /* If this is a category archive */ if (is_category()) { ?> <h1 class="pagetitle"><?php printf(__ ('Записи из ‘%s’ категории', 'punchcut'), single_cat_title("", false))?></h1> <?php /* If this is a tag archive */ } elseif( is_tag() ) { ?> <h1 class="pagetitle"><?php printf(__ ('Записи с тегами ‘%s’', 'punchcut'), single_tag_title("", false))?></h1> <?php /* If this is a daily archive */ } elseif (is_day()) { ?> <h1 class="pagetitle"><?php _e('Архив для', 'punchcut') ?> <?php the_time(__ ('F jS, Y', 'punchcut')) ?></h1> <?php /* If this is a monthly archive */ } elseif (is_month()) { ?> <h1 class="pagetitle"><?php _e('Архив для', 'punchcut') ?> <?php the_time(__ ('F, Y', 'punchcut')) ?></h1> <?php /* If this is a yearly archive */ } elseif (is_year()) { ?> <h1 class="pagetitle"><?php _e('Архив для', 'punchcut') ?> <?php the_time(__ ('Y', 'punchcut')) ?></h1> /**/ <?php /* If this is an author archive */ } elseif (is_author()) { if (isset($_GET[ 'author_name'])) $current_author=g et_userdatabylogin($author_name); else $current_author=g et_userdata(intval($author));?> <h1 class="pagetitle"><?php printf(__ ('Записи от %s', 'punchcut'), $current_author->nickname)?></h1> <?php /* If this is a paged archive */ } elseif (isset($_GET[ 'paged']) && !empty($_GET[ 'paged'])) { ?> <h1 class="pagetitle"><?php _e('Архив блога', 'punchcut') ?></h1> <?php } ?> Помогите пожалуйста. Браузер не грузит archive.php, ругается на строку которая здесь за номером 11. Конкретнее - на закрывающую фигурную скобку в этой строке.
PHP: <?php /* If this is a category archive */ if (is_category()) { ?> <h1 class="pagetitle"> <?php printf(__('Записи из ‘%s’ категории', 'punchcut'), single_cat_title("", false)) ?> </h1> <?php /* If this is a tag archive */ } elseif (is_tag()) { ?> <h1 class="pagetitle"> <?php printf(__('Записи с тегами ‘%s’', 'punchcut'), single_tag_title("", false)) ?> </h1> <?php /* If this is a daily archive */ } elseif (is_day()) { ?> <h1 class="pagetitle"> <?php _e('Архив для', 'punchcut') ?> <?php the_time(__('F jS, Y', 'punchcut')) ?> </h1> <?php /* If this is a monthly archive */ } elseif (is_month()) { ?> <h1 class="pagetitle"> <?php _e('Архив для', 'punchcut') ?> <?php the_time(__('F, Y', 'punchcut')) ?> </h1> <?php /* If this is a yearly archive */ } elseif (is_year()) { ?> <h1 class="pagetitle"> <?php _e('Архив для', 'punchcut') ?> <?php the_time(__('Y', 'punchcut')) ?> </h1> <?php /* If this is an author archive */ } elseif (is_author()) { if (isset($_GET['author_name'])) $current_author = get_userdatabylogin($author_name); else $current_author = get_userdata(intval($author)); ?> <h1 class="pagetitle"> <?php printf(__('Записи от %s', 'punchcut'), $current_author->nickname) ?> </h1> <?php /* If this is a paged archive */ } elseif (isset($_GET['paged']) && !empty($_GET['paged'])) { ?> <h1 class="pagetitle"> <?php _e('Архив блога', 'punchcut') ?> </h1> <?php } ?> --- Добавлено --- у Вас пробелы стоят в именах функций g et_userdatabylogin и g et_userdata PHP: /**/ <?php /* If this is an author archive */ } elseif (is_author()) { if (isset($_GET[ 'author_name'])) $current_author=g et_userdatabylogin($author_name); else $current_author=g et_userdata(intval($author));?>