{"id":546,"date":"2020-05-22T16:01:17","date_gmt":"2020-05-22T13:01:17","guid":{"rendered":"http:\/\/wpfolio.ru\/?page_id=546"},"modified":"2021-10-11T12:26:28","modified_gmt":"2021-10-11T09:26:28","slug":"zero-wp","status":"publish","type":"page","link":"https:\/\/wpfolio.ru\/projects\/zero-wp\/","title":{"rendered":"\u0422\u0435\u043c\u0430 Zero WP"},"content":{"rendered":"\n
\u0423\u043b\u044c\u0442\u0440\u0430-\u043c\u0438\u043d\u0438\u043c\u0430\u043b\u0438\u0441\u0442\u0438\u0447\u043d\u0430\u044f \u0441\u0442\u0430\u0440\u0442\u043e\u0432\u0430\u044f \u0442\u0435\u043c\u0430 WordPress. \u0421\u043e\u0434\u0435\u0440\u0436\u0438\u0442 \u043c\u0438\u043d\u0438\u043c\u0443\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0445 \u0444\u0430\u0439\u043b\u043e\u0432: style.css, functions.php, index.php, header.php, footer.php. \u041f\u043e\u0434\u0445\u043e\u0434\u0438\u0442 \u0434\u043b\u044f \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0430 \u0433\u043e\u0442\u043e\u0432\u043e\u0439 \u0432\u0435\u0440\u0441\u0442\u043a\u0438 \u043d\u0430 WordPress \u0438 \u0441\u043e\u0437\u0434\u0430\u043d\u0438\u044f \u043d\u0435\u0442\u0438\u043f\u0438\u0447\u043d\u044b\u0445 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043d\u0435 \u0442\u0440\u0435\u0431\u0443\u044e\u0442\u0441\u044f \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0439 \u043d\u0430\u0431\u043e\u0440 \u0444\u0430\u0439\u043b\u043e\u0432 \u0442\u0435\u043c\u044b.<\/p>\n\n\n\n
header.php<\/strong><\/p>\n\n\n index.php<\/strong><\/p>\n\n\n \u041c\u0438\u043d\u0438\u043c\u0430\u043b\u0438\u0441\u0442\u0438\u0447\u043d\u043e\u0435 \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u043d\u0438\u0435 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u043e\u0433\u043e \u0446\u0438\u043a\u043b\u0430 WordPress, \u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432 \u043b\u044e\u0431\u043e\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0437\u0430\u043c\u0435\u043d\u0435\u043d\u043e \u0438\u043b\u0438 \u0434\u043e\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u043e.<\/p>\n\n\n\n footer.php<\/strong><\/p>\n\n\n functions.php<\/strong><\/p>\n\n\n \u0412 functions.php<\/em> \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0430 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0430 \u043c\u0438\u043d\u0438\u0430\u0442\u044e\u0440\u044b \u0437\u0430\u043f\u0438\u0441\u0435\u0439 \u0438 title \u0441\u0442\u0440\u0430\u043d\u0438\u0446. \u0410 \u0442\u0430\u043a\u0436\u0435 \u043d\u0430\u0442\u0438\u0432\u043d\u044b\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u043c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d \u0444\u0430\u0439\u043b \u0441\u0442\u0438\u043b\u0435\u0439.<\/p>\n\n\n\n style.css<\/strong><\/p>\n\n\n\n<!DOCTYPE html>\n<html <?php language_attributes(); ?>>\n <head>\n\t<meta charset="<?php bloginfo( 'charset' ); ?>">\n\t<meta name="viewport" content="width=device-width">\n <?php wp_head(); ?>\n <\/head>\n <body <?php body_class(); ?>> \n<\/pre><\/div>\n\n\n
\n<?php get_header(); ?>\n\n<?php while(have_posts()): the_post(); ?>\n \t<h1><a href="<?php the_permalink(); ?>"><?php the_title(); ?><\/a><\/h1>\n \t<div><?php the_content(); ?><\/div>\n<?php endwhile; ?>\n\n<?php get_footer(); ?>\n<\/pre><\/div>\n\n\n
\n <?php wp_footer(); ?>\n <\/body>\n<\/html>\n<\/pre><\/div>\n\n\n
\n<?php \n\n\/\/Theme supports\nadd_theme_support( 'title-tag' );\nadd_theme_support( 'post-thumbnails' );\n\t\n\/\/Load styles & scripts\t\nfunction theme_scripts() {\n\twp_enqueue_style( 'theme-style', get_stylesheet_uri() );\n}\n\nadd_action( 'wp_enqueue_scripts', 'theme_scripts' );\t\n<\/pre><\/div>\n\n\n
\n\/*\n * Theme Name: Zero WP\n * Description: \u0423\u043b\u044c\u0442\u0440\u0430-\u043c\u0438\u043d\u0438\u043c\u0430\u043b\u0438\u0441\u0442\u0438\u0447\u043d\u0430\u044f \u0441\u0442\u0430\u0440\u0442\u043e\u0432\u0430\u044f \u0442\u0435\u043c\u0430\n * Theme URI: https:\/\/github.com\/solidcreature\/zero_wp\n * Author: Nikolay Mironov\n * Author URI: http:\/\/wpfolio.ru\n*\/\n<\/pre><\/div>\n\n\n
\u0421\u043a\u0430\u0447\u0430\u0442\u044c \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044e\u044e \u0432\u0435\u0440\u0441\u0438\u044e \u0442\u0435\u043c\u044b<\/h3>\n\n\n\n