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 (או לחתוך-off), כי כל נקודה כדי להפוך את זה מעל excerpted על התוכן של ההודעה והכל מתחתיה יהיה קריא רק כאשר המבקרים לוחצים על כותרת או על קישור כדי להציג את כל ההודעות.

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 תגובות ל "ללכת בטל אוטומטי (קפיצה) כדי לקרוא עוד תג"

  1. Sternico Blog» Blogarchiv » WP Tweaks (Teil 2) Sternico בלוג »Blogarchiv» WP Tweaks (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 יולי 12th, 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 Feed 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 Auto קרא עוד - -- insert read more for auto post articles הכנס לקרוא יותר עבור Auto לפרסם מאמרים - -- read more jump wordpress קרא עוד לקפוץ wordpress - -- auto readmore di wordpress Auto readmore di 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 לחתוך יותר לקרוא - -- 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 - --