{"id":148,"date":"2011-01-13T13:13:27","date_gmt":"2011-01-13T13:13:27","guid":{"rendered":"http:\/\/yabasta.cz\/klimas\/?p=148"},"modified":"2011-01-13T15:26:37","modified_gmt":"2011-01-13T15:26:37","slug":"presmerovani-stranky-wordpress","status":"publish","type":"post","link":"https:\/\/www.yabasta.cz\/klimas\/presmerovani-stranky-wordpress\/","title":{"rendered":"P\u0159esm\u011brov\u00e1n\u00ed str\u00e1nky WordPress"},"content":{"rendered":"<p>Automatick\u00e9 p\u0159esm\u011brov\u00e1n\u00ed ve wordpressu m\u00e1 elegantn\u011b \u0159e\u0161en\u00fd free template od WOO (www.woothemes.com), nap\u0159 Irresistible nebo Skeptical. Pak u\u017e si jen vytvo\u0159\u00edte str\u00e1nku, zvol\u00edte jako \u0161ablonu &#8222;Redirect&#8220; a do t\u011bla str\u00e1nky vlo\u017e\u00edte URL adresu.<br \/>\nProbl\u00e9m m\u016f\u017ee nastat, pokud chcete pou\u017e\u00edvat Advanced Excerpt Plugin, str\u00e1nka pak odm\u00edtne p\u0159ej\u00edt na zadan\u00e9 URL.<br \/>\nTady je mo\u017en\u00e9\u00a0\u0159e\u0161en\u00ed:<\/p>\n<p>Vzhled &#8211; Editor &#8211; Redirect Page Template (template-redirect.php)<\/p>\n<p>\u0159\u00e1dek<br \/>\n<span style=\"color: #00ff00;\">&lt;?php $URL = get_the_<span style=\"color: #ff0000;\">excerpt<\/span>(); if (!preg_match(&#8218;\/^http:\\\/\\\/\/&#8216;, $URL)) $URL = &#8218;http:\/\/&#8216; . $URL; ?&gt;<\/span><\/p>\n<p><!--p $URL = get_the_excerpt(); if (!preg_match('\/^http:\\\/\\\/\/', $URL)) $URL = 'http:\/\/' . $URL;-->nahrad\u00edte \u0159\u00e1dkem<br \/>\n<span style=\"color: #00ff00;\">&lt;?php $URL = get_the_<span style=\"color: #ff0000;\">content<\/span>(); if (!preg_match(&#8218;\/^http:\\\/\\\/\/&#8216;, $URL)) $URL = &#8218;http:\/\/&#8216; . $URL; ?&gt;<\/span><\/p>\n<p><!--p $URL = get_the_content(); if (!preg_match('\/^http:\\\/\\\/\/', $URL)) $URL = 'http:\/\/' . $URL;-->a je to.<\/p>\n<p>P\u0159esm\u011brovac\u00ed k\u00f3d (soubor template-redirect.php) m\u016f\u017eete vyu\u017e\u00edt ve sv\u00fdch \u0161ablon\u00e1ch, kdy\u017e jej p\u0159ihrajete do adres\u00e1\u0159e \u0161ablony Va\u0161\u00ed.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Automatick\u00e9 p\u0159esm\u011brov\u00e1n\u00ed ve wordpressu m\u00e1 elegantn\u011b \u0159e\u0161en\u00fd free template od WOO (www.woothemes.com), nap\u0159 Irresistible nebo Skeptical. Pak u\u017e si jen vytvo\u0159\u00edte str\u00e1nku, zvol\u00edte jako \u0161ablonu &#8222;Redirect&#8220; a do t\u011bla str\u00e1nky vlo\u017e\u00edte URL adresu. Probl\u00e9m m\u016f\u017ee nastat, pokud chcete pou\u017e\u00edvat Advanced Excerpt Plugin, str\u00e1nka pak odm\u00edtne p\u0159ej\u00edt na zadan\u00e9 URL. Tady je mo\u017en\u00e9\u00a0\u0159e\u0161en\u00ed: Vzhled &#8211; Editor &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.yabasta.cz\/klimas\/presmerovani-stranky-wordpress\/\" class=\"more-link\">Pokra\u010dovat ve \u010dten\u00ed<span class=\"screen-reader-text\"> &#8222;P\u0159esm\u011brov\u00e1n\u00ed str\u00e1nky WordPress&#8220;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":158,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"ngg_post_thumbnail":0,"footnotes":""},"categories":[4],"tags":[16],"class_list":["post-148","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress","tag-wordpress-2"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.yabasta.cz\/klimas\/wp-json\/wp\/v2\/posts\/148","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.yabasta.cz\/klimas\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yabasta.cz\/klimas\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yabasta.cz\/klimas\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yabasta.cz\/klimas\/wp-json\/wp\/v2\/comments?post=148"}],"version-history":[{"count":10,"href":"https:\/\/www.yabasta.cz\/klimas\/wp-json\/wp\/v2\/posts\/148\/revisions"}],"predecessor-version":[{"id":150,"href":"https:\/\/www.yabasta.cz\/klimas\/wp-json\/wp\/v2\/posts\/148\/revisions\/150"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.yabasta.cz\/klimas\/wp-json\/wp\/v2\/media\/158"}],"wp:attachment":[{"href":"https:\/\/www.yabasta.cz\/klimas\/wp-json\/wp\/v2\/media?parent=148"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yabasta.cz\/klimas\/wp-json\/wp\/v2\/categories?post=148"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yabasta.cz\/klimas\/wp-json\/wp\/v2\/tags?post=148"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}