Better ads plugin has 500.000 entries in wp_postmeta
Try it like this: 1. Create backup. 2. Export the table to a sql file, open it in a text editor, select and delete unnecessary records (ex. by regexp), then import it back.
Try it like this: 1. Create backup. 2. Export the table to a sql file, open it in a text editor, select and delete unnecessary records (ex. by regexp), then import it back.
Simple answer: No. Complex answer: After looking at the plugin’s source code, the downloads table used to store the stats is not structured such that you could just edit this single query to give you that kind of information. It would take a much more extensive rewrite of the plugin to handle your request. Possible … Read more
For one thing, you don’t have to include wp-config or wp-db when you use wp-load. And as t31os says, single-quotes around variables will keep them from being interpreted by PHP. <?php include_once(‘wp-load.php’); ?> <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”> <html xmlns=”http://www.w3.org/1999/xhtml”> <head> <meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″ /> <title>Untitled Document</title> <style type=”text/css”> /* styles … Read more
You should use one of query functions – get_posts(), it allows to very flexibly configure set of posts to retrieve.
phpmyadmin as a plugin: WordPress › Portable phpMyAdmin « WordPress Plugins
I ended up using kind of a hack. I made a hidden field that was populated with the user ID. I then used this to update metas and what not on a successful IPN and or successful payment. Ie: add_filter(“gform_paypal_post_ipn”, “update_order_status”, 10, 4); function update_order_status($ipn_post, $entry, $config, $cancel){ // if the IPN was canceled, don’t … Read more
You shouldn’t be blindly changing configs in my.cnf. Use rackerhacker/MySQLTuner-perl · GitHub to test and check your my.cnf configs. It will give suggestions for memory allocations and all other aspects of MySQL tuning. You also should configure httpd.conf for high loads. See Apache Performance Tuning – Apache HTTP Server
List authors with the last post title and order by last post date
Query most popular terms by taxonomy over 2 week period
Have you tried just deleting all the categories in Posts > Categories? When you delete a category, it only deletes the category and NOT the posts. All the posts will then default to uncategorized.