Disable Auto Go To (Jump) To Read More 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.在WordPress ,很可能到一個WordPress所博客網站展示郵政摘錄在前端或主頁,和訪問者必須點擊的標題或一個鏈接繼續讀您的帖子或文章。
One way of achieving this technique is by using the quicktag called “more”.的方法之一,實現這一技術是通過使用quicktag所謂的“更多” 。 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 “更多”是插入到職位所期望的突破小康(或切斷)點,使上述這一切成為摘錄的內容後,一切下面,它只會可讀時,訪問者點擊標題或鏈接可以查看整個郵政。
The quicktag “more” is implemented by inserting the following line of code into the post:該quicktag “更多”是實施插入下面的代碼行進入後:
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不過,默認情況下,當訪問者點擊閱讀更多鏈接,該網頁負荷,然後自動轉發或跳躍到的地方 tag is set in the 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:如果您不想在這種定位,您可以更改默認的功能如何,這工程通過編輯下面一行在wp-includes/template-functions-post.php :
$output .= ‘ <a href="’. get_permalink() . "#more-$id\">$more_link_text</a>";元輸出.= '的<a href="'. get_permalink() 。 "#more-$id\">元more_link_text < /一> “ ;
to至
$output .= ‘ <a href="’. get_permalink() ."\">$more_link_text</a>";元輸出.= '的<a href="'. get_permalink() ."\">元more_link_text < /一> “ ;
or或
$output .= ‘ <a href="’. get_permalink() ."”>$more_link_text</a>’;元輸出.= '的<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.變更後,閱讀更多的聯繫,將載入博客帖子,並停止在上方的網頁,而不是地位,而quicktag “更多” 。
NOTE: When upgrading WordPress, this file will be replaced so make a note of the change so you can change it again after upgrading.注意:升級時的WordPress ,這個文件將被取代,使作出的一個注記的變化,使您可以將它更改後,再次升級。
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. 重要說明 :這是一個機器翻譯網頁是“按原樣”提供的擔保。 Machine translation may be difficult to understand.機器翻譯可能很難理解。 Please refer to請參閱 original English article原來的英語文章 whenever possible.只要有可能。
Share and contribute or get technical support and help at分享和貢獻,或取得技術的支持和幫助,在 My Digital Life Forums 我的數字生活論壇 . 。
Related Articles相關文章
- Download Music Files Tag Editor Tag&Rename 3.5 Beta 5下載音樂文件標記編輯器標記&重新命名3.5測試版5
- How to Add Jump Links in the Email如何添加跳轉電子郵件中的鏈接
- Recommended Tags for Auto Suggest Best Tags in WordPress建議標籤的自動顯示,最好的標籤在WordPress
- A Talking Pen to Inculcate the Reading Habit Among Children會說話的筆,灌輸的閱讀習慣之間的兒童
- Tag Managing Thing Plugin for WordPress 2.3 or Above標記管理的事插件的WordPress 2.3或以上
- Windows Vista CD/DVD Optical Drive Auto Eject or Open Feature Windows Vista中的CD / DVD光盤驅動器自動退出或開啟功能
- Increase Multithread Download Speed by Disable Vista Auto Tuning on TCP/IP增加的多線程的下載速度由禁用Vista的自動調諧TCP / IP協議
- TAG Heuer Mobile Phone豪雅表的移動電話
- Manage Tags in WordPress 2.3 with Advanced Tag Entry and Click Tags Plugins管理標籤在WordPress 2.3用先進的文字標記,然後按一下標籤插件
- Disable FireFox Tabbed Browsing Scroll Arrows and Scrolling Tabs Feature禁用Firefox的標籤頁瀏覽滾動箭頭和滾動標籤功能

































July 12th, 2006 20:23 2006年7月12日20時23分
thanks for the hack code..感謝為哈克代碼.. i will implement to my site… i use joomla at this time…..我會落實到我的網站… …我使用joomla在這個時候… .. want to tray wordpress要托盤的WordPress
May 26th, 2008 19:42 2008年5月26日19時42分
Thank you for this 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…在Word中按2.5的文件,你必須編輯是wp-includes/post-template.php ,但代碼仍然是相同的…
Werner維爾納
June 30th, 2008 02:40 2008年6月30日2時40分
[...] [ … … ] http://www.mydigitallife.info/2005/11/16/disable-auto-go-to-jump-to-read-more-tag/ [...] [ … … ]