How to List and Show WordPress Posts That Comments and Pings Off (Not Allow) כיצד לרשימת WordPress הצג הודעות זה תגובות ו Pings Off (לא תאפשר)
WordPress blog publishing platform allows individual author to override global discussion setting and set whether to allow reader to post comment on the article, or whether to allow link notification (aka pingback and trackback) from other blogs at single post or page level. בלוג WordPress מאפשרת פלטפורמת פרסום בודדים מחבר לדרוס הגדרה גלובלית דיון ולקבוע אם לאפשר לקורא כדי לכתוב הערה על המאמר, או אם לאפשר קישור ההודעה (aka pingback ו trackback) מכל הבלוגים בכתובת אחת ברמת הדף או לכתוב. The feature allows all new posts and pages to be created with comments and pings on, but can always be turned off on specific posts or pages when needed. התכונה מאפשרת את כל הודעות חדשות ודפים להיות שנוצר עם תגובות ו pings, אך תמיד יכול להיות כבוי או על דפים ספציפיים הודעות בעת הצורך.
When come to time to housekeeping, WordPress does not provide an easy way to list or show all posts or paged articles that has its comments and pings off. כאשר בא הזמן housekeeping, WordPress אינו מספק דרך קלה הרשימה או להציג את כל הרשומות או מעומד מאמרים כי יש הערות ו pings הנחה. For blog administrators who want to see a list blog posts and articles that have forbid readers and visitors to leave comments, and stop other blogs to pingback or trackback, use the following trick to list out all posts and pages that are currently set to comment and pingback/trackback off. עבור מנהלי הבלוג שרוצים לראות רשימה בבלוג הודעות ומאמרים כי יש לאסור קוראים ומבקרים להשאיר תגובות, ולעצור לבלוגים אחרים כדי pingback או trackback, השתמש בנוסחה הבאה כדי להוליך שולל את כל רשימת הודעות ודפי כי בשלב זה בחר להגיב ו pingback / trackback כבוי.
Log on to the MySQL database that powers the WordPress blog, and then use the following SQL query statement to get all posts or pages that either comment is not allowed, pings (trackback and ping back) is not allowed or both. התחבר אל מסד הנתונים MySQL, כי סמכויות WordPress את הבלוג, ולאחר מכן להשתמש בהצהרה הבאה שאילתת SQL כדי לקבל את כל ההודעות או דפים או התגובה אסור, pings (trackback ו פינג חזור) אסור או שניהם.
SELECT * FROM `wp_posts` where `comment_status` <> 'open' or `ping_status` <> 'open';
Tip: To make the selection from database easier, it's recommended to use טיפ: כדי להפוך את הבחירה בין הנתונים בקלות רבה יותר, זה מומלץ להשתמש phpMyAdmin phpMyAdmin or other GUI interface to MySQL DB. או GUI ממשק MySQL DB.
The query above will return all row (both posts and pages in WordPress) that has either “Allow Comments” or “Allow Pings” set to off (untick). השאילתא הנ"ל תחזיר את כל השורה (הן הודעות ודפים על WordPress) שיש לו גם "אפשר תגובות" או "אפשר Pings" מוגדר off (untick). To return only articles where comments is not allowed, use only “comment_status”, or “ping_status” for articles that do not allow pingback and trackback. רק כדי לחזור בו מאמרים הערות אסור, השתמש רק "comment_status", או "ping_status" עבור מאמרים שאינם מאפשרים pingback ו trackback.
Both comment_status and ping_status fields have only two easily understand values – open and closed. שני השדות comment_status ו ping_status יש רק שתי בקלות מבין הערכים - פתוחות וסגורות. Open means allow, which closed means disallowed. פירושו לאפשר פתח, אשר משמעותו סגור disallowed. Once the result is displayed, the posts that have one or both of the criteria can be determined, and changed if required. לאחר התוצאה היא מוצגת, את הודעות כי יש אחד או שניהם, את הקריטריונים יכול להיות נחושים, ו שונה לפי הצורך.
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 מאמרים קשורים
- 3 Column Relaxation WordPress Theme comments-paged.php for Paged-Comments WordPress Plugin טור 3 הרפיה WordPress נושאים תגובות ל-paged.php מעומד תגובות-WordPress Plugin
- Reduce Server Load Using Akismet to Automatically Discard Spam Comments on Posts Older than A Month צמצום השימוש שרת טען Akismet בטל באופן אוטומטי על הודעות דואר זבל הערות ישן יותר מאשר שנה
- Integrate WordPress including Comments with bbPress Forum using bbSync לשלב WordPress כולל הערות עם bbPress פורום באמצעות bbSync
- Moderate WordPress Blog Comments Via Moderator with Desktop Client בלוג WordPress מתון תגובות עם שולחן העבודה באמצעות מנהלי הלקוחות
- Paginating or Split WordPress Post or Page with NextPage in WordPress Not Working Paginating או פיצול WordPress פוסט או דף עם NextPage ב-WordPress לא עובדת
- Useful WordPress Plugins At A Glance שימושי WordPress Plugins במבט חטוף
- Free Download: Akismet for WordPress Plugin 2.0 to Stop Comment, Trackback and Pingback Spam הורדה חינם: Akismet עבור WordPress Plugin 2.0 לעצור תגובה, Trackback ספאם ו Pingback
- Show, List Out and Identify All Shared Files and Folders in Windows Vista הצגה, רשימת מחוץ ולזהות כל שיתופיים קבצים ותיקיות ב-Windows Vista
- Add and Insert to Put Google AdSense Ads Units Between Blog Posts in Blogger.com הוסף או הכנס כדי להציב מודעות של Google AdSense יחידות בין רשומות הבלוג ב-Blogger.com
- Comments and Comment Blocks in PHP תגובות ו תגובה חוסמת ב PHP










































March 3rd, 2009 17:46 3 במרץ, 2009 17:46
Great………… thanks man……………………………………….. נהדר ... ... ... ... תודה אחי ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ..