Disable Auto Go To (Jump) To Read More Tag Zakázat Auto Jdi na (skok) Chcete-li si přečíst více značek

In Wordpress, it’s possible to a WordPress blog site to display post excerpts on the front or home page, and the visitors have to click on the title or a link to continue reading your post or article. V Wordpress, je možné, aby jeden WordPress blog na stránce zobrazovat po sestřihu na přední nebo domácí stránku, a návštěvníci si kliknout na nadpis nebo odkaz na pokračovat ve čtení Vašeho článku, nebo poštou.

One way of achieving this technique is by using the quicktag called “more”. Jedním ze způsobů, jak toho docílit, je technika, pomocí quicktag nazývá "více". The quicktag “more” is inserted into the post at the desired break-off (or cut-off) point so that everything above it become an excerpted content of the post and everything below it will only be readable when the visitors click on the title or a link to view the whole post. V quicktag "více" se vloží do funkce na požadovaný break-Off (nebo Cut-off) bodu tak, že vše výše uvedené, že se stal výtahů obsahu post a vše pod ní teprve budou čitelné, kdy návštěvníci klikněte na název nebo odkaz na zobrazit celý post.

The quicktag “more” is implemented by inserting the following line of code into the post: V quicktag "více" je realizováno vložením následující řádek kódu do post:

However, by default, when a visitor click on the Read More link, the web page loads and then automatically forwards or jumps to the spot where the Nicméně, ve výchozím nastavení, když návštěvník kliknout na odkaz Více se webová stránka načte a potom automaticky dopředu nebo skoky na místě, kde se tag is set in the post. záznamu je nastavena na post. If you do not want this kind of positioning, you can change the default function of how this works by editing the following line in wp-includes/template-functions-post.php: Pokud nechcete, aby se takové polohy, můžete změnit výchozí funkci, jak to funguje úpravou následující řádek v wp-includes/template-functions-post.php:

$output .= ‘ <a href="’. get_permalink() . "#more-$id\">$more_link_text</a>"; $ output .= '<a href="'. get_permalink(). "#more-$id\"> $ more_link_text </ a> ";

to do

$output .= ‘ <a href="’. get_permalink() ."\">$more_link_text</a>"; $ output .= 'href="'. get_permalink() ."\"> <a more_link_text $ </ a> ";

or nebo

$output .= ‘ <a href="’. get_permalink() ."”>$more_link_text</a>’; $ output .= 'href="'. get_permalink() .""> <a more_link_text $ </ a>';

After the change, the Read More link will load the blog post and stop at the top of page instead of position where the quicktag “more” were. Po změně, je odkaz Více se načte blog post a zastavit v horní části stránky, místo místo, kde quicktag "více" byli.

NOTE: When upgrading WordPress, this file will be replaced so make a note of the change so you can change it again after upgrading. Poznámka: Při upgradu WordPress, tento soubor bude nahrazen tak učinit poznámku o změně, takže je možné ji změnit opět po modernizaci.

IMPORTANT : This is a machine translated page which is provided "as is" without warranty. Upozornění: Tento stroj je přeložen stránky, který je poskytován "tak jak jsou", bez záruky. Machine translation may be difficult to understand. Strojový překlad může být obtížné porozumět. Please refer to Odkazujeme na original English article Anglický originál článku whenever possible. kdykoli je to možné.

Share and contribute or get technical support and help at Sdílení a přispět nebo získat technickou podporu a pomoc při My Digital Life Forums My Digital Life fóra .



3 Responses to “Disable Auto Go To (Jump) To Read More Tag” 3 Reakce na "Disable Auto Jdi na (Přejít) čtěte více Tag"

  1. mumut
    July 12th, 2006 20:23 12. červenec 2006 20:23
    1

    thanks for the hack code.. Díky za zásek kód .. i will implement to my site… i use joomla at this time….. Budu provádět na mých webových stránkách ... i použití Joomla v tomto okamžiku ... .. want to tray wordpress chci zásobník wordpress :)

  2. Werner Mager Werner Mager
    May 26th, 2008 19:42 26. květen 2008 19:42
    2

    Thank you for this cool tip! Děkujeme vám za tuto pohodě tip! In Word Press 2.5 the file you have to edit is wp-includes/post-template.php, but the code is still the same… V aplikaci Word Tisková 2,5 souboru, budete muset upravit, je wp-includes/post-template.php, ale kód je stále stejná ...

    Werner

  3. Sternico Blog» Blogarchiv » WP Tweaks (Teil 2) Sternico Blog »Blogarchiv» WP Tweaky (Teil 2)
    June 30th, 2008 02:40 30. června 2008 02:40
    3

    [...] http://www.mydigitallife.info/2005/11/16/disable-auto-go-to-jump-to-read-more-tag/ [...]

Leave a Reply Nechte Odpovědět

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> Můžete použít tyto značky: <a href="#" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q Cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. Přihlásit se k připomínkám funkce byla vypnuta. To receive notification of latest comments posted, subscribe to Chcete-li přijímat oznámení o nejnovější komentáře vyslán, přihlaste se My Digital Life Comments RSS feed My Digital Life Komentáře RSS feed or nebo register to receive registrovat dostávat new comments in daily email digest. nové komentáře v denní e-mail Digest.
Custom Search

New Articles Nové články

Incoming Search Terms for the Article Incoming Search Terms k článku

Change Read More + Joomla Změn Více. + Joomla - -- joomla readmore Joomla readmore - -- remove jump from ie odebrat skočit z tj. - -- Auto Scrolling IE7 Auto rolování IE7 - -- how to stop jump in Ie Jak přestat skákat v IE - -- wordpress excerpt more jump wordpress výňatek více skok - -- wordpress auto go to jump wordpress auto jet na skok - -- traducir ReadMore en joomla traducir ReadMore en Joomla - -- automatic "read more" wordpress automatickou "číst více" wordpress - -- sie go to jump sie jděte na skok - --