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 我的數字生活論壇 .



3 Responses to “Disable Auto Go To (Jump) To Read More Tag” 3回應“停用自動轉到(跳轉)來讀取更多的標籤”

  1. mumut
    July 12th, 2006 20:23 2006年7月12日20時23分
    1

    thanks for the hack code..感謝為哈克代碼.. i will implement to my site… i use joomla at this time…..我會落實到我的網站… …我使用joomla在這個時候… .. want to tray wordpress要托盤的WordPress : )

  2. Werner Mager維爾納mager
    May 26th, 2008 19:42 2008年5月26日19時42分
    2

    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維爾納

  3. Sternico Blog» Blogarchiv » WP Tweaks (Teil 2) sternico博客» blogarchiv »可濕性粉劑的調整( teil 2 )
    June 30th, 2008 02:40 2008年6月30日2時40分
    3

    [...] [ … … ] http://www.mydigitallife.info/2005/11/16/disable-auto-go-to-jump-to-read-more-tag/ [...] [ … … ]

Leave a Reply離開的答复

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> 您可以使用這些標籤:的<a href="" title=""> <abbr title=""> <acronym title="">的<b> <blockquote cite=""> <cite>的<code> <刪除日期時間= “ ” >的<em>的<i> <q cite=""> <strike>的<strong>

Subscribe without commenting訂閱無評論


Custom Search

New Articles新的條款,

Incoming Search Terms for the Article傳入的搜索條件文章

remove jump 刪除跳轉 - - joomla remove read more joomla移除閱讀更多 - - auto go 自動轉到 - - read more tag 閱讀更多標記 - - wordpress more jump 在WordPress更多跳轉 - - HOW DO YOU STOP AUTO SCROLLING IN WINDOWS XP? 你怎麼停止自動滾動在Windows XP中? - - turn off auto click 關閉自動點擊 - - read more tag html 閱讀更多的HTML標記 - - Vista auto scrolling Vista的自動滾動 - - wordpress+page jumps+read more 在WordPress +頁跳+閱讀更多 - - automatic scroll+Outlook 自動滾動+展望 - - joomla readmore joomla readmore - - ausschalten auto-read funktion outlook ausschalten自動閱讀funktion展望 - - 自動 リンクジャンプ 自動リンクジャンプ - - outlook 2007 disable autoread Outlook 2007中禁用autoread - - www.my auto.go www.my auto.go - - joomla more tag joomla更多的標記 - - Electronically Disable Auto CD Player 電子停用自動CD播放機 - - vista autoscroll abschalten Vista的autoscroll abschalten - - auto "read more" joomla 汽車“閱讀更多內容” joomla - - switch off automatic scroll in explorer 關掉自動滾動在Explorer - - windows vista + disable auto-scroll Windows Vista的+禁用自動滾動 - - "read more tag" blog “閱讀更多標記”博客 - - explorer vista scroll jumps 總管Vista的滾動跳 - - joomla tag read more joomla標記閱讀更多 - - stop automatic scrolling in explorer 7 停止自動滾動在Explorer 7中 - - wordpress edit more tag jump 在WordPress編輯更多的標記跳轉 - - auto read in outlook how stop 自動閱讀在Outlook中如何停止 - - disable autoscroll on vista 禁用autoscroll在Vista - - turn off auto scroll in IE 關閉自動滾動在IE - - disable automatic scroller + vista 禁用自動滾輪+ Vista的 - - internet explorer disable autoscroll Internet Explorer中禁用autoscroll - - stop automatic scrolling windows vista 停止自動滾動的Windows Vista - - vista turn off auto click Vista的關閉自動點擊 - - autoscroll wordpress autoscroll的WordPress - - traduzir link "read more" joomla traduzir鏈接“閱讀更多內容” joomla - - stop jump page href 停止跳轉頁href - - turn on auto scrolling 開啟自動滾動 - - wordpress auto Continue reading 在WordPress自動繼續閱讀 - - auto zum deutsche post 汽車zum資料Deutsche Post - - How To Stop Automatic Scrolling explorer 如何阻止自動滾動總管 - - ie7 automatic scrolling 在IE7自動滾動 - - remove more tag jump in wordpress 移除更多的標記跳轉在WordPress - - autoscroll vista autoscroll Vista的 - - disable html# jump to link page 禁用的HTML #跳轉到鏈接頁 - - outlook stop auto read 展望停止自動閱讀 - - read more wordpress jump 閱讀更多的WordPress跳轉 - - windows xp 30 Tage activation ausschalten Windows XP的30電壓激活ausschalten - - how to post more after the jump on wordpress 如何張貼更多的跳轉後對在WordPress - - automatic scrolling ie7 自動滾動的IE7 - -