How to List and Show WordPress Posts That Comments and Pings Off (Not Allow) Miten Luettelo ja Näytä WordPress Posts Se Kommentit ja Lähettää ping-kutsun Off (Ei Salli)
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 blogin julkaisemisen foorumi mahdollistaa yksittäisen tekijän ohittaa maailmanlaajuista keskustelua asettaminen ja määrittää, jotta lukija lähettää kommentoida artikkelin, vai sallia linkki ilmoitus (alias pingback ja trackback) muista blogeista on yksi postitse tai sivu tasolla. 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. Tämä ominaisuus sallii kaikkien uusien virkojen ja sivuja on luotu kommentteja ja ping, mutta voidaan aina kytkeä pois päältä tiettyihin virkoihin tai sivuja, kun tarvitaan.
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. Kun tulee aika taloudenhoito, Wordpress ei tarjota helppo tapa luettelosta tai näytä kaikki virkaa tai paged artikkeleita, joissa on omat kommentit ja ping pois. 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. Saat blogi järjestelmänvalvojille, jotka haluavat nähdä luettelon blogikirjoitusten ja artikkeleita, jotka kieltävät lukijoita ja kävijöitä jättää kommentteja, ja lopettaa muut blogit pingback eli trackback, käytä seuraavaa temppua luetella kaikki virat ja sivut, jotka ovat tällä hetkellä kommentoida ja pingback / trackback pois.
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. Kirjaudu sisään MySQL-tietokantaa, toimivaltuuksia WordPress-blogia, ja sitten käyttää seuraavan SQL-kyselyn julkilausuma saada kaikki virat tai sivut, että joko kommentti ei ole sallittua, ping (trackback ja ping takaisin) ei ole sallittua tai molemmat.
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 Vihje: Voit tehdä valinta suoritetaan tietokanta helpompaa, on suositeltavaa käyttää phpMyAdmin or other GUI interface to MySQL DB. tai muita GUI-liitäntä MySQL TE.
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). Kyselyn edellä palauttaa kaikki peräkkäin (sekä virkojen ja sivut WordPress), joka on joko "Salli kommentit" tai "Salli Lähettää ping-kutsun" 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. Palata vain artikkelit, joissa kommentteja ei ole sallittua käyttää vain "comment_status", tai "ping_status" esineille, jotka eivät salli pingback ja trackback.
Both comment_status and ping_status fields have only two easily understand values - open and closed. Molemmat comment_status ja ping_status kentät on vain kaksi helposti ymmärtää arvot - avoin ja suljettu. Open means allow, which closed means disallowed. Avaa keinot sallivat, joka päättyi keinot sallittu. Once the result is displayed, the posts that have one or both of the criteria can be determined, and changed if required. Kun tulos on näytössä, virat, joilla on yksi tai molemmat kriteerit voidaan määritellä ja muuttaa tarvittaessa.
IMPORTANT : This is a machine translated page which is provided "as is" without warranty. TÄRKEÄÄ: Tämä on koneellisesti käännetty sivu, joka tarjotaan "sellaisenaan" ilman takuu. Machine translation may be difficult to understand. Machine translation voi olla vaikea ymmärtää. Please refer to Tutustu original English article alkuperäinen Englanti artikkeli whenever possible. aina kun mahdollista.
Share and contribute or get technical support and help at Osake ja edistää tai saada teknistä tukea ja apua My Digital Life Forums My Digital Life-foorumit .
Related Articles Aiheeseen liittyviä artikkeleita
- 3 Column Relaxation WordPress Theme comments-paged.php for Paged-Comments WordPress Plugin 3 sarake Rentoutuminen WordPress Theme kommentteja-paged.php varten paged-kommentit Wordpress Plugin
- Reduce Server Load Using Akismet to Automatically Discard Spam Comments on Posts Older than A Month Vähentää palvelimen kuormitus käyttäen Akismet automaattisesti hylätä spam kommentit virkaa vanhempia kuin Kuukausi
- Integrate WordPress including Comments with bbPress Forum using bbSync Integroi WordPress myös kommentit, joiden bbPress Forum käyttäen bbSync
- Moderate WordPress Blog Comments Via Moderator with Desktop Client Kohtalainen WordPress blogin kommentit kautta Vetäjä Desktop Client
- Show,List Out and Identify All Shared Files and Folders in Windows Vista Show, List ja tunnistaa kaikkia jaettuja tiedostoja ja kansioita Windows Vista
- Paginating or Split WordPress Post or Page with NextPage in WordPress Not Working Paginating tai Split WordPress Postin tai Page kanssa NextPage vuonna WordPress Ei Työskentely
- Add and Insert to Put Google AdSense Ads Units Between Blog Posts in Blogger.com Lisää ja aseta asettaa Google AdSense-mainokset yksiköiden välillä blogin virkaa Blogger.com
- Move Blogger Inline Ads Between Posts to Inside Within Post Position Siirrä Blogger Inline Ads välillä virkaa sisällä jälkeisiä kanta
- Comments and Comment Blocks in PHP Kommentit ja Kommentti Lohkot PHP
- List of Google Robots Luettelo Googlen robotit

























