CS5 provides better support for include files and PHP
You could edit WordPress files in previous versions of Dreamweaver, but version CS5 takes that support to a whole new level. Dreamweaver CS5 can handle multiple levels of include files, so you can use it to edit even the most complex themes, and it includes better PHP libraries, so you can do more complex programming, with better resources at your finger tips.
1. EDIT POSTS FOR A WORDPRESS BLOG IN DREAMWEAVER CS5
You can use Dreamweaver to create and edit posts for a WordPress blog just as you have created any other files. Just create a new page, design your post and then copy and paste the code into the post editor online.
2. SET UP A TESTING SERVER TO EDIT WORDPRESS THEMES AND RUN THE FULL WORDPRESS PROGRAM AND MYSQL DATABASE ON YOUR COMPUTER
If you want to create and edit themes in Dreamweaver, you’ll need to start by setting up your own computer to work as a Web server. You’ll need to install far more than Dreamweaver and WordPress, you’ll also need a MySQL database and PHP.
Fortunately, you can get everything you need in one complete package that’s easy to install on these sites:
www.mamp.info (for Mac)
www.apachefriends.org/en/xampp.html (for Windows, Mac, and Linux)
You’ll find more detailed instructions for setting up a local Web server and MySql database on your computer to run WordPress, Joomla, or any CMS with Dreamweaver in this tutorial
Once you have a web server est up on your local computer, you can set up a local version of your WordPress blog and edit the css files, php files, and everything else in Dreamweaver on your computer. It’s very cool, but it is a bit more complex than working on the average web site.