Tag Archives: Wordpress

Tag Management for WordPress 2.3

April 22, 2007 by aaron
Now that you have gotten used to WP 2.3 and had time to fiddle around with all those tags, you are probably finding that you need to edit, rename or delete tags. While I was going to write my own Plugins for this for a while, I found the perfect Plugins to do the work for me — and by perfect I mean really good, so I take no responsibility if they eat your dog.
Read More ⟶

Mysql Search and Replace.

April 31, 2007 by aaron
I’ve been getting ready for WordPress 2.3, so in preparation I’ve started cleaning up my database. My first order of business was to clean up the tags database. Over time I’ve used several different methods of separating words: all spaces, hyphens and underscores have all been used which really makes the nice names ugly. Fixing this was easy, I just used the MYSQL replace command: UPDATE table SET field =
Read More ⟶

Designing flexible WordPress themes.

April 29, 2007 by aaron
The average WordPress theme has different files for pages, single posts, archives and the front page; however, most of them are almost exactly the same except for inside the_loop. This is a quick tutorial on how to do the most with the fewest files, and includes a few methods to have custom templates by separating content display from structural elements. WordPress looks first for special files and then defaults to the index.php file (as shown in this diagram).
Read More ⟶

Trapping WordPress errors with output buffering.

April 15, 2007 by aaron
If you have tried to use AJAX with WordPress, most likely you have stumbled upon the wp_die() function which completely kills the response you expect to get. However, we can trap the wp_die() by using PHP’s output buffering and the ob_start callback function to process the output of wp_die() even though a die() is called. This is a very special case, and will only work when you are able to ensure output buffering can be called before the die is called.
Read More ⟶

Victory over GMail–Inline Images.

April 25, 2007 by aaron
I’ve wanted to be able to add images to my emails inline (one that appears with the text, not as a separate attachment) for a long time, and today, thanks to WordPress I finally figured out how to do it. Open GMail, go to compose mail, select the “Rich Formatting” if it isn’t your default. Open your WordPress Admin Panel, go to a new post, select the Visual Editor (you may have to turn it on under your user preferences) Write your email in the WordPress Visual Editor, and embed the image into the new post (or just embed the image).
Read More ⟶

Mommy, he hit me. Yah, well you bit me.

April 15, 2007 by aaron
Drama, drama, drama. Sometimes you are amazed at the internet and its ability to bring the word together and coalesce the sum of humanities accomplishments into a single information source. Other times you start to wonder if the internet is filled with pre-pubescent children running around whacking each other over the head with inflatable hammers. Yet again, we have another of the latter. This time the wounded parties are theme designers who sell links to websites, embed them into their themes, and distributed freely across the internet–sometimes, according to Matt, these links are even sold to the same people who spam blogs.
Read More ⟶

Tag Management for WordPress 2.3

April 22, 2007 by aaron
Now that you have gotten used to WP 2.3 and had time to fiddle around with all those tags, you are probably finding that you need to edit, rename or delete tags. While I was going to write my own Plugins for this for a while, I found the perfect Plugins to do the work for me — and by perfect I mean really good, so I take no responsibility if they eat your dog.
Read More ⟶

Mysql Search and Replace.

April 31, 2007 by aaron
I’ve been getting ready for WordPress 2.3, so in preparation I’ve started cleaning up my database. My first order of business was to clean up the tags database. Over time I’ve used several different methods of separating words: all spaces, hyphens and underscores have all been used which really makes the nice names ugly. Fixing this was easy, I just used the MYSQL replace command: UPDATE table SET field =
Read More ⟶

Designing flexible WordPress themes.

April 29, 2007 by aaron
The average WordPress theme has different files for pages, single posts, archives and the front page; however, most of them are almost exactly the same except for inside the_loop. This is a quick tutorial on how to do the most with the fewest files, and includes a few methods to have custom templates by separating content display from structural elements. WordPress looks first for special files and then defaults to the index.php file (as shown in this diagram).
Read More ⟶

Trapping WordPress errors with output buffering.

April 15, 2007 by aaron
If you have tried to use AJAX with WordPress, most likely you have stumbled upon the wp_die() function which completely kills the response you expect to get. However, we can trap the wp_die() by using PHP’s output buffering and the ob_start callback function to process the output of wp_die() even though a die() is called. This is a very special case, and will only work when you are able to ensure output buffering can be called before the die is called.
Read More ⟶

Victory over GMail–Inline Images.

April 25, 2007 by aaron
I’ve wanted to be able to add images to my emails inline (one that appears with the text, not as a separate attachment) for a long time, and today, thanks to WordPress I finally figured out how to do it. Open GMail, go to compose mail, select the “Rich Formatting” if it isn’t your default. Open your WordPress Admin Panel, go to a new post, select the Visual Editor (you may have to turn it on under your user preferences) Write your email in the WordPress Visual Editor, and embed the image into the new post (or just embed the image).
Read More ⟶

Mommy, he hit me. Yah, well you bit me.

April 15, 2007 by aaron
Drama, drama, drama. Sometimes you are amazed at the internet and its ability to bring the word together and coalesce the sum of humanities accomplishments into a single information source. Other times you start to wonder if the internet is filled with pre-pubescent children running around whacking each other over the head with inflatable hammers. Yet again, we have another of the latter. This time the wounded parties are theme designers who sell links to websites, embed them into their themes, and distributed freely across the internet–sometimes, according to Matt, these links are even sold to the same people who spam blogs.
Read More ⟶