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. ככל שניתן.
Related Articles מאמרים קשורים
- How to Disable Image and Video Captions Feature and Auto Adding of Shortcode in WordPress 2.6 איך השבת תמונה ווידאו כיתובים הוספת תכונות ו אוטומטי של Shortcode ב WordPress 2.6
- Disable Auto-Run and Auto-Play of U3 Smart Drives Launchpad בטל הפעלה אוטומטית ו השמעה אוטומטית של כונני U3 חכם Launchpad
- How to Change the Frequency or Interval WordPress Auto Saves An Editing Post or Page כיצד לשנות את התדירות או המרווח WordPress אוטומטי חוסך על עריכת רשומה או דף
- Disable Aero Snap Auto Maximize and Arrange Window in Windows 7 השבת Aero ו Snap אוטומטי מקסם סידור חלון ב-Windows 7
- Disable Firefox 3 Auto Save Tabs on Close to Prompt for Choice השבת Firefox 3 לשוניות אוטומטי שמור על סגור כדי הפקודה עבור כולם
- Disable and Turn Off Post Revisions Tracking in WordPress 2.6 or Above השבת ואת כיבוי שליחת מהדורות למעקב אחר WordPress 2.6 ומעלה
- Enable or Disable Aero Border Frame in Windows Live MSN Messenger (with Auto Switcher) להפעיל או להשבית גבול מסגרת Aero ב-Windows Live Messenger MSN (עם Switcher אוטומטי)
- How To Store Every Post Revisions on Each Auto-Save in WordPress with Limit on Versions Count כיצד לאחסן כל הודעה על כל מהדורות שמירה אוטומטית ב-WordPress עם מגבלה על גרסאות ספירה
- Increase Multithread Download Speed by Disable Vista Auto Tuning on TCP/IP להגדיל את מהירות Multithread הורד על ידי השבתת Vista כוונון אוטומטי על פרוטוקול TCP / IP
- Disable TCP Auto-Tuning to Solve Slow Network, Cannot Load Web Page or Download Email Problems in Vista השבת TCP-כוונון אוטומטי כדי לפתור רשת איטי, אין אפשרות לטעון דף אינטרנט או דואר אלקטרוני הורד בעיות Vista










































June 30th, 2008 02:40 יוני 30, 2008 02:40
[...] [...] 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/ [...] [...]
May 26th, 2008 19:42 מאי 26, 2008 19:42
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 ורנר
July 12th, 2006 20:23 יולי 12th, 2006 20:23
thanks for the hack code.. תודה על הקוד גרזן .. i will implement to my site… i use joomla at this time….. אני מיישם את האתר שלי ... אני משתמש Joomla בשלב זה ... .. want to tray wordpress רוצה מגש wordpress