Disable Auto Go To (Jump) To Read More Tag Untuk menonaktifkan Auto Menuju (Langsung) Untuk Selengkapnya 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. Di Wordpress, mungkin ke situs blog untuk menampilkan kutipan posting di bagian depan rumah atau halaman, dan pengunjung harus mengklik judul atau link untuk melanjutkan membaca artikel atau posting Anda.

One way of achieving this technique is by using the quicktag called “more”. Satu cara untuk mencapai teknik ini adalah dengan menggunakan quicktag disebut "lebih". 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 yang "lebih" dimasukkan ke dalam pos yang diinginkan di break-off (atau cut-off) sehingga semua titik di atasnya menjadi excerpted isi posting di bawah ini dan semua itu hanya akan dibaca bila pengunjung klik pada judul atau link untuk melihat seluruh kiriman.

The quicktag “more” is implemented by inserting the following line of code into the post: Quicktag yang "lebih" diimplementasikan dengan memasukkan baris berikut ke kode pos:

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 Namun, secara default, bila pengunjung mengklik link Read More, halaman web dan kemudian secara otomatis maju atau melompat ke tempat yang tag is set in the post. tag diatur dalam pos. 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: Jika Anda tidak ingin jenis posisi ini, anda dapat mengubah fungsi default cara ini bekerja dengan mengedit baris berikut di 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 untuk

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

or atau

$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. Setelah berubah, Selengkapnya link akan memuat posting blog dan berhenti di bagian atas halaman, bukan di mana posisi quicktag "lebih" itu.

NOTE: When upgrading WordPress, this file will be replaced so make a note of the change so you can change it again after upgrading. CATATAN: Bila upgrade Wordpress, file ini akan diganti sehingga membuat catatan atas perubahan sehingga Anda dapat mengubahnya kembali setelah upgrade.

IMPORTANT : The page is machine translated and provided "as is" without warranty. PENTING: Halaman yang diterjemahkan mesin dan diberikan "sebagaimana adanya" tanpa jaminan. Machine translation may be difficult to understand. Mesin terjemahan mungkin sulit dimengerti. Please refer to Silakan merujuk ke original English article artikel asli Inggris whenever possible. bila memungkinkan.


3 Responses to “Disable Auto Go To (Jump) To Read More Tag” 3 Responses to "Pergi Untuk Nonaktifkan Auto (Langsung) Untuk Selengkapnya Tag"

  1. Sternico Blog» Blogarchiv » WP Tweaks (Teil 2) Sternico Blog »Blogarchiv» WP Tweaks (Teil 2)
    June 30th, 2008 02:40 30 Jun 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 26 Mei 2008 19:42
    2 2

    Thank you for this cool tip! Terima kasih atas tip cool ini! In Word Press 2.5 the file you have to edit is wp-includes/post-template.php, but the code is still the same… Dalam Word Tekan 2,5 file yang ada untuk mengedit adalah wp-includes/post-template.php, namun kode ini masih yang sama ...

    Werner Werner

  3. mumut mumut
    July 12th, 2006 20:23 12 Jul 2006 20:23
    1 1

    thanks for the hack code.. thanks for the hack kode .. i will implement to my site… i use joomla at this time….. Saya akan menerapkan ke situs saya ... saya menggunakan joomla saat ini ... .. want to tray wordpress ingin tray wordpress :)

Leave a Reply Meninggalkan Balas

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> Anda dapat menggunakan tag ini: <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. Berlangganan ke fitur komentar telah dinonaktifkan. To receive notification of latest comments posted, subscribe to Untuk menerima pemberitahuan komentar diposting terbaru, berlangganan My Digital Life Comments RSS feed Saya Digital Life Komentar RSS feed or atau register to receive mendaftar untuk menerima new comments in daily email digest. komentar baru di email harian digest.
Custom Search

New Articles Artikel Baru

Incoming Search Terms for the Article Cari Syarat masuk untuk Artikel

joomla auto read more joomla auto selengkapnya - -- insert read more for auto post articles memasukkan selengkapnya otomatis untuk memposting artikel - -- read more jump wordpress selengkapnya melompat wordpress - -- auto readmore di wordpress auto Baca di wordpress - -- wordpress disable read more wordpress menonaktifkan selengkapnya - -- wordpress remove more link wordpress menghapus lebih link - -- wordpress more link jumps wordpress lebih link melompat - -- remove read more joomla menghapus lebih joomla - -- disable more link in wordpress menonaktifkan lebih link di wordpress - -- how to insert more jump wordpress bagaimana cara memasukkan lebih melompat wordpress - -- joomla read more html tag joomla selengkapnya html tag - -- joomla auto cut read more joomla otomatis memotong selengkapnya - -- how to disable page jumping cara untuk menonaktifkan halaman jumping - -- wordpress rmove "read more" wordpress rmove "read more" - -- auto Go To Top Of Page javascript auto Go To Top Of Page javascript - -- link jump more wordpress melompat lebih link wordpress - -- wordpress prevent read more jumping wordpress mencegah lebih jumping - -- wordpress disable "more link" wordpress menonaktifkan "lebih link" - -- disable read more in wordpress menonaktifkan selengkapnya di wordpress - -- wordpress "read more" turn off wordpress "read more" mematikan - -- traduzindo read more artigos do joomla traduzindo selengkapnya artigos do joomla - -- wordpress read more links jump wordpress selengkapnya link melompat - -- cut-tag : read more . memotong-tag: selengkapnya. - -- disable read more joomla menonaktifkan selengkapnya joomla - -- remove website jump menghapus situs melompat - -- read more tag for html read more untuk tag html - --