Tag: Wordpress

Delete all one-word WordPress comments at once

by on Feb.03, 2013, under Wordpress

A few of my blogs I’m maintaining suffer from a load of senseless one-word comments. I tried to find a simple way to delete all wordpress comments containing only one word at once. This is what I did:

First log into phpmyadmin or login via command line to your mysql database. For safety reasons you should create a backup before you delete anything…
(continue reading…)

Share
Leave a Comment :, , , , , , more...

WordPress Error: Unknown column ‘post_category’ in ‘field list’

by on Oct.24, 2012, under Linux, Web Development

I wanted to move one WordPress installation from one server to another. Therefore I began with a clean WordPress and tried to import the wp_posts table via sql:

wordpress@t30700:~/public_html/dev/blog$ mysql -u wordpress -p*PASSWORD* --database=wp_blog < wp_blog.sql

Output:

ERROR 1054 (42S22) at line 2: Unknown column 'post_category' in 'field list'
ERROR 1054 (42S22) at line 2: Unknown column 'robotsmeta' in 'field list'

(continue reading...)

Incoming search terms:

Share
Leave a Comment :, , , , , more...

Make the Tweetmeme Retweet Button (iframe) Transparent

by on Feb.14, 2010, under Web Development, Wordpress

The Internet Explorer (IE) is acting strange when it comes to transparency, for instance transparent iframes like the retweet button from tweetmeme. I’m using the great Tweetmeme Plugin for WordPress, but the problem with the transparency appears no matter which way of implementation you are using.

In IE 6, 7 and 8 it looks like this (ugly white background):

reweet button no transparency (continue reading…)

Incoming search terms:

Share
6 Comments :, , , , , , , more...

WordPress: Could not create directory – Theme Install Failed

by on Feb.10, 2010, under Wordpress

This error appeared every time I wanted to install a theme automatically, even in the current version (2.9.1) of WordPress:

Downloading install package from http://wordpress.org/extend/themes/download/sample-theme.zip.
Unpacking the package.
Installing the theme.
Could not create directory. /var/www/html/web999/blog/wp-content/themes/sample-theme/
Theme Install Failed.

(continue reading…)

Incoming search terms:

Share
6 Comments :, , , , , , more...

WordPress: Could not create directory – Plugin Install Failed

by on Feb.10, 2010, under Wordpress

This error appeared every time I wanted to install a plugin automatically, even in the current version (2.9.1) of WordPress:

Downloading install package from http://downloads.wordpress.org/plugin/sample-plugin.zip.
Unpacking the package.
Installing the plugin.
Could not create directory. /var/www/html/web999/blog/wp-content/plugins/sample-plugin/
Plugin Install Failed.

(continue reading…)

Incoming search terms:

Share
20 Comments :, , , , , , more...

How to Use a Double Dash / Hyphen in WordPress

by on Feb.02, 2010, under Web Development, Wordpress

WordPress is converting two dashes, called double dash, (“–”) into a en dash (“–”) automatically. It’s possible to hack the formatting.php to prevent this, but this is much more easy: (continue reading…)

Incoming search terms:

Share
2 Comments :, , , more...

How to Add Multiple Line Breaks in WordPress

by on Feb.02, 2010, under Web Development, Wordpress

WordPress strips / deletes automatically all <p> and <br> tags. If you want to have more than one line break, paragraph or spacing between two lines you’ll get problems. (continue reading…)

Incoming search terms:

Share
1 Comment :, , , , , , , , , more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!