WordPress Themes Development Question:

Download Job Interview Questions and Answers PDF

Tell me how do I disable trackbacks and pingbacks?

WordPress Theme Development Interview Question
WordPress Theme Development Interview Question

Answer:

First, unchecked Allow link notifications from other Weblogs (pingbacks and trackbacks.) on the Options > Discussion panel. This will only disable trackbacks and pingbacks on future posts. Now, to completely disable trackbacks and pingbacks, you will have to edit each past post and uncheck Allow Pings from the Write Post SubPanel. Alternatively, run this MySQL query from the command line on a shell account or using PHPMyAdmin: UPDATE wp_posts SET ping_status=”closed”;
If your goal is to permanently disable trackbacks and pingbacks, then you should delete the wp-trackback.php file as well.

Download WordPress Theme Development Interview Questions And Answers PDF

Previous QuestionNext Question
Tell me can I use a database other than MySQL?Explain me how do I prevent comment flooding?