Disable Auto Go To (Jump) To Read More Tag Để vô hiệu hoá tính năng tự động Về (Bước) Để Xem tiếp Từ khóa

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. Trong Wordpress, có thể đến một blog để hiển thị trang web đăng bài trích trên mặt trước hoặc trang chủ, và các du khách cần phải bấm vào tiêu đề hoặc một liên kết để tiếp tục đọc bài viết của bạn hoặc các bài báo.

One way of achieving this technique is by using the quicktag called “more”. Một trong những cách để đạt được kỹ thuật này là bằng cách sử dụng quicktag gọi là "nhiều hơn". 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. Các quicktag "nhiều hơn" được đưa vào bài viết tại mong muốn break-off (hoặc cut-off) điểm sao cho tất cả mọi thứ ở trên nó trở thành một excerpted nội dung của các bài đăng và tất cả mọi thứ dưới đây, nó sẽ chỉ được đọc khi khách truy cập nhấp vào các tiêu đề hoặc một liên kết để xem toàn bộ đăng bai.

The quicktag “more” is implemented by inserting the following line of code into the post: Các quicktag "nhiều hơn" được thực hiện bằng cách chèn dòng sau vào các mã đã đăng bài:

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 Tuy nhiên, theo mặc định, khi một người truy cập nhấp vào liên kết Xem tiếp, các trang web và sau đó sẽ tự động tải forwards hay nhảy vào chỗ, nơi tag is set in the post. từ khóa được thiết lập tại các bưu điện. 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: Nếu bạn không muốn loại hình định vị, bạn có thể thay đổi mặc định của chức năng này hoạt động như thế nào bằng cách chỉnh sửa dòng sau trong 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 tới

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

or hoặc

$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. Sau khi thay đổi, các Xem tiếp liên kết sẽ được tải bài đăng blog và dừng lại ở đầu trang thay vì vị trí nơi mà các quicktag "nhiều hơn" được.

NOTE: When upgrading WordPress, this file will be replaced so make a note of the change so you can change it again after upgrading. Lưu ý: Khi nâng cấp WordPress, tập tin này sẽ được thay thế nên lưu ý thực hiện một sự thay đổi, do đó bạn có thể thay đổi lại nó sau khi nâng cấp.

IMPORTANT : The page is machine translated and provided "as is" without warranty. Lưu ý: Các trang web là máy tính dịch và cung cấp "như là" mà không có bảo hành. Machine translation may be difficult to understand. Máy dịch thuật có thể là khó hiểu. Please refer to Xin vui lòng tham khảo original English article Tiếng Anh bản gốc bài viết whenever possible. bất cứ khi nào có thể.


3 Responses to “Disable Auto Go To (Jump) To Read More Tag” 3 hồi đáp tới "Vô hiệu hoá Về Để tự động (Bước) Để Xem tiếp Từ khóa"

  1. Sternico Blog» Blogarchiv » WP Tweaks (Teil 2) Sternico Blog »Blogarchiv» WP tweaks (Teil 2)
    June 30th, 2008 02:40 Tháng sáu 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 Tháng năm 26, 2008 19:42
    2 2

    Thank you for this cool tip! Cám ơn bạn đã mát mẻ này 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… Trong Báo chí từ 2,5 tập tin bạn cần phải chỉnh sửa là wp-includes/post-template.php, nhưng mã vẫn là cùng một ...

    Werner Werner

  3. mumut mumut
    July 12th, 2006 20:23 Tháng bảy 12, 2006 20:23
    1 1

    thanks for the hack code.. thanks for the hack mã .. i will implement to my site… i use joomla at this time….. tôi sẽ thực hiện vào trang web của tôi ... tôi sử dụng Joomla tại thời điểm này ... .. want to tray wordpress muốn khay wordpress :)

Leave a Reply Để lại một trả lời

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> Bạn có thể sử dụng các thẻ:<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. Đăng ký nhận xét tính năng đã bị vô hiệu hoá. To receive notification of latest comments posted, subscribe to Để nhận được thông báo về ý kiến mới nhất được đăng, đăng ký với My Digital Life Comments RSS feed Cuộc sống kỹ thuật số Bình luận của tôi nguồn cấp dữ liệu RSS or hoặc register to receive đăng ký để nhận được new comments in daily email digest. Các ý kiến mới trong thư điện tử tiêu hàng ngày.
Custom Search

