Disable Auto Go To (Jump) To Read More Tag Zakázať Auto Choď Komu (Skoč) K Viac. Tag
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 to možné, do WordPress blog na displeji po čiastočnom na prednej alebo domácu stránku, a návštevníci si kliknúť na podnadpis alebo odkaz na pokračovať čítaním svoj príspevok alebo článok.
One way of achieving this technique is by using the quicktag called “more”. Jedným zo spôsobov, ako to docieliť, je technika pomocou quicktag nazýva "viac". 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 "viac" je zaradený do funkcie na požadovanú break-off (alebo rezané-off) bod tak, že všetko vyššie uvedené sa stala výťahov obsah post a všetko pod ňou bude len vtedy, keď čitateľné návštevníkov kliknite na názov alebo odkaz pre zobrazenie celého príspevku.
The quicktag “more” is implemented by inserting the following line of code into the post: V quicktag "viac" sa realizuje vložením nasledujúci riadok 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 Avšak, v predvolenom nastavení, keď návštevník kliknite na Viac. Odkaz na webovú stránku načíta a potom sa automaticky dopredu alebo skoky na mieste, kde sa tag is set in the post. záznamu je nastavená 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: Ak nechcete, aby sa tento druh umiestnenie, môžete zmeniť predvolené nastavenia funkcií, ako to funguje úpravou nasledujúci riadok 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 .= '<a href="'. get_permalink() ."\"> $ more_link_text </ a> ";
or alebo
$output .= ' <a href="'. get_permalink() ."”>$more_link_text</a>'; $ Output .= '<a href="'. get_permalink() .""> $ 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 zmene, Viac. Odkaz načtou blog post a zastávka v hornej časti stránky, miesto, kde sa pozície quicktag "viac" boli.
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: Pri inovácii WordPress, tento súbor bude nahradený tak Poznamenajte si zmeny, takže si môžete zmeniť po aktualizácii znovu.
IMPORTANT : The page is machine translated and provided "as is" without warranty. Upozornenie: Stránka je stroje preložené a poskytované "tak ako sú" bez záruky. Machine translation may be difficult to understand. Strojový preklad môže byť ťažké pochopiť. Please refer to Obráťte sa prosím na original English article Anglický originál článku whenever possible. kedykoľvek je to možné.
Related Articles Súvisiace články
- How to Disable Image and Video Captions Feature and Auto Adding of Shortcode in WordPress 2.6 Ako zakázať obrazu a videa a popisky funkciou Auto pridania krátky vo WordPress 2.6
- Disable Auto-Run and Auto-Play of U3 Smart Drives Launchpad Zakázať Auto-Spustiť a Auto-Play s U3 Smart pohony odpaľovacie
- How to Change the Frequency or Interval WordPress Auto Saves An Editing Post or Page Ako meniť frekvenciu alebo Interval WordPress Auto Uloží Na Úprava pošty alebo
- Disable Aero Snap Auto Maximize and Arrange Window in Windows 7 Zakázať Aero Snap Auto Maximalizujte a Usporiadať okná vo Windows 7
- Disable Firefox 3 Auto Save Tabs on Close to Prompt for Choice Zakázať Firefox 3 Auto Uložiť záloľky na Blízky Ponúknuť Voľba
- Stop and Disable Web Pages Auto Refresh or Reload in Firefox Zastavte a zakážte Web Stránky Auto Obnoviť alebo Obnoviť vo Firefoxe
- Disable and Turn Off Post Revisions Tracking in WordPress 2.6 or Above Zakázať a Vypnúť Doručovací Revízia Tracking vo WordPress 2.6 či Nad
- Enable or Disable Aero Border Frame in Windows Live MSN Messenger (with Auto Switcher) Zapnúť alebo vypnúť Aero Hraničné Rámečkový vo Windows Live Messenger (s Auto Switcher)
- How To Store Every Post Revisions on Each Auto-Save in WordPress with Limit on Versions Count Ako Uchovávajte Každý Doručovací revízie na každý Auto-Uložiť do WordPress s Limit pre verzie Hrabě
- Increase Multithread Download Speed by Disable Vista Auto Tuning on TCP/IP Zvýšiť rýchlosť sťahovania multithread by Zakázať Vista Auto Tuning na TCP / IP










































June 30th, 2008 02:40 30. júna 2008 02:40
[...] [...] http://www.mydigitallife.info/2005/11/16/disable-auto-go-to-jump-to-read-more-tag/ http://www.mydigitallife.info/2005/11/16/disable-auto-go-to-jump-to-read-more-tag/ [...] [...]
May 26th, 2008 19:42 26 máj 2008 19:42
Thank you for this cool tip! Děkuji za tento cool 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… Tlač v programe Word 2.5 súbor je potrebné upraviť je wp-includes/post-template.php, ale kód je stále rovnaký ...
Werner Werner
July 12th, 2006 20:23 12. júl 2006 20:23
thanks for the hack code.. vďaka za hack kód .. i will implement to my site… i use joomla at this time….. bude realizovať aj na moje stránky ... aj použitie Joomla v túto chvíľu ... .. want to tray wordpress Chcem zásobník wordpress