Как добавлять свой заголовок страницы без плагинов

Как добавлять свой заголовок страницы без плагинов | n-wp.ru Настройки

Если вы посмотрите на открытую в браузере страницу, то увидите ее заголовок, который отображается как название окна или таба. Этот заголовок задается в файле header.php с помощью разметки [codei][]. Этот заголовок вставляется автоматически, и обычно он формируется либо самим движком, либо seo-плагинами. Однако есть способ сделать так, чтобы можно было вставить любой заголовок для отдельной страницы еще на стадии редактирования, до публикации, и не прибегая к плагинам.</p> <p>Для того, чтобы вставлять свои заголовки еще при написании содержимого страницы, нужно добавить в файл functions.php специальную функцию:</p> <pre>// Custom Page Titles - начало add_action('admin_menu', 'custom_title'); add_action('save_post', 'save_custom_title'); add_action('wp_head','insert_custom_title'); function custom_title() { add_meta_box('custom_title', 'Change page title', 'custom_title_input_function', 'post', 'normal', 'high'); add_meta_box('custom_title', 'Change page title', 'custom_title_input_function', 'page', 'normal', 'high'); } function custom_title_input_function() { global $post; echo ''; echo 'ID,'_custom_title',true).'" />'; } function save_custom_title($post_id) { if (!wp_verify_nonce($_POST['custom_title_input_hidden'], 'custom-title-nonce')) return $post_id; if (defined('DOING_AUTOSAVE') && DOING_AUTOSAVE) return $post_id; $customTitle = $_POST['custom_title_input']; update_post_meta($post_id, '_custom_title', $customTitle); } function insert_custom_title() { if (have_posts()) : the_post(); $customTitle = get_post_meta(get_the_ID(), '_custom_title', true); if ($customTitle) { echo "<title>$customTitle</title>"; } else { echo "<title>"; if (is_tag()) { single_tag_title("Tag Archive for ""); echo '" - '; } elseif (is_archive()) { wp_title(''); echo ' Archive - '; } elseif (!(is_404()) && (is_single()) || (is_page()) && (!(is_front_page())) ) { wp_title(''); echo ' - '; } elseif (is_404()) { echo 'Not Found - '; } if (is_home()) { bloginfo('name'); echo ' - '; bloginfo('description'); } else { bloginfo('name'); } if ($paged>1) { echo ' - page '. $paged; } echo "</title>"; } endif; rewind_posts(); } // Custom Page Titles - конец </pre> <p>После того, как вы добавите этот код, у вас при редактировании появится специальное поле, в котором можно ввести ваше название для будущей страницы. Это поле будет видно при редактировании как отдельных страниц, так и постов.</p> <p><span itemprop="image" itemscope itemtype="https://schema.org/ImageObject"><img itemprop="url image" class="alignnone size-full wp-image-4186" title="tiaurus-2010-04-27_093837" src="https://n-wp.ru/wp-content/uploads/2010/04/tiaurus-2010-04-27_093837.png" alt="Как добавлять свой заголовок страницы без плагинов" width="550" height="175" srcset="https://n-wp.ru/wp-content/uploads/2010/04/tiaurus-2010-04-27_093837.png 550w, https://n-wp.ru/wp-content/uploads/2010/04/tiaurus-2010-04-27_093837-500x159.png 500w" sizes="(max-width: 550px) 100vw, 550px"/><meta itemprop="width" content="550"><meta itemprop="height" content="175"></span></p> <p>Как только поле будет заполнено, новая функция, прописанная теперь в functions.php, автоматически вставит новый заголовок страницы.</p> <p><!--beginHide--><!--endHide--></p> <!-- toc empty --><div class="expert-review-likes expert-review-likes--style-button-1-color expert-review-likes--size-m js-expert-review-likes-button-container" data-post_id="4185"><button class="expert-review-likes__button expert-review-likes__button--like js-expert-review-likes-button" data-type="like"><span class="expert-review-likes__icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M103.6 202.7h-37c-9.2 0-16.6 7.4-16.6 16.6v240.1c0 9.2 7.4 16.6 16.6 16.6h36.9c9.2 0 16.6-7.4 16.6-16.6V219.3c.1-9.2-7.3-16.6-16.5-16.6zM425 202.7H290.2c-33.3 0 7.4-131.1 7.4-131.1 1.8-14.8 1.8-29.5-16.6-29.5h-16.6c-12.9 0-22.2 9.2-25.9 18.5 0 0-79.4 131.7-87.9 151.3-1.6 2.8-2.6 5.9-2.6 9.4v236.4c0 10.2 8.3 18.5 18.5 18.5H364c48-1.8 79.4-29.5 85-73.9l14.8-157c1.9-22.3-9.2-42.6-38.8-42.6z"/></svg></span><span class="expert-review-likes__label">Мне нравится</span><span class="expert-review-likes__count js-expert-review-likes-count" data-count="0"></span></button><button class="expert-review-likes__button expert-review-likes__button--dislike js-expert-review-likes-button" data-type="dislike"><span class="expert-review-likes__icon"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="currentColor" d="M103.6 318.3h-37c-9.2 0-16.6-7.4-16.6-16.6V61.6C50 52.4 57.4 45 66.6 45h36.9c9.2 0 16.6 7.4 16.6 16.6v240.1c.1 9.2-7.3 16.6-16.5 16.6zM425 318.3H290.2c-33.3 0 7.4 131.1 7.4 131.1 1.8 14.8 1.8 29.5-16.6 29.5h-16.6c-12.9 0-22.2-9.2-25.9-18.5 0 0-79.4-131.7-87.9-151.3-1.6-2.8-2.6-5.9-2.6-9.4V63.5c0-10.2 8.3-18.5 18.5-18.5H364c48 1.8 79.4 29.5 85 73.9l14.8 157c1.9 22.1-9.2 42.4-38.8 42.4z"/></svg></span><span class="expert-review-likes__label">Не нравится</span><span class="expert-review-likes__count js-expert-review-dislikes-count" data-count="0"></span></button></div></p> </div><!-- .entry-content --> </article> <div class="entry-tags"><a href="https://n-wp.ru/tag/post-content-edit/" class="entry-tag">редактирование содержимого поста</a> </div> <div class="entry-social"> <div class="social-buttons"><span class="social-button social-button--vkontakte" data-social="vkontakte"></span><span class="social-button social-button--facebook" data-social="facebook"></span><span class="social-button social-button--telegram" data-social="telegram"></span><span class="social-button social-button--odnoklassniki" data-social="odnoklassniki"></span><span class="social-button social-button--twitter" data-social="twitter"></span><span class="social-button social-button--sms" data-social="sms"></span><span class="social-button social-button--whatsapp" data-social="whatsapp"></span></div> </div> <!--noindex--> <div class="author-box"> <div class="author-info"> <div class="author-box__ava"> <img alt='' src='https://secure.gravatar.com/avatar/9ec770a5ac84b7bae744475322579f60?s=70&r=g' srcset='https://secure.gravatar.com/avatar/9ec770a5ac84b7bae744475322579f60?s=140&r=g 2x' class='avatar avatar-70 photo' height='70' width='70'/> </div> <div class="author-box__body"> <div class="author-box__author"> tiaurus </div> <div class="author-box__description"> <!--noindex--><p>Автор n-wp.ru — блога о WordPress для новичков.</p> <!--/noindex--> </div> </div> </div> <div class="author-box__rating"> <div class="author-box__rating-title">Оцените автора</div> <div class="star-rating js-star-rating star-rating--score-0" data-post-id="4185" data-rating-count="" data-rating-sum="" data-rating-value=""><span class="star-rating-item js-star-rating-item" data-score="1"><svg aria-hidden="true" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512" class="i-ico"><path fill="currentColor" d="M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z" class="ico-star"></path></svg></span><span class="star-rating-item js-star-rating-item" data-score="2"><svg aria-hidden="true" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512" class="i-ico"><path fill="currentColor" d="M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z" class="ico-star"></path></svg></span><span class="star-rating-item js-star-rating-item" data-score="3"><svg aria-hidden="true" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512" class="i-ico"><path fill="currentColor" d="M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z" class="ico-star"></path></svg></span><span class="star-rating-item js-star-rating-item" data-score="4"><svg aria-hidden="true" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512" class="i-ico"><path fill="currentColor" d="M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z" class="ico-star"></path></svg></span><span class="star-rating-item js-star-rating-item" data-score="5"><svg aria-hidden="true" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512" class="i-ico"><path fill="currentColor" d="M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z" class="ico-star"></path></svg></span></div> </div> </div> <!--/noindex--> <meta itemprop="author" content="tiaurus"> <meta itemscope itemprop="mainEntityOfPage" itemType="https://schema.org/WebPage" itemid="https://n-wp.ru/kak-dobavlyat-svoy-zagolovok-stranitsyi-bez-plaginov/" content="Как добавлять свой заголовок страницы без плагинов"> <meta itemprop="dateModified" content="2016-12-27"> <meta itemprop="datePublished" content="2010-04-27T09:39:46+03:00"> <div itemprop="publisher" itemscope itemtype="https://schema.org/Organization" style="display: none;"><meta itemprop="name" content="n-wp.ru"><meta itemprop="telephone" content="n-wp.ru"><meta itemprop="address" content="https://n-wp.ru"></div> <div id="comments" class="comments-area"> <div id="respond" class="comment-respond"> <div id="reply-title" class="comment-reply-title">Добавить комментарий <small><a rel="nofollow" id="cancel-comment-reply-link" href="/kak-dobavlyat-svoy-zagolovok-stranitsyi-bez-plaginov/#respond" style="display:none;">Отменить ответ</a></small></div><form action="https://n-wp.ru/wp-comments-post.php" method="post" id="commentform" class="comment-form" novalidate><p class="comment-form-author"><label class="screen-reader-text" for="author">Имя <span class="required">*</span></label> <input id="author" name="author" type="text" value="" size="30" maxlength="245" required='required' placeholder="Имя"/></p> <p class="comment-form-email"><label class="screen-reader-text" for="email">Email <span class="required">*</span></label> <input id="email" name="email" type="email" value="" size="30" maxlength="100" required='required' placeholder="Email"/></p> <p class="comment-form-url"><label class="screen-reader-text" for="url">Сайт</label> <input id="url" name="url" type="url" value="" size="30" maxlength="200" placeholder="Сайт"/></p> <p class="comment-form-comment"><label class="screen-reader-text" for="comment">Комментарий</label> <textarea id="comment" name="comment" cols="45" rows="8" maxlength="65525" required="required" placeholder="Комментарий" ></textarea></p><p class="form-submit"><input name="submit" type="submit" id="submit" class="submit" value="Отправить комментарий"/> <input type='hidden' name='comment_post_ID' value='4185' id='comment_post_ID'/> <input type='hidden' name='comment_parent' id='comment_parent' value='0'/> </p> <script type='text/javascript'> /* <![CDATA[ */ r3f5x9JS=escape(document['referrer']); hf1N='8fef41d71cd737e238fa81e1b824c5ef'; hf1V='bbfb3fe667923efb6abe0e8472d7b810'; document.write("<input type='hidden' name='r3f5x9JS' value='"+r3f5x9JS+"' /><input type='hidden' name='"+hf1N+"' value='"+hf1V+"' />"); /* ]]> */ </script> <noscript><input type="hidden" name="JS04X7" value="NS1"/></noscript> <noscript><p><strong>Currently you have JavaScript disabled. In order to post comments, please make sure JavaScript and Cookies are enabled, and reload the page.</strong> <a href="http://enable-javascript.com/" rel="nofollow external" >Click here for instructions on how to enable JavaScript in your browser.</a></p></noscript> </form> </div><!-- #respond --> </div><!-- #comments --> </main><!-- #main --> </div><!-- #primary --> <aside id="secondary" class="widget-area" itemscope itemtype="http://schema.org/WPSideBar"> <div class="sticky-sidebar js-sticky-sidebar"> <div id="custom_html-28" class="widget_text widget widget_custom_html"><div class="widget-header">Рекомендуем:</div><div class="textwidget custom-html-widget"><script src="//wpwidget.ru/js/wps-widget-entry.min.js" async></script> <div class="wps-widget" data-w="//wpwidget.ru/greetings?orientation=2&pid=0"></div></div></div><div id="custom_html-11" class="widget_text widget widget_custom_html"><div class="widget-header">МЫ ВКОНТАКТЕ</div><div class="textwidget custom-html-widget"><script type="text/javascript" src="https://vk.com/js/api/openapi.js?162"></script> <!-- VK Widget --> <div id="vk_groups"></div> <script type="text/javascript"> VK.Widgets.Group("vk_groups", {mode: 3}, 135398104); </script></div></div> </div> </aside><!-- #secondary --> <div class="related-posts fixed"> <div class="related-posts__header">Вам также может понравиться</div> <div class="post-cards post-cards--vertical"> <div class="post-card post-card--related"> <div class="post-card__thumbnail"> <a href="https://n-wp.ru/tonkaya-nastrojka-vsplyvayushhix-okon-v-premium-teme-divi/"> <img width="335" height="205" src="https://n-wp.ru/wp-content/uploads/2019/11/Screenshot-119-08-11-19.png" class="attachment-reboot_small size-reboot_small wp-post-image" alt="" srcset="https://n-wp.ru/wp-content/uploads/2019/11/Screenshot-119-08-11-19.png 1251w, https://n-wp.ru/wp-content/uploads/2019/11/Screenshot-119-08-11-19-620x380.png 620w, https://n-wp.ru/wp-content/uploads/2019/11/Screenshot-119-08-11-19-768x470.png 768w, https://n-wp.ru/wp-content/uploads/2019/11/Screenshot-119-08-11-19-300x184.png 300w" sizes="(max-width: 335px) 100vw, 335px"/> </a> </div> <div class="post-card__body"> <div class="post-card__title"><a href="https://n-wp.ru/tonkaya-nastrojka-vsplyvayushhix-okon-v-premium-teme-divi/">PopUp для сайта WordPress, использующего тему Divi</a></div><div class="post-card__description">Продолжаем разговор о модальных окнах и способах их</div><div class="post-card__meta"><span class="post-card__comments">0</span><span class="post-card__views">197</span></div> </div> </div> <div class="post-card post-card--related"> <div class="post-card__thumbnail"> <a href="https://n-wp.ru/popup-okna-v-wordpress-chast-1/"> <img width="335" height="154" src="https://n-wp.ru/wp-content/uploads/2019/11/ShooterScreenshot-93-30-10-19.png" class="attachment-reboot_small size-reboot_small wp-post-image" alt="" srcset="https://n-wp.ru/wp-content/uploads/2019/11/ShooterScreenshot-93-30-10-19.png 1084w, https://n-wp.ru/wp-content/uploads/2019/11/ShooterScreenshot-93-30-10-19-620x284.png 620w, https://n-wp.ru/wp-content/uploads/2019/11/ShooterScreenshot-93-30-10-19-768x352.png 768w, https://n-wp.ru/wp-content/uploads/2019/11/ShooterScreenshot-93-30-10-19-300x138.png 300w" sizes="(max-width: 335px) 100vw, 335px"/> </a> </div> <div class="post-card__body"> <div class="post-card__title"><a href="https://n-wp.ru/popup-okna-v-wordpress-chast-1/">PopUp окна в WordPress. Часть 1</a></div><div class="post-card__description">Однажды мой знакомый спросил: А не мог бы ты написать</div><div class="post-card__meta"><span class="post-card__comments">3</span><span class="post-card__views">258</span></div> </div> </div> <div class="post-card post-card--related"> <div class="post-card__thumbnail"> <a href="https://n-wp.ru/kak-ustanovit-yandex-metrilu-na-wordpress/"> <img width="335" height="211" src="https://n-wp.ru/wp-content/uploads/2019/04/Как-установить-Яндекс-Метрику-Вордпресс.jpg" class="attachment-reboot_small size-reboot_small wp-post-image" alt="Как установить Метрику на вордпресс" srcset="https://n-wp.ru/wp-content/uploads/2019/04/Как-установить-Яндекс-Метрику-Вордпресс.jpg 626w, https://n-wp.ru/wp-content/uploads/2019/04/Как-установить-Яндекс-Метрику-Вордпресс-620x391.jpg 620w, https://n-wp.ru/wp-content/uploads/2019/04/Как-установить-Яндекс-Метрику-Вордпресс-300x189.jpg 300w" sizes="(max-width: 335px) 100vw, 335px"/> </a> </div> <div class="post-card__body"> <div class="post-card__title"><a href="https://n-wp.ru/kak-ustanovit-yandex-metrilu-na-wordpress/">Как установить Яндекс Метрику на WordPress</a></div><div class="post-card__description">Как установить яндекс метрику на wordpress Любому сайту</div><div class="post-card__meta"><span class="post-card__comments">0</span><span class="post-card__views">138</span></div> </div> </div> <div class="post-card post-card--related"> <div class="post-card__thumbnail"> <a href="https://n-wp.ru/plagin-hide-wp-esche-raz-o-bezopasnosti-bloga/"> <img width="335" height="211" src="https://n-wp.ru/wp-content/uploads/2019/04/плагин-hide-wp-и-безопасность.jpg" class="attachment-reboot_small size-reboot_small wp-post-image" alt="Плагин Hide WP и безопасность блога" srcset="https://n-wp.ru/wp-content/uploads/2019/04/плагин-hide-wp-и-безопасность.jpg 626w, https://n-wp.ru/wp-content/uploads/2019/04/плагин-hide-wp-и-безопасность-620x391.jpg 620w, https://n-wp.ru/wp-content/uploads/2019/04/плагин-hide-wp-и-безопасность-300x189.jpg 300w" sizes="(max-width: 335px) 100vw, 335px"/> </a> </div> <div class="post-card__body"> <div class="post-card__title"><a href="https://n-wp.ru/plagin-hide-wp-esche-raz-o-bezopasnosti-bloga/">Плагин Hide WP — еще раз о безопасности блога</a></div><div class="post-card__description">Плагин Hide WP URLs и безопасность блога WordPress</div><div class="post-card__meta"><span class="post-card__comments">0</span><span class="post-card__views">113</span></div> </div> </div> <div class="post-card post-card--related"> <div class="post-card__thumbnail"> <a href="https://n-wp.ru/kak-sozdat-kartu-saita-dlya-wordpress/"> <img width="335" height="195" src="https://n-wp.ru/wp-content/uploads/2019/01/Как-создать-карту-сайта-для-Wordpress-инструкция.jpg" class="attachment-reboot_small size-reboot_small wp-post-image" alt="Как создать карту сайта для Wordpress 3 легких способа" srcset="https://n-wp.ru/wp-content/uploads/2019/01/Как-создать-карту-сайта-для-Wordpress-инструкция.jpg 506w, https://n-wp.ru/wp-content/uploads/2019/01/Как-создать-карту-сайта-для-Wordpress-инструкция-300x174.jpg 300w" sizes="(max-width: 335px) 100vw, 335px"/> </a> </div> <div class="post-card__body"> <div class="post-card__title"><a href="https://n-wp.ru/kak-sozdat-kartu-saita-dlya-wordpress/">Как создать карту сайта для WordPress</a></div><div class="post-card__description">Как создать карту сайта для WordPress – 3 простых способа</div><div class="post-card__meta"><span class="post-card__comments">0</span><span class="post-card__views">161</span></div> </div> </div> <div class="post-card post-card--related"> <div class="post-card__thumbnail"> <a href="https://n-wp.ru/hosting-dlya-wordpress-ot-fornex/"> <img width="335" height="170" src="https://n-wp.ru/wp-content/uploads/2018/11/Хостинг-Wordpress.jpg" class="attachment-reboot_small size-reboot_small wp-post-image" alt="Wordpress хостинг" srcset="https://n-wp.ru/wp-content/uploads/2018/11/Хостинг-Wordpress.jpg 606w, https://n-wp.ru/wp-content/uploads/2018/11/Хостинг-Wordpress-300x152.jpg 300w" sizes="(max-width: 335px) 100vw, 335px"/> </a> </div> <div class="post-card__body"> <div class="post-card__title"><a href="https://n-wp.ru/hosting-dlya-wordpress-ot-fornex/">Хостинг для WordPress</a></div><div class="post-card__description">Какой хостинг выбрать для WordPress. WordPress – самая</div><div class="post-card__meta"><span class="post-card__comments">1</span><span class="post-card__views">108</span></div> </div> </div> <div class="post-card post-card--related"> <div class="post-card__thumbnail"> <a href="https://n-wp.ru/kak-sozdat-bazu-dannyh-wordpress/"> <img width="335" height="171" src="https://n-wp.ru/wp-content/uploads/2018/10/kak-sozdat-bazu-dannyh-na-vordpress-1.jpg" class="attachment-reboot_small size-reboot_small wp-post-image" alt="" srcset="https://n-wp.ru/wp-content/uploads/2018/10/kak-sozdat-bazu-dannyh-na-vordpress-1.jpg 674w, https://n-wp.ru/wp-content/uploads/2018/10/kak-sozdat-bazu-dannyh-na-vordpress-1-620x316.jpg 620w, https://n-wp.ru/wp-content/uploads/2018/10/kak-sozdat-bazu-dannyh-na-vordpress-1-300x153.jpg 300w" sizes="(max-width: 335px) 100vw, 335px"/> </a> </div> <div class="post-card__body"> <div class="post-card__title"><a href="https://n-wp.ru/kak-sozdat-bazu-dannyh-wordpress/">Как создать базу данных на WordPress</a></div><div class="post-card__description">Как создать базу данных WordPress на хостинге WordPress</div><div class="post-card__meta"><span class="post-card__comments">1</span><span class="post-card__views">0</span></div> </div> </div> <div class="post-card post-card--related"> <div class="post-card__thumbnail"> <a href="https://n-wp.ru/rabota-s-wordpress-bez-dostupa-k-hostingu/"> <img width="335" height="172" src="https://n-wp.ru/wp-content/uploads/2017/02/no-access-to-hosting.png" class="attachment-reboot_small size-reboot_small wp-post-image" alt="" srcset="https://n-wp.ru/wp-content/uploads/2017/02/no-access-to-hosting.png 1920w, https://n-wp.ru/wp-content/uploads/2017/02/no-access-to-hosting-620x318.png 620w, https://n-wp.ru/wp-content/uploads/2017/02/no-access-to-hosting-768x394.png 768w, https://n-wp.ru/wp-content/uploads/2017/02/no-access-to-hosting-300x154.png 300w, https://n-wp.ru/wp-content/uploads/2017/02/no-access-to-hosting-585x300.png 585w, https://n-wp.ru/wp-content/uploads/2017/02/no-access-to-hosting-740x379.png 740w" sizes="(max-width: 335px) 100vw, 335px"/> </a> </div> <div class="post-card__body"> <div class="post-card__title"><a href="https://n-wp.ru/rabota-s-wordpress-bez-dostupa-k-hostingu/">Работа с WordPress без доступа к хостингу</a></div><div class="post-card__description">Сегодняшний пост описывает мой недавний опыт.</div><div class="post-card__meta"><span class="post-card__comments">0</span><span class="post-card__views">0</span></div> </div> </div> </div> </div> </div><!--.site-content-inner--> </div><!--.site-content--> <div class="site-footer-container"> <footer id="colophon" class="site-footer site-footer--style-gray full"> <div class="site-footer-inner fixed"> <div class="footer-bottom"> <div class="footer-info"> © 2020 n-wp.ru — <a href="https://n-wp.ru/sitemap/">Карта сайта</a> </div> <div class="footer-counters"><!-- Yandex.Metrika counter --> <script type="text/javascript" > (function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)}; m[i].l=1*new Date();k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)}) (window, document, "script", "https://mc.yandex.ru/metrika/tag.js", "ym"); ym(50805568, "init", { clickmap:true, trackLinks:true, accurateTrackBounce:true, webvisor:true }); </script> <noscript><div><img src="https://mc.yandex.ru/watch/50805568" style="position:absolute; left:-9999px;" alt=""/></div></noscript> <!-- /Yandex.Metrika counter --></div></div> </div> </footer><!--.site-footer--> </div> <button type="button" class="scrolltop js-scrolltop"></button> </div><!-- #page --> <script type="text/javascript">var pseudo_links = document.querySelectorAll(".pseudo-clearfy-link");for (var i=0;i<pseudo_links.length;i++ ) { pseudo_links[i].addEventListener("click", function(e){ window.open( e.target.getAttribute("data-uri") ); }); }</script> <script type='text/javascript'> /* <![CDATA[ */ r3f5x9JS=escape(document['referrer']); hf4N='8fef41d71cd737e238fa81e1b824c5ef'; hf4V='bbfb3fe667923efb6abe0e8472d7b810'; cm4S="form[action='https://n-wp.ru/wp-comments-post.php']"; jQuery(document).ready(function($){var e="#commentform, .comment-respond form, .comment-form, "+cm4S+", #lostpasswordform, #registerform, #loginform, #login_form, #wpss_contact_form";$(e).submit(function(){$("<input>").attr("type","hidden").attr("name","r3f5x9JS").attr("value",r3f5x9JS).appendTo(e);return true;});var h="form[method='post']";$(h).submit(function(){$("<input>").attr("type","hidden").attr("name",hf4N).attr("value",hf4V).appendTo(h);return true;});}); /* ]]> */ </script> <script type='text/javascript'> /* <![CDATA[ */ var expert_review_ajax = {"url":"https:\/\/n-wp.ru\/wp-admin\/admin-ajax.php","nonce":"a92647141d","i18n":{"question_popup_name":"\u0418\u043c\u044f","question_popup_email":"Email","question_popup_phone":"\u0422\u0435\u043b\u0435\u0444\u043e\u043d","question_popup_question":"\u0412\u043e\u043f\u0440\u043e\u0441","question_popup_submit":"\u041e\u0442\u043f\u0440\u0430\u0432\u0438\u0442\u044c","question_popup_cancel":"\u041e\u0442\u043c\u0435\u043d\u0430"}}; /* ]]> */ </script> <script src='https://n-wp.ru/wp-content/plugins/expert-review/assets/public/js/scripts.min.js'></script> <script type='text/javascript'> /* <![CDATA[ */ var settings_array = {"rating_text_average":"\u0441\u0440\u0435\u0434\u043d\u0435\u0435","rating_text_from":"\u0438\u0437","lightbox_display":"1","sidebar_fixed":"1"}; var wps_ajax = {"url":"https:\/\/n-wp.ru\/wp-admin\/admin-ajax.php","nonce":"a92647141d"}; /* ]]> */ </script> <script src='https://n-wp.ru/wp-content/themes/reboot/assets/js/all.min.js'></script> <script src='https://n-wp.ru/wp-includes/js/comment-reply.min.js'></script> <script src='https://n-wp.ru/wp-content/plugins/wp-spamshield/js/jscripts-ftr2-min.js'></script> <script src='https://n-wp.ru/wp-content/themes/reboot_child/highlight.pack.js'></script> <script > document.addEventListener("DOMContentLoaded", (event) => { document.querySelectorAll(".entry-content pre, .comment-content pre").forEach((block) => { hljs.highlightBlock(block); }); }); </script> <!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-161923653-1"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-161923653-1'); </script> </body> </html>