Disable Auto Go To (Jump) To Read More Tag Išjungti automatinio Go To (Peršokti) Siekiant Plačiau atsekamųjų
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. Į WordPress, kad galbūt į WordPress dienoraščio svetainės rodyti po ištraukos ant priekinio ar pagrindiniame puslapyje, o lankytojai turi spustelėti jo pavadinimą arba nuorodą, jei norite tęsti svarstymą savo postą arba straipsnis.
One way of achieving this technique is by using the quicktag called “more”. Vienas iš būdų pasiekti šį technika naudojant quicktag vadinamas "daugiau". 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. Į quicktag "daugiau" yra įterpiamas į posto norimą pertraukos išjungimo (arba atkirta) punktą, kad viskas, kas išdėstyta pirmiau, tapti excerpted turinio postą ir viskas toliau ji bus tik skaitymui, kai lankytojai paspaudžia ant pavadinimo arba nuorodą, jei norite peržiūrėti visą pranešimą.
The quicktag “more” is implemented by inserting the following line of code into the post: Į quicktag "daugiau" yra įgyvendinama, įterpiant šias eilutes kodą į pareigas:
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 Tačiau, pagal nutylėjimą, kai vartotojas paspausti ant Plačiau nuorodą, interneto puslapio, tada automatiškai peradresuoti arba peršoka į vietą, kur tag is set in the post. žymė yra nustatytas pareigas. 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: Jei nenorite, kad tokio pobūdžio vietos, galite pakeisti numatytąjį funkciją, kaip tai veikia redaguodami šį eilutė 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 į
$output .= ' <a href="'. get_permalink() ."\">$more_link_text</a>"; $ output .= "<a href="'. get_permalink() ."\"> $ more_link_text </ a>";
or arba
$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 kaita, Plačiau nuorodą įkelti dienoraštyje ir sustabdyti viršuje vietoj poziciją, kai quicktag "daugiau" buvo.
NOTE: When upgrading WordPress, this file will be replaced so make a note of the change so you can change it again after upgrading. PASTABA: Kai modernizavimo WordPress, ši byla bus pakeista taip, kad dėmesį į pokyčius, todėl jūs galite pakeisti jį vėl po modernizavimo.
IMPORTANT : The page is machine translated and provided "as is" without warranty. DĖMESIO: Šis puslapis yra mašina išvertė ir pateikiama "kaip yra" be garantijų. Machine translation may be difficult to understand. Mašininio vertimo, gali būti sunku suprasti. Please refer to Remkitės original English article originalas anglų straipsnis whenever possible. jei įmanoma.
Related Articles Susiję straipsniai
- How to Disable Image and Video Captions Feature and Auto Adding of Shortcode in WordPress 2.6 Kaip išjungti Vaizdo ir vaizdo Parašai funkcija ir automatinio Pridėjimas Trumpa į WordPress 2,6
- Disable Auto-Run and Auto-Play of U3 Smart Drives Launchpad Išjungti automatinio Pradėti ir Auto-Play iš U3 Smart Napedy Launchpad
- How to Change the Frequency or Interval WordPress Auto Saves An Editing Post or Page Kaip pakeisti dažnumas arba intervalas WordPress Auto išsaugo Redaguoti Skelbti arba
- Disable Aero Snap Auto Maximize and Arrange Window in Windows 7 Išjungti Aero Snap Auto Padidinimas ir Rozmieść lange Windows 7
- Disable Firefox 3 Auto Save Tabs on Close to Prompt for Choice Išjungti Firefox 3 Automatinis Išsaugoti Kortelės apie Uždaryti Prompt pasirinkimas
- Disable and Turn Off Post Revisions Tracking in WordPress 2.6 or Above Išjungti ir Išjungti Pranešimas Taisoma stebėjimas į WordPress 2.6 arba Aukščiau
- Enable or Disable Aero Border Frame in Windows Live MSN Messenger (with Auto Switcher) Įjungti arba išjungti Aero pasienio rėmelį Windows Live Messenger (su automatinio Switcher)
- How To Store Every Post Revisions on Each Auto-Save in WordPress with Limit on Versions Count Kaip Parduotuvė Kiekvienas Rašyti Pataisymai dėl Kiekvienas Automatinis Išsaugoti WordPress su limitas versijas Count
- Increase Multithread Download Speed by Disable Vista Auto Tuning on TCP/IP Didinti Multithread Download Speed, padarytais Išjungti Vista Auto Tuning TCP / IP
- Disable TCP Auto-Tuning to Solve Slow Network, Cannot Load Web Page or Download Email Problems in Vista Išjungti TCP Auto-tuningas išspręsti Žemas tinklas, Nepavyko įkelti tinklalapį ar Atsisiųsti Email problemos Vista "










































June 30th, 2008 02:40 Birželio 30 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 May 26th, 2008 19:42
Thank you for this cool tip! Dėkojame už šį atvėsti pasiūlymas! In Word Press 2.5 the file you have to edit is wp-includes/post-template.php, but the code is still the same… Word Spauda 2,5 failą jūs turite paredaguoti yra wp-includes/post-template.php, bet kodas išlieka ta pati ...
Werner Werner
July 12th, 2006 20:23 12 liepa 2006 20:23
thanks for the hack code.. Thanks for the Hack kodas .. i will implement to my site… i use joomla at this time….. ir bus įgyvendinti į mano svetainę ... i naudoti Joomla šiuo metu ... .. want to tray wordpress nori plokštelės wordpress