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 "Додатково" вводиться посада в заданий брейк-Off (або зрізу) точки так, що всі над ним стали взята зміст цього посту, та все нижче, він буде тільки читаємо, коли відвідувачі натисніть на заголовок або посилання, щоб побачити весь пост.

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 </ A>";

to до

$output .= ' <a href="'. get_permalink() ."\">$more_link_text</a>"; $ Виведення .= "<a href="'. get_permalink() ."\"> $ more_link_text </ A>";

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 : The page is machine translated and provided "as is" without warranty. Увага: Ця сторінка машина переведена і надаються "як є" без гарантії. Machine translation may be difficult to understand. Машинний переклад може бути важким для розуміння. Please refer to Будь ласка, зверніться до original English article Англійська оригінальні статті whenever possible. коли це можливо.


3 Responses to “Disable Auto Go To (Jump) To Read More Tag” 3 Відповіді на "Вимкнути Авто на сайті (Перехід), щоб ознайомитися з додатковими помiток"

  1. Sternico Blog» Blogarchiv » WP Tweaks (Teil 2) Sternico блог »Blogarchiv» WP установок (Teil 2)
    June 30th, 2008 02:40 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 Вернер Mager
    May 26th, 2008 19:42 26 травня 2008 19:42
    2 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. mumut mumut
    July 12th, 2006 20:23 12 липня 2006 20:23
    1 1

    thanks for the hack code.. спасибо за зламати код .. i will implement to my site… i use joomla at this time….. Я буду виконувати на моєму сайті ... Я використовую Joomla в цей час ... .. want to tray wordpress хочу лоток Wordpress :)

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> <дель Datetime = ""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. Підписатися на коментарі функція була відключена. To receive notification of latest comments posted, subscribe to Щоб отримувати повідомлення про останніх коментарів, підписка на My Digital Life Comments RSS feed Моя Цифрова життя Коментарі RSS канал or або register to receive зареєструватися, щоб отримати new comments in daily email digest. нових коментарів у щоденній електронній пошті дайджест.
Custom Search

New Articles Нові статті

Incoming Search Terms for the Article Вхідний Умови пошуку для статті

joomla auto read more Joomla авто докладніше - -- insert read more for auto post articles вставити читати більше для авто посаду статей - -- read more jump wordpress читати далі стрибати Wordpress - -- auto readmore di wordpress Авто readmore ді Wordpress - -- wordpress disable read more Wordpress відключити докладніше - -- wordpress remove more link Wordpress видалити більш посиланням - -- wordpress more link jumps Wordpress більш посиланням скачки - -- remove read more joomla видалити докладніше Joomla - -- disable more link in wordpress відключити більше посилання на Wordpress - -- how to insert more jump wordpress Як ввести більш Перейти Wordpress - -- joomla read more html tag Joomla докладніше HTML тег - -- joomla auto cut read more Joomla Auto Cut докладніше - -- how to disable page jumping Як відключити сторінку стрибків - -- wordpress rmove "read more" Wordpress rmove "читати більше" - -- auto Go To Top Of Page javascript Авто Вгору сторінки JavaScript - -- link jump more wordpress посилання стрибок більш Wordpress - -- wordpress prevent read more jumping Wordpress запобігти далі стрибати - -- wordpress disable "more link" Wordpress відключити "більш посиланням" - -- disable read more in wordpress відключити далі в Wordpress - -- wordpress "read more" turn off Wordpress "читати більше" вимкнути - -- traduzindo read more artigos do joomla traduzindo докладніше artigos робити Joomla - -- wordpress read more links jump Wordpress докладніше посилання стрибок - -- cut-tag : read more . светотеневую мітки: читати далі. - -- disable read more joomla відключити докладніше Joomla - -- remove website jump видалити сайт стрибок - -- read more tag for html читати далі позначки для HTML - --