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.
Related Articles Saistītie raksti
- How to Disable Image and Video Captions Feature and Auto Adding of Shortcode in WordPress 2.6 Kā Disable Image un video parakstus Feature un Auto pievienojot Shortcode in WordPress 2,6
- Disable Auto-Run and Auto-Play of U3 Smart Drives Launchpad Disable Auto-Run un Auto-Play no U3 Smart Drives Launchpad
- How to Change the Frequency or Interval WordPress Auto Saves An Editing Post or Page Kā nomainīt biežumu vai Interval WordPress Auto Ietaupa An Editing Post vai
- Disable Aero Snap Auto Maximize and Arrange Window in Windows 7 Disable Aero snap Auto Maksimizēt un organizē Window Windows 7
- Disable Firefox 3 Auto Save Tabs on Close to Prompt for Choice Disable Firefox 3 Auto Save cilnes Tuvu Prompt par Choice
- Disable and Turn Off Post Revisions Tracking in WordPress 2.6 or Above Disable un Izslēgt Post Revisions sekošanas WordPress 2,6 vai virs
- Enable or Disable Aero Border Frame in Windows Live MSN Messenger (with Auto Switcher) Aktivizēt vai Deaktivizēt Aero robežapsardzes Frame Windows Live MSN Messenger (ar Auto komutatoru)
- How To Store Every Post Revisions on Each Auto-Save in WordPress with Limit on Versions Count Kā uzglabāt Katru Post Revisions par katru Auto-Izņemot WordPress ar Ierobežojums attiecībā uz versijas Count
- Increase Multithread Download Speed by Disable Vista Auto Tuning on TCP/IP Palielināt Multithread Download Speed ar Disable Vista Auto Tuning par TCP / IP
- Disable TCP Auto-Tuning to Solve Slow Network, Cannot Load Web Page or Download Email Problems in Vista Atspējot TCP Auto-Tuning atrisināt Lēna Network, Cannot Load Web lapu vai Download Email Problēmas Vista










































June 30th, 2008 02:40 Jūnijs 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 Maijs 26, 2008 19:42
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
July 12th, 2006 20:23 Jūlijs 12, 2006 20:23
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