How to List and Show WordPress Posts That Comments and Pings Off (Not Allow) Kā to List un parādīt WordPress Amati, ka komentārus un impulsus, Off (Not Allow)
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 blog publishing platforma ļauj individuālā autors ignorēt globālās diskusiju noteikšanu un noteikt vai ļaut lasītājam pastu komentārus par rakstu, vai arī, lai varētu saite paziņojumu (aka pingback un Trackback) no citām blogus uz vienu pastu vai lapu līmenī. 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. Funkcija ļauj visu jauno amatu un lapu, kas izveidota ar komentārus un impulsus, taču vienmēr var tikt izslēgts par īpašiem amatiem vai lapas, ja nepieciešams.
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. Kad pienācis laiks, lai saimniekošana, WordPress nenodrošina vienkāršu veidu, kā saraksta vai rādīt visus amatus vai paged rakstiem, kas savus komentārus un impulsus, off. 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. Par emuāra administratoru, kuri vēlas, lai redzētu sarakstu blog posts un izstrādājumiem, kas ir aizliegt lasītājiem un apmeklētājiem atstāt komentārus, un apturēt citus blogus, lai pingback vai Trackback, izmantojiet šādas triks uzskaitīt visus amatus un lapas, kas šobrīd noteikts komentēt un pingback / Trackback off.
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. Piesakieties ar MySQL datubāzi, kas pilnvaras, WordPress blogu, un tad izmanto šādu SQL query paziņojums, lai saņemtu visas ziņas vai lapas, kas vai nu Komentāru nav pieļaujama, impulsus (Trackback un ping atpakaļ), nav atļauta, vai abus.
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 Padoms: Lai veiktu atlasi no datu bāzes vieglāk, ir ieteicams lietot phpMyAdmin phpMyAdmin or other GUI interface to MySQL DB. vai citu GUI interfeiss 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). Vaicājuma iepriekš atgriezīsies visi rinda (abus amatus un lapas WordPress), kam ir vai nu "Allow Comments" vai "Atļaut impulsus" set to 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. Lai atgrieztos tikai rakstus, ja komentāri nav atļauti, izmantot tikai "comment_status", vai "ping_status" par rakstus, kas neļauj pingback un Trackback.
Both comment_status and ping_status fields have only two easily understand values – open and closed. Abas comment_status un ping_status lauki ir tikai divi viegli izprast vērtības - atklātas un slēgtas. Open means allow, which closed means disallowed. Open līdzekļi atļauj, kas beidzās līdzekļiem noraidīja. Once the result is displayed, the posts that have one or both of the criteria can be determined, and changed if required. Pēc tam, kad rezultāts ir redzams, amatus, kas ir viens vai abi no kritērijiem var noteikt, un maina, ja tas ir nepieciešams.
IMPORTANT : The page is machine translated and provided "as is" without warranty. SVARĪGI: Šī lapa ir mašīna tulkoto un ar nosacījumu ", kas ir" bez garantijas. Machine translation may be difficult to understand. Machine translation var būt grūti saprast. Please refer to Lūdzu, skatiet original English article oriģināls angļu rakstu whenever possible. kad vien iespējams.
Related Articles Saistītie raksti
- 3 Column Relaxation WordPress Theme comments-paged.php for Paged-Comments WordPress Plugin 3 Column Atpūta WordPress Theme komentārus-paged.php par Paged-Komentāri WordPress Plugin
- Reduce Server Load Using Akismet to Automatically Discard Spam Comments on Posts Older than A Month Samazināt Server Load Izmantojot Akismet automātiski Izmest Spam Komentāri par Posts Vecāka nekā par mēnesi
- Integrate WordPress including Comments with bbPress Forum using bbSync Integrējiet WordPress ieskaitot Komentāri ar bbPress Forum izmantojot bbSync
- Moderate WordPress Blog Comments Via Moderator with Desktop Client Mērens WordPress Blog Comments Via moderatori ar Desktop Client
- Paginating or Split WordPress Post or Page with NextPage in WordPress Not Working Paginating vai sadalīt WordPress Post vai ar Nextpage in WordPress Not Working
- Useful WordPress Plugins At A Glance Noderīgas WordPress plug-in īsumā
- Free Download: Akismet for WordPress Plugin 2.0 to Stop Comment, Trackback and Pingback Spam Free Download: Akismet par WordPress Plugin 2,0 līdz Pietura Komentārs, Trackback un Pingback Spam
- Show, List Out and Identify All Shared Files and Folders in Windows Vista Parādīt saraksts Out un identificēt visu Dalīta failus un mapes Windows Vista
- Add and Insert to Put Google AdSense Ads Units Between Blog Posts in Blogger.com Pievienot un Ielikt Lai Google AdSense Ads Units Between Blog Amati Blogger.com
- Comments and Comment Blocks in PHP Komentāri un Komentārs bloki PHP










































March 3rd, 2009 17:46 Marts 3, 2009 17:46
Great………… thanks man……………………………………….. Great ... ... ... ... pateicoties man ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ..