Disable Auto Go To (Jump) To Read More Tag Disable Auto Iet Uz (Pārlēkt) Lai sīkāk. 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. In WordPress, ir iespējams, uz WordPress emuāra vietnes parādīt post fragmentāri uz priekšējās vai mājas lapā, un apmeklētājiem ir noklikšķiniet uz virsraksta vai saiti turpināt lasījums jūsu pastu vai izstrādājumu.

One way of achieving this technique is by using the quicktag called “more”. Viens veids, kā sasniegt šo metodi, izmantojot quicktag sauc par "vairāk". 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. Par quicktag "vairāk" ir ievietota amatu vēlamo break-off (vai atslēgšanās) punktu, lai viss virs tā kļūst par excerpted saturu amata un viss zem tā būs tikai nolasāmam kad apmeklētāju klikšķiniet uz virsraksts vai saiti, lai skatītu visu post.

The quicktag “more” is implemented by inserting the following line of code into the post: Par quicktag "vairāk" tiks īstenots iekļaujot šādas līnijas kodu uz 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 Tomēr, pēc noklusējuma, kad apmeklētājs klikšķiniet uz sīkāk. saite, mājas lapa slodzēm un pēc tam automātiski priekšu vai lec uz vietas, kur tag is set in the post. tag ir noteikta amata. 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: Ja nevēlaties, lai šāda veida pozicionēšana, varat mainīt noklusēto funkciju, kā tas darbojas, rediģējot šādu līniju wp-includes/template-functions-post.php:

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

to uz

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

or vai

$output .= ' <a href="'. get_permalink() ."”>$more_link_text</a>'; $ produkcijas .= '<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. Pēc tam, kad pārmaiņas, sīkāk. saite ielādēt blog post un pieturas pie augšu, nevis vietu, kur quicktag "vairāk" tika.

NOTE: When upgrading WordPress, this file will be replaced so make a note of the change so you can change it again after upgrading. PIEZĪME: Kad pārkārtošanās WordPress, šis fails tiks aizstāta tā darīt piezīmi par izmaiņām, lai jūs varētu izmainīt to vēlreiz pēc modernizācijas.

IMPORTANT : The page is machine translated and provided "as is" without warranty. SVARĪGI: Šī lapa ir mašīna tulkoto un ar nosacījumu ", kas ir" bez garantijas. Machine translation may be difficult to understand. Machine translation var būt grūti saprast. Please refer to Lūdzu, skatiet original English article oriģināls angļu rakstu whenever possible. kad vien iespējams.


3 Responses to “Disable Auto Go To (Jump) To Read More Tag” 3 atbildes uz "Disable Auto Iet Uz (Pārlēkt) Lai sīkāk. Tag"

  1. Sternico Blog» Blogarchiv » WP Tweaks (Teil 2) Sternico Blog »Blogarchiv» WP Tweaks (Teil 2)
    June 30th, 2008 02:40 Jūnijs 30, 2008 02:40
    3 3

    [...] [...] 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/ [...] [...]

  2. Werner Mager Werner Mager
    May 26th, 2008 19:42 Maijs 26, 2008 19:42
    2 2

    Thank you for this cool tip! Paldies par šo atdzist 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… Word Press 2,5 failu Jums rediģēt ir wp-includes/post-template.php, bet kods ir joprojām tāda pati ...

    Werner Werner

  3. mumut mumut
    July 12th, 2006 20:23 Jūlijs 12, 2006 20:23
    1 1

    thanks for the hack code.. Thanks for the banalizēt kods .. i will implement to my site… i use joomla at this time….. i īstenos uz manu vietni ... i izmantot Joomla šajā laikā ... .. want to tray wordpress vēlaties paplāte WordPress :)

Leave a Reply Atstāj atbildi

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> Jūs varat izmantot šos tagus: <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. Parakstīties uz komentāriem iezīme ir atspējota. To receive notification of latest comments posted, subscribe to Lai saņemtu paziņojumu par jaunāko komentāri norīkots darbā, abonēt My Digital Life Comments RSS feed Mani Digital Life Comments RSS feed or vai register to receive reģistrēties, lai saņemtu new comments in daily email digest. jauni komentāri ikdienas e-pasta sagremot.
Custom Search

New Articles Jauns pants

Incoming Search Terms for the Article Incoming Meklēt Noteikumi par pants

joomla auto read more Joomla auto lasīt vairāk - -- insert read more for auto post articles ievietot lasīt vairāk auto post raksti - -- read more jump wordpress lasīt vairāk Pārlēkt WordPress - -- auto readmore di wordpress auto readmore di WordPress - -- wordpress disable read more WordPress atslēgt lasīt vairāk - -- wordpress remove more link WordPress izņemt vairāk saite - -- wordpress more link jumps WordPress vairāk saite lec - -- remove read more joomla noņemt lasi Joomla - -- disable more link in wordpress disable vairāk posms WordPress - -- how to insert more jump wordpress Kā ievietot vairāk Pārlēkt WordPress - -- joomla read more html tag Joomla lasi html tags - -- joomla auto cut read more Joomla auto samazināt lasīt vairāk - -- how to disable page jumping kā atspējot page lekt - -- wordpress rmove "read more" WordPress rmove "lasīt vairāk" - -- auto Go To Top Of Page javascript auto Pāriet uz augšu javascript - -- link jump more wordpress saite Pārlēkt vairāk WordPress - -- wordpress prevent read more jumping WordPress novērstu lasi lekt - -- wordpress disable "more link" WordPress disable "vairāk saites" - -- disable read more in wordpress disable lasīt vairāk WordPress - -- wordpress "read more" turn off WordPress "Lasīt vairāk" izslēdziet - -- traduzindo read more artigos do joomla traduzindo lasīt vairāk artigos do Joomla - -- wordpress read more links jump WordPress lasīt vairāk saiknes izlēkt - -- cut-tag : read more . cut-tag: lasīt vairāk. - -- disable read more joomla disable lasi Joomla - -- remove website jump noņemt internetresursa izlēkt - -- read more tag for html lasīt vairāk tagu html - --