kgrogan
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Widgets won’t drag, screen options workaround doesn’t workInstalling the Use Google Libraries plugin also worked for me.
Forum: Fixing WordPress
In reply to: Unable to use widgets etcSame Problem – but all plugins are de-activated and I am using the default WP Theme (v1.6)
Can’t add widgets and only one of my previous widgets is still showing on the site, so this almost looks like a database problem. I had all plugins deactivated when I installed 2.8
At first I thought the category exclusion was being ignored, but you are right, the posts in the category are excluded, but the category index page still shows up in the sitemap file. This makes it harder to hide things, expecially since the .xml file is viewable by anybody (similar to robots.txt)
I guess a workaround would be to Disallow the excluded category in the robots.txt file (without revealing its whole name), and allow only the search engines access using .htaccess (this is a pain).
Forum: Fixing WordPress
In reply to: How to check if a post exists by titleSince this was also asked, here is a function that returns an array of all post titles:
function wp_get_all_post_titles() { global $wpdb; return $wpdb->get_col("SELECT post_title FROM $wpdb->posts"); }
Forum: Fixing WordPress
In reply to: How to check if a post exists by titleThe original question asked about finding the post from its title, so here is a version of the above function to find a post by title:
function wp_exist_post_by_title($title_str) { global $wpdb; return $wpdb->get_row("SELECT * FROM wp_posts WHERE post_title = '" . $title_str . "'", 'ARRAY_A'); }
Forum: Requests and Feedback
In reply to: [Plugin: WP-DB-Backup] huge security holeRight now, if the backup directory is not writable, the “Backup now!” button is not visible – even if you are not using the “Save to server” option.
How about making the “Backup now!” button visible if either the “Download to your computer” or “Email backup” is set, and ignore the writable condition of the backup folder for these options. This way, people who don’t want an all-everything directory on their server can still do a backup if they want it sent to their computer or by email.
Forum: Everything else WordPress
In reply to: Multiple Category ChangeBulk Edit Posts is now part of WordPress (no plugin required) as of WP 2.7
Goto the Edit Posts page, click the checkbox next to each of the posts you want to edit as a group, then click Edit from the pulldown at the top left of the page. Click the Apply button next to the pulldown and you should see the Bulk Edit Posts section appear at the top of the post list. Make your changes and click the Update Posts button to apply the changes to all of the selected posts.