New Articles Bài viết mới

Incoming Search Terms for the Article Tìm kiếm các điều khoản cho các Điều

wordpress read more jump wordpress chi tiết nhảy - -- remove read more joomla loại bỏ chi tiết Joomla - -- joomla auto read more Joomla tự động chi tiết - -- insert read more for auto post articles chèn thêm các chi tiết cho tự động đăng bài viết - -- read more jump wordpress chi tiết nhảy wordpress - -- joomla auto tag Joomla tự động từ khóa - -- remove read more wordpress loại bỏ chi tiết wordpress - -- disable automatic more tag vô hiệu hoá tính năng tự động thêm từ khóa - -- auto dvd goto tự động dvd Goto - -- more tag wordpress jump thêm từ khóa wordpress nhảy - -- auto readmore di wordpress tự động tiếp trên wordpress - -- wordpress disable read more wordpress tắt chi tiết - -- wordpress remove more link wordpress loại bỏ chi tiết liên kết - -- wordpress more link jumps wordpress thêm liên kết nhảy - -- disable more link in wordpress vô hiệu hóa nhiều liên kết trong wordpress - -- how to insert more jump wordpress làm thế nào để chèn thêm nhảy wordpress - -- joomla read more html tag Joomla chi tiết thẻ html - -- joomla auto cut read more Joomla tự động cắt giảm chi tiết - -- how to disable page jumping làm thế nào để vô hiệu hoá trang nhảy - -- wordpress rmove "read more" wordpress rmove "chi tiết" - -- auto Go To Top Of Page javascript Để tự động Về Đầu Trong Trang javascript - -- link jump more wordpress liên kết nhảy thêm wordpress - -- wordpress prevent read more jumping wordpress ngăn chi tiết nhảy - -- wordpress disable "more link" wordpress vô hiệu hóa "thêm liên kết" - -- disable read more in wordpress vô hiệu hoá chi tiết trong wordpress - -- wordpress "read more" turn off wordpress "chi tiết" tắt - -- traduzindo read more artigos do joomla traduzindo chi tiết artigos làm Joomla - -- wordpress read more links jump wordpress chi tiết liên kết nhảy - -- cut-tag : read more . cut-tag: chi tiết. - -- disable read more joomla chi tiết vô hiệu hóa Joomla - -- remove website jump loại bỏ trang web nhảy - -- read more tag for html chi tiết cho các từ khóa html - -- jump to more link wordpress chuyển đến chi tiết liên kết wordpress - -- href="#" go top of the pag disable href = "#" đi trên của pág vô hiệu hoá - -- wordpress remove jump to on home page for more tag wordpress bỏ vào trên trang chủ để biết thêm từ khóa - -- continue read links on my entry in blogspot tiếp tục đọc các liên kết trên mục nhập trong blogspot - -- wp more tag jumps wp thêm từ khóa nhảy - -- how to disable more for a post wordpress làm thế nào để vô hiệu hóa nhiều hơn cho một bài đăng wordpress - -- disable More in joomla home page Xem thêm vô hiệu hóa trong Joomla trang chủ - -- read more link jumps to top of page chi tiết liên kết nhảy đến đầu trang - -- remove jump link wordpress loại bỏ liên kết nhảy wordpress - -- how to enable read more joomla làm thế nào để kích hoạt chi tiết Joomla - -- joomla disable read more Joomla tắt chi tiết - -- joomla insert more tag Joomla chèn thêm từ khóa - -- read more jump plugin wordpress chi tiết nhảy cắm wordpress - -- wp how to remove readmore wp làm thế nào để loại bỏ tiếp - -- auto more tag tự động thêm từ khóa - -- disable automatic more tag in archive wordpress vô hiệu hoá tính năng tự động thêm từ khóa trong kho lưu trữ wordpress - -- disable auto jump vô hiệu hoá tính năng tự động nhảy - -- removing more link jump xoá bỏ thêm liên kết nhảy - --