{"id":229790,"date":"2022-11-16T10:08:00","date_gmt":"2022-11-16T07:08:00","guid":{"rendered":"https:\/\/wordpress.mediadoma.com\/?p=229790"},"modified":"2022-11-16T19:43:21","modified_gmt":"2022-11-16T16:43:21","slug":"shabloni-wordpress-dlja-pochatkivciv-html-viklik-php","status":"publish","type":"post","link":"https:\/\/wordpress.mediadoma.com\/uk\/shabloni-wordpress-dlja-pochatkivciv-html-viklik-php\/","title":{"rendered":"\u0428\u0430\u0431\u043b\u043e\u043d\u0438 WordPress \u0434\u043b\u044f \u043f\u043e\u0447\u0430\u0442\u043a\u0456\u0432\u0446\u0456\u0432: HTML \u0432\u0438\u043a\u043b\u0438\u043a PHP"},"content":{"rendered":"\n<p><a href=\"https:\/\/wordpress.mediadoma.com\/uk\/shabloni-wordpress-dlja-pochatkivciv-jak-ce\/\" title=\"\u0423\u0447\u043e\u0440\u0430\">\u0423\u0447\u043e\u0440\u0430<\/a> \u044f \u043d\u0430\u043c\u0430\u043b\u044e\u0432\u0430\u0432, \u044f\u043a \u0437\u0440\u043e\u0437\u0443\u043c\u0456\u0442\u0438, \u0441\u043a\u0456\u043b\u044c\u043a\u0438 \u0437 \u043d\u0430\u0441, \u0456\u043c\u043e\u0432\u0456\u0440\u043d\u043e, \u0437\u0432\u0438\u043a\u043b\u0438 \u043f\u0440\u0430\u0446\u044e\u0432\u0430\u0442\u0438 \u0437 \u0448\u0430\u0431\u043b\u043e\u043d\u0430\u043c\u0438 WordPress.<\/p>\n<p>\u0425\u043e\u0447\u0430 \u043f\u043e\u0434\u0456\u043b \u043f\u0440\u043e\u0431\u043b\u0435\u043c \u0456\u0437 CSS \u0456 JavaScript \u043d\u0430\u0434\u0456\u0439\u043d\u0438\u0439, \u0448\u0430\u0431\u043b\u043e\u043d\u0438 \u0454 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430\u0442\u0438\u0447\u043d\u0438\u043c\u0438 \u0449\u043e\u0440\u0430\u0437\u0443, \u043a\u043e\u043b\u0438 \u0431\u0430\u0433\u0430\u0442\u043e PHP \u0437\u043c\u0456\u0448\u0430\u043d\u043e \u0437 \u043d\u0430\u0448\u043e\u044e \u0440\u043e\u0437\u043c\u0456\u0442\u043a\u043e\u044e.<\/p>\n<p>\u0429\u043e\u0431 \u0431\u0443\u043b\u043e \u0437\u0440\u043e\u0437\u0443\u043c\u0456\u043b\u043e, \u043c\u0438 \u043d\u0435 \u043c\u043e\u0436\u0435\u043c\u043e \u043d\u0435 \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u0438 \u0442\u0435\u0433\u0438 \u0448\u0430\u0431\u043b\u043e\u043d\u0456\u0432, \u0442\u043e\u043c\u0443 \u0449\u043e \u0442\u0430\u043a\u0430 \u043f\u0440\u0438\u0440\u043e\u0434\u0430 \u0440\u043e\u0431\u043e\u0442\u0438 WordPress \u0456 \u0437\u0430\u0433\u0430\u043b\u044c\u043d\u0438\u0445 \u0441\u0438\u0441\u0442\u0435\u043c \u043a\u0435\u0440\u0443\u0432\u0430\u043d\u043d\u044f \u0432\u043c\u0456\u0441\u0442\u043e\u043c \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0456 PHP.<\/p>\n<p>\u041f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u0432\u0438\u043d\u0438\u043a\u0430\u0454 \u0449\u043e\u0440\u0430\u0437\u0443, \u043a\u043e\u043b\u0438 \u043c\u0438 \u043f\u0440\u0430\u0446\u044e\u0454\u043c\u043e \u0437 \u0448\u0430\u0431\u043b\u043e\u043d\u0430\u043c\u0438, \u044f\u043a\u0456 \u043c\u0456\u0441\u0442\u044f\u0442\u044c \u043a\u043e\u0434, \u0449\u043e \u0440\u043e\u0431\u0438\u0442\u044c \u0441\u043a\u043b\u0430\u0434\u043d\u0456\u0448\u0456 \u0432\u0438\u043a\u043b\u0438\u043a\u0438 \u0440\u0456\u0437\u043d\u0438\u0445 API. \u0425\u043e\u0447\u0430 \u044f \u043f\u0440\u043e\u0434\u0435\u043c\u043e\u043d\u0441\u0442\u0440\u0443\u0432\u0430\u0432 \u0446\u0435 \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e <a href=\"https:\/\/codex.wordpress.org\/Class_Reference\/WP_Query\" target=\"_blank\" rel=\"noopener nofollow\" class=\"external external_icon\">WP_Query<\/a> (\u0456 \u043f\u0440\u043e\u0434\u043e\u0432\u0436\u0443\u0432\u0430\u0442\u0438\u043c\u0443 \u0446\u0435 \u0440\u043e\u0431\u0438\u0442\u0438), \u0446\u0435 \u043d\u0435 \u043f\u0440\u043e\u0441\u0442\u043e \u0442\u043e\u0439 \u0437\u0430\u043f\u0438\u0442.<\/p>\n<p>\u0423 \u0431\u0443\u0434\u044c-\u044f\u043a\u043e\u043c\u0443 \u0440\u0430\u0437\u0456, \u0449\u043e \u043c\u0438 \u043c\u0430\u0454\u043c\u043e \u0437 \u0446\u0438\u043c \u0440\u043e\u0431\u0438\u0442\u0438?<\/p>\n<h2>\u0428\u0430\u0431\u043b\u043e\u043d\u0438 WordPress: \u041a\u043e\u043b\u0438 HTML \u0432\u0438\u043a\u043b\u0438\u043a\u0430\u0454 PHP<\/h2>\n<p>\u041f\u043e-\u043f\u0435\u0440\u0448\u0435, \u0432\u0430\u0436\u043b\u0438\u0432\u043e \u043f\u043e\u0434\u0443\u043c\u0430\u0442\u0438, \u0447\u043e\u043c\u0443 \u0437\u043c\u0456\u0448\u0443\u0432\u0430\u0442\u0438 \u0441\u0442\u0456\u043b\u044c\u043a\u0438 PHP \u0456 \u0440\u043e\u0437\u043c\u0456\u0442\u043a\u0438 \u0454 \u043f\u043e\u0433\u0430\u043d\u043e\u044e \u0456\u0434\u0435\u0454\u044e.<\/p>\n<p>\u041b\u0435\u0433\u043a\u043e \u0441\u043a\u0430\u0437\u0430\u0442\u0438, \u0449\u043e \u0446\u0435 \u0443\u0441\u043a\u043b\u0430\u0434\u043d\u044e\u0454 \u0437\u0431\u0435\u0440\u0435\u0436\u0435\u043d\u043d\u044f \u043a\u043e\u0434\u0443 <a href=\"https:\/\/en.wikipedia.org\/wiki\/Don%27t_repeat_yourself\" target=\"_blank\" rel=\"noopener nofollow\" class=\"external external_icon\">\u0421\u0423\u0425\u0418\u041c<\/a> (\u0456 \u0432 \u0446\u044c\u043e\u043c\u0443 \u0454 \u043f\u0440\u0430\u0432\u0434\u0430), \u0430\u043b\u0435 \u0449\u043e, \u044f\u043a\u0449\u043e \u043c\u0438 \u0431\u0443\u0434\u0435\u043c\u043e \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u043b\u0438\u0448\u0435 \u043e\u0434\u0438\u043d \u0437\u0430\u043f\u0438\u0442 \u0430\u0431\u043e \u043e\u0434\u0438\u043d \u0431\u043b\u043e\u043a \u043a\u043e\u0434\u0443 \u043e\u0434\u0438\u043d \u0440\u0430\u0437? \u0427\u0438 \u0442\u0430\u043a \u0432\u0430\u0436\u043b\u0438\u0432\u043e \u0431\u0443\u0442\u0438 \u0421\u0423\u0425\u0418\u041c?<\/p>\n<p>\u0429\u043e\u0431 \u0431\u0443\u043b\u043e \u0437\u0440\u043e\u0437\u0443\u043c\u0456\u043b\u043e, \u0442\u0430\u043a, \u044f \u0432\u0432\u0430\u0436\u0430\u044e, \u0449\u043e \u0446\u0435 \u0432\u0430\u0436\u043b\u0438\u0432\u043e \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0449\u043e\u0431 \u043a\u043e\u0434 \u0437\u0430\u043b\u0438\u0448\u0430\u0432\u0441\u044f \u0421\u0423\u0425\u0418\u041c, \u0430\u043b\u0435 \u044f\u043a\u0449\u043e \u043c\u0438 \u0437\u0431\u0438\u0440\u0430\u0454\u043c\u043e\u0441\u044f \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0432\u0438\u043a\u043b\u0438\u043a \u043b\u0438\u0448\u0435 \u043e\u0434\u0438\u043d \u0440\u0430\u0437, \u044f \u0432\u0441\u0435 \u043e\u0434\u043d\u043e \u0432\u0432\u0430\u0436\u0430\u044e, \u0449\u043e \u0446\u0435 \u043c\u0430\u0454 \u0437\u043d\u0430\u0447\u0435\u043d\u043d\u044f \u0447\u0438 \u043d\u0435 \u0437 \u0456\u043d\u0448\u043e\u0457 \u043f\u0440\u0438\u0447\u0438\u043d\u0438, \u0430\u043d\u0456\u0436 \u0449\u043e\u0431 \u043a\u043e\u0434 \u0448\u0430\u0431\u043b\u043e\u043d\u0443 \u0431\u0443\u0432 \u0442\u0430\u043a\u0438\u043c \u0436\u0435 \u0447\u0438\u0441\u0442\u0438\u043c, \u044f\u043a \u043c\u043e\u0436\u043b\u0438\u0432\u043e.<\/p>\n<p>\u041f\u043e\u0434\u0443\u043c\u0430\u0439\u0442\u0435 \u043f\u0440\u043e \u0446\u0435 \u0442\u0430\u043a: \u0449\u043e\u0440\u0430\u0437\u0443, \u043a\u043e\u043b\u0438 \u043c\u0438 \u0445\u043e\u0447\u0435\u043c\u043e \u0432\u0456\u0434\u043e\u0431\u0440\u0430\u0437\u0438\u0442\u0438 \u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a, \u0432\u043c\u0456\u0441\u0442 \u0456 \u0430\u0432\u0442\u043e\u0440\u0430 \u043f\u0443\u0431\u043b\u0456\u043a\u0430\u0446\u0456\u0457, \u043d\u0430\u043c \u043f\u043e\u0442\u0440\u0456\u0431\u043d\u043e \u0432\u0438\u043a\u043b\u0438\u043a\u0430\u0442\u0438 \u043b\u0438\u0448\u0435 \u0442\u0440\u0438 \u0444\u0443\u043d\u043a\u0446\u0456\u0457:<\/p>\n<ul>\n<li><a href=\"https:\/\/codex.wordpress.org\/Function_Reference\/the_title\" target=\"_blank\" rel=\"noopener nofollow\" class=\"external external_icon\">\u0437\u0430\u0433\u043e\u043b\u043e\u0432\u043e\u043a();<\/a><\/li>\n<li><a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/the_content\/\" target=\"_blank\" rel=\"noopener nofollow\" class=\"external external_icon\">\u043a\u043e\u043d\u0442\u0435\u043d\u0442();<\/a><\/li>\n<li><a href=\"https:\/\/codex.wordpress.org\/Function_Reference\/the_author_meta\" target=\"_blank\" rel=\"noopener nofollow\" class=\"external external_icon\">the_author_meta();<\/a><\/li>\n<\/ul>\n<p>\u041e\u0442\u0436\u0435, \u0443\u044f\u0432\u0456\u0442\u044c \u0441\u043e\u0431\u0456 \u0430\u0434\u0430\u043f\u0442\u0430\u0446\u0456\u044e <a href=\"https:\/\/gist.github.com\/tommcfarlin\/2c02b22272f645076f7f735bd61a4034#file-00-content-container-php\" target=\"_blank\" rel=\"noopener nofollow\" class=\"external external_icon\">\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0433\u043e \u043a\u043e\u0434\u0443<\/a> (\u0446\u0435 \u0442\u0435, \u0449\u043e \u043c\u0438 \u0440\u043e\u0437\u0433\u043b\u044f\u0434\u0430\u043b\u0438 \u0432 \u043f\u043e\u043f\u0435\u0440\u0435\u0434\u043d\u0456\u0439 \u043f\u0443\u0431\u043b\u0456\u043a\u0430\u0446\u0456\u0457):<\/p>\n<pre><code>&lt;div id=\"content-container\"&gt;\n\n  &lt;p&gt;\n    Oh! The garbage chute was a really wonderful idea. What an incredible smell you've discovered! Let's get out of here! \n    Get away from there... No! wait! Will you forget it? I already tried it. It's magnetically sealed! Put that \n    thing away! You're going to get us all killed.\n  &lt;\/p&gt;\n\n  &lt;h2&gt;List of Post Titles For Acme Post Type&lt;\/h2&gt;\n  &lt;?php\n  $args = array(\n    'post_status'    =&gt; 'publish',\n    'post_type'      =&gt; 'acme',\n    'posts_per_page' =&gt; '10'\n  );\n  $custom_query = new WP_Query( $args );\n\n  if ($custom_query-&gt;have_posts()) {\n    echo '&lt;ul&gt;';\n    while ($custom_query-&gt;have_posts()) {\n      $custom_query-&gt;the_post();\n      echo '&lt;li&gt;'. get_the_title(). '&lt;\/li&gt;';\n    }\n    echo '&lt;\/ul&gt;';\n    wp_reset_postdata();\n  }\n  ?&gt;\n\n  &lt;p&gt;\n    Absolutely, Your Worship. Look, I had everything under control until you led us down here. You know, it's not \n    going to take them long to figure out what happened to us. It could be worst... It's worst. \n    There's something alive in here! That's your imagination. Something just moves past my leg! \n    Look! Did you see that? What? Help!\n  &lt;\/p&gt;\n\n&lt;\/div&gt;&lt;!-- #content-container --&gt;<\/code><\/pre>\n<p>\u0429\u043e\u0431 \u0432\u0438\u0433\u043b\u044f\u0434\u0430\u0442\u0438 \u043f\u0440\u0438\u0431\u043b\u0438\u0437\u043d\u043e \u0442\u0430\u043a:<\/p>\n<pre><code>&lt;div id=\"content-container\"&gt;\n\n  &lt;p&gt;\n    Oh! The garbage chute was a really wonderful idea. What an incredible smell you've discovered! Let's get out of here! \n    Get away from there... No! wait! Will you forget it? I already tried it. It's magnetically sealed! Put that \n    thing away! You're going to get us all killed.\n  &lt;\/p&gt;\n\n  &lt;h2&gt;List of Post Titles For Acme Post Type&lt;\/h2&gt;\n  &lt;?php acme_get_titles(); ?&gt;\n\n  &lt;p&gt;\n    Absolutely, Your Worship. Look, I had everything under control until you led us down here. You know, it's not \n    going to take them long to figure out what happened to us. It could be worst... It's worst. \n    There's something alive in here! That's your imagination. Something just moves past my leg! \n    Look! Did you see that? What? Help!\n  &lt;\/p&gt;\n\n&lt;\/div&gt;&lt;!-- #content-container --&gt;<\/code><\/pre>\n<p>\u041d\u0430\u0431\u0430\u0433\u0430\u0442\u043e \u0447\u0438\u0441\u0442\u0456\u0448\u0435, \u043f\u0440\u0430\u0432\u0434\u0430? \u0410\u043b\u0435 \u0432 \u0442\u043e\u043c\u0443, \u0449\u043e \u0432\u0438 \u0431\u0430\u0447\u0438\u0442\u0435, \u0454 \u0449\u043e\u0441\u044c \u0431\u0456\u043b\u044c\u0448\u0435. \u0417\u043e\u043a\u0440\u0435\u043c\u0430, \u044f\u043a\u0449\u043e \u043c\u0438 \u0437\u0431\u0438\u0440\u0430\u0454\u043c\u043e\u0441\u044f \u043f\u0440\u0430\u0446\u044e\u0432\u0430\u0442\u0438 \u0437 HTML \u0437\u0430 \u043b\u0430\u0448\u0442\u0443\u043d\u043a\u0430\u043c\u0438, \u043d\u0430\u043c \u043f\u043e\u0442\u0440\u0456\u0431\u043d\u043e \u043f\u0435\u0440\u0435\u043a\u043e\u043d\u0430\u0442\u0438\u0441\u044f, \u0449\u043e \u043c\u0438 <a href=\"https:\/\/gist.github.com\/tommcfarlin\/2c02b22272f645076f7f735bd61a4034#file-02-acme-get-titles-php\" target=\"_blank\" rel=\"noopener nofollow\" class=\"external external_icon\">\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e<\/a> \u043e\u0447\u0438\u0449\u0430\u0454\u043c\u043e \u0439\u043e\u0433\u043e \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e \u0447\u043e\u0433\u043e\u0441\u044c \u043d\u0430 \u0437\u0440\u0430\u0437\u043e\u043a <a href=\"https:\/\/codex.wordpress.org\/Function_Reference\/wp_kses\" target=\"_blank\" rel=\"noopener nofollow\" class=\"external external_icon\">wp_kses<\/a> :<\/p>\n<pre><code>&lt;?php\n\n\/**\n * Runs a custom query to get the most recent ten published articles of the\n * acme post type and then prints a sanitized list of the the titles.\n *\/\nfunction acme_get_titles()\n{\n\n  $args = array(\n    'post_status'    =&gt; 'publish',\n    'post_type'      =&gt; 'acme',\n    'posts_per_page' =&gt; '10'\n  );\n  $custom_query = new WP_Query( $args );\n\n  if ($custom_query-&gt;have_posts()) {\n    $html = '&lt;ul&gt;';\n    while ($custom_query-&gt;have_posts()) {\n      $custom_query-&gt;the_post();\n      $html .= '&lt;li&gt;'. get_the_title(). '&lt;\/li&gt;';\n    }\n    $html .= '&lt;\/ul&gt;';\n    wp_reset_postdata();\n  }\n\n  echo _acme_sanitize_titles($html);\n}\n\n\/**\n * Uses the WordPress wp_kses() API to sanitize and echo the incoming markup.\n *\n * @param string $html The HTML to sanitize.\n *\/\nfunction _acme_sanitize_titles($html) {\n\n  if(empty($html)) {\n    echo $html;\n  }\n\n  echo wp_kses(\n    $html,\n    array(\n      'ul' =&gt; array(),\n      'li' =&gt; array(),\n    );\n  );\n}<\/code><\/pre>\n<p>\u0417\u0430\u0440\u0430\u0437 \u0434\u0435\u044f\u043a\u0456 \u0440\u043e\u0437\u0440\u043e\u0431\u043d\u0438\u043a\u0438 \u0432\u0432\u0430\u0436\u0430\u044e\u0442\u044c \u0456\u0434\u0435\u044e \u0432\u0456\u0434\u0442\u0432\u043e\u0440\u0435\u043d\u043d\u044f HTML \u0456\u0437 PHP \u0443 \u0448\u0430\u0431\u043b\u043e\u043d\u0456 WordPress \u0430\u043d\u0442\u0438\u0448\u0430\u0431\u043b\u043e\u043d\u043e\u043c. \u0406 \u0446\u0435 \u043d\u0435 \u0431\u0435\u0437 \u043f\u0456\u0434\u0441\u0442\u0430\u0432.<\/p>\n<p>\u041e\u0434\u043d\u0430\u043a \u043f\u0456\u0434 \u0447\u0430\u0441 \u0446\u0456\u0454\u0457 \u0441\u0435\u0440\u0456\u0457 \u043f\u043e\u0442\u0440\u0456\u0431\u043d\u043e \u0431\u0430\u043b\u0430\u043d\u0441\u0443\u0432\u0430\u0442\u0438: \u043f\u043e\u0442\u0440\u0456\u0431\u043d\u043e \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u0438, \u044f\u043a \u043b\u044e\u0434\u0438 \u0447\u0430\u0441\u0442\u043e \u043f\u043e\u0434\u0430\u044e\u0442\u044c \u0456\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0456\u044e, \u0430 \u043f\u043e\u0442\u0456\u043c \u0442\u0440\u043e\u0445\u0438 \u043e\u0447\u0438\u0441\u0442\u0438\u0442\u0438 \u0457\u0457.<\/p>\n<p>\u0420\u043e\u0437\u0433\u043b\u044f\u043d\u0435\u043c\u043e \u0446\u0435 \u0442\u0440\u043e\u0445\u0438 \u0434\u0430\u043b\u0456. \u041c\u043e\u0436\u043b\u0438\u0432\u043e \u2013 \u0456 \u0446\u0435 \u043d\u0435 \u0437\u043e\u0432\u0441\u0456\u043c \u043f\u043e\u0433\u0430\u043d\u0430 \u0456\u0434\u0435\u044f \u2013 \u0449\u0435 \u0431\u0456\u043b\u044c\u0448\u0435 \u0432\u0456\u0434\u043e\u043a\u0440\u0435\u043c\u0438\u0442\u0438 \u0444\u0443\u043d\u043a\u0446\u0456\u044e WP_Query \u0434\u043b\u044f \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f <a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/get_template_part\/\" target=\"_blank\" rel=\"noopener nofollow\" class=\"external external_icon\">get_template_part<\/a>. \u0426\u0435 \u043d\u0435\u0441\u0435 \u0437 \u0441\u043e\u0431\u043e\u044e \u0442\u0440\u043e\u0445\u0438 \u0447\u0438\u0441\u0442\u0456\u0448\u0438\u0439 \u043a\u043e\u0434, \u0430\u043b\u0435 \u0442\u0430\u043a\u043e\u0436 \u0432\u0438\u043c\u0430\u0433\u0430\u0454, \u0449\u043e\u0431 \u043c\u0438 \u0440\u043e\u0437\u0433\u043b\u044f\u043d\u0443\u043b\u0438 \u0446\u044e \u0444\u0443\u043d\u043a\u0446\u0456\u044e \u043f\u043e\u0433\u043b\u0438\u0431\u043b\u0435\u043d\u043e.<\/p>\n<p>\u0406 \u0446\u0435 \u0442\u0435, \u0449\u043e \u043c\u0435\u043d\u0456 \u043d\u0435 \u0446\u0456\u043a\u0430\u0432\u043e \u0440\u043e\u0431\u0438\u0442\u0438 \u0432 \u0446\u044c\u043e\u043c\u0443 \u043a\u043e\u043d\u043a\u0440\u0435\u0442\u043d\u043e\u043c\u0443 \u0441\u0435\u0440\u0456\u0430\u043b\u0456.<\/p>\n<h2>\u042f\u043a \u043d\u0430\u043c \u0446\u0435 \u0443\u044f\u0432\u0438\u0442\u0438?<\/h2>\n<p>\u041a\u043e\u043b\u0438 \u0441\u043f\u0440\u0430\u0432\u0430 \u0434\u043e\u0445\u043e\u0434\u0438\u0442\u044c \u0434\u043e \u0448\u0430\u0431\u043b\u043e\u043d\u0456\u0432, \u043c\u0438 \u043c\u043e\u0436\u0435\u043c\u043e \u043a\u043e\u043d\u0446\u0435\u043f\u0442\u0443\u0430\u043b\u0456\u0437\u0443\u0432\u0430\u0442\u0438 \u0446\u0435 \u043a\u0456\u043b\u044c\u043a\u043e\u043c\u0430 \u0440\u0456\u0437\u043d\u0438\u043c\u0438 \u0441\u043f\u043e\u0441\u043e\u0431\u0430\u043c\u0438.<\/p>\n<ol>\n<li>\u0423 \u0434\u0435\u044f\u043a\u0438\u0445 \u043c\u043e\u0432\u0430\u0445 \u0441\u0442\u0432\u043e\u0440\u0435\u043d\u043d\u044f \u0448\u0430\u0431\u043b\u043e\u043d\u0456\u0432 \u043a\u043e\u0440\u0438\u0441\u043d\u043e \u0443\u044f\u0432\u0438\u0442\u0438, \u0449\u043e PHP \u0432\u0432\u043e\u0434\u0438\u0442\u044c \u0456\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0456\u044e \u0432 \u0448\u0430\u0431\u043b\u043e\u043d,<\/li>\n<li>\u0423 \u043d\u0430\u0432\u0435\u0434\u0435\u043d\u043e\u043c\u0443 \u0432\u0438\u0449\u0435 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u0456 \u043a\u043e\u0440\u0438\u0441\u043d\u043e \u043f\u043e\u0434\u0443\u043c\u0430\u0442\u0438 \u043f\u0440\u043e \u0444\u0430\u0439\u043b \u0448\u0430\u0431\u043b\u043e\u043d\u0443, \u044f\u043a\u0438\u0439 \u0437\u0430\u043f\u0438\u0442\u0443\u0454 \u0456\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0456\u044e \u0437\u0456 \u0441\u0446\u0435\u043d\u0430\u0440\u0456\u044e PHP.<\/li>\n<\/ol>\n<p>\u041e\u0442\u0436\u0435, \u0443 \u043d\u0430\u0432\u0435\u0434\u0435\u043d\u043e\u043c\u0443 \u0432\u0438\u0449\u0435 \u043f\u0440\u0438\u043a\u043b\u0430\u0434\u0456 \u043c\u0438 \u043c\u0430\u0454\u043c\u043e \u0444\u0443\u043d\u043a\u0446\u0456\u044e, \u0440\u043e\u0437\u0442\u0430\u0448\u043e\u0432\u0430\u043d\u0443, \u0441\u043a\u0430\u0436\u0456\u043c\u043e, \u0443 <strong>functions.php<\/strong>, \u0456 \u0444\u0430\u0439\u043b \u0448\u0430\u0431\u043b\u043e\u043d\u0443, \u044f\u043a\u0438\u0439 \u0457\u0457 \u0432\u0438\u043a\u043b\u0438\u043a\u0430\u0454:<\/p>\n<p>\u041c\u0430\u0442\u0438 \u0441\u0435\u043d\u0441? \u0410\u043b\u0435 \u0442\u0435, \u044f\u043a \u0446\u0435 \u0434\u043e\u0441\u044f\u0433\u0430\u0454\u0442\u044c\u0441\u044f \u2013 \u0437 \u0442\u043e\u0447\u043a\u0438 \u0437\u043e\u0440\u0443 \u043a\u043e\u0434\u0443, \u0449\u043e \u0441\u0442\u043e\u0457\u0442\u044c \u0437\u0430 \u0446\u0438\u043c \u0454\u0434\u0438\u043d\u0438\u043c \u0432\u0438\u043a\u043b\u0438\u043a\u043e\u043c \u0444\u0443\u043d\u043a\u0446\u0456\u0457 \u2013 \u0454 \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u043e\u043c \u0434\u043b\u044f \u043f\u0443\u0431\u043b\u0456\u043a\u0430\u0446\u0456\u0457.<\/p>\n<p>\u0406 \u0441\u0430\u043c\u0435 \u0446\u0435 \u044f \u0440\u043e\u0437\u0433\u043b\u044f\u043d\u0443 \u0432 \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0456\u0439 \u043f\u0443\u0431\u043b\u0456\u043a\u0430\u0446\u0456\u0457.<\/p>\n<p><div id=\"PostUnique_PostSource\" style=\"padding-top: 50px\">\u0414\u0436\u0435\u0440\u0435\u043b\u043e \u0437\u0430\u043f\u0438\u0441\u0443:  <a target=\"_blank\" rel=\"noopener nofollow\" href=\"\/\/tommcfarlin.com\" class=\"external external_icon\">tommcfarlin.com<\/a><\/div><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0420\u043e\u0437\u0443\u043c\u0456\u043d\u043d\u044f \u0442\u043e\u0433\u043e, \u044f\u043a \u0448\u0430\u0431\u043b\u043e\u043d\u0438 WordPress \u0437\u0432\u0435\u0440\u0442\u0430\u044e\u0442\u044c\u0441\u044f \u0434\u043e \u0444\u0430\u0439\u043b\u0456\u0432 PHP, \u043c\u043e\u0436\u0435 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u0442\u0438 \u043d\u0430\u043c \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u0438 \u0421\u0423\u0425\u0418\u0419 \u043a\u043e\u0434, \u0430 \u0442\u0430\u043a\u043e\u0436 \u043a\u043e\u0434, \u044f\u043a\u0438\u0439 \u043b\u0435\u0433\u0448\u0435 \u0447\u0438\u0442\u0430\u0442\u0438 \u0442\u0430 \u043f\u0440\u043e\u0441\u0442\u0456\u0448\u0435 \u043f\u0456\u0434\u0442\u0440\u0438\u043c\u0443\u0432\u0430\u0442\u0438.<\/p>\n","protected":false},"author":1,"featured_media":223984,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_wp_rev_ctl_limit":""},"categories":[869,839,902,849,923],"tags":[1174],"class_list":["post-229790","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress-10","category-kerivnytstvo-dlia-pochatkivtsiv","category-kod-3","category-pidruchnyky","category-inshyj","tag-affiai-uk"],"_links":{"self":[{"href":"https:\/\/wordpress.mediadoma.com\/uk\/wp-json\/wp\/v2\/posts\/229790","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.mediadoma.com\/uk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wordpress.mediadoma.com\/uk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.mediadoma.com\/uk\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.mediadoma.com\/uk\/wp-json\/wp\/v2\/comments?post=229790"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.mediadoma.com\/uk\/wp-json\/wp\/v2\/posts\/229790\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wordpress.mediadoma.com\/uk\/wp-json\/wp\/v2\/media\/223984"}],"wp:attachment":[{"href":"https:\/\/wordpress.mediadoma.com\/uk\/wp-json\/wp\/v2\/media?parent=229790"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wordpress.mediadoma.com\/uk\/wp-json\/wp\/v2\/categories?post=229790"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wordpress.mediadoma.com\/uk\/wp-json\/wp\/v2\/tags?post=229790"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}