How to Add a Table of Contents to a WordPress Blog

Posted in WordPress by ShortLikeAFox on August 27th, 2008

So you run a WordPress blog and want to add a table of contents or sitemap. No Problem. Just download the Dagon Design Sitemap Generator. I use that plugin for this site and it is highly customizable to match your needs. I have personally found that it works better than many of the other sitemap/table of contents generators out there.

How to Include Functioning PHP Code in Your WordPress Posts

Posted in WordPress, php by ShortLikeAFox on August 17th, 2008

So you want to be able to use PHP in your WordPress blog posts and pages. That’s no problem. Just using <?php……..?> is going to make WordPress angry unless you install a plugin first. There are a few plugins out there that claim to offer this capability, but the one that I have found works the best is Exec-PHP.To begin using PHP code, follow these steps:

  1. Download Exec-PHP
  2. Install it like you would any plugin (The link above and readme file will walk you through this)
  3. If you are currently using it, you must turn off the WYSIWYG editor. To do this, go to Users -> Your Profile and uncheck the Use the visual editor when writing checkbox
  4. Start writing php code like you normally would: <?php ….code goes here ?>

That’s all there is to it!