edit wordpress in dreamweaver cs5
I am very new at all of this, and I am trying to teach myself. I installed wordpress via the simplescript option, now i would like to edit the theme in dreamweaver cs5. But now I am just lost, I have tried so many different ways but nothing seems to work.
I am not going to tell you that you can't do it, because you can..... However, you indicated that you were very new to this... How familiar are you with PHP? Wordpress is developed using the PHP scripting language. If you don't have some familiarity with it, you are going to be limited as to what you can do in editing your WP theme.
The simplest way I can think of to do it would be to view the page from WordPress in your browser and then use the browser File/Save option to save it. You could then edit a copy of that to get the theme looking as you want.
Then use a comparison of the before and after files to go into the edit theme option in WordPress to apply the changes to a copy of the theme there.
I am some what familiar with PHP ( I say somewhat because I am learning, and more or less just researching and reading and trail and error). The cool thing about the new dreamweaver CS5 is that you do not have to go back and forth between you browser and dreamweaver. In CS5 it allows you to get a live feed split screen with you code in the program so I can hover my mouse over any object and it will take me right to that code. My problem is that if i install wordpress using simple script the files are not directly on my computer so I am having a hard time getting them into Dreamweaver. I just didn't know if someone has done this before? Maybe I need to download the files on my computer from wordpress.org and then when Im done with them FTP them back onto bluehost c-panel. I dont know like I said Im trying to learn but I am getting more and more frustrated every day.
Yes that's how I do it with CS4. On a Mac I just download the files, then drop the folder into the root folder sitting on my desktop. Wordpress will then show up in your files panel and you can then customize and FTP them up as you say.
Originally Posted by maxedwear
maxedwear I also realy want to know the solution this...
Without local foladers it seems there is no solution ... but if u find something, which wont jeopardize the real site , please share here ...
Last edited by cucelyum; 07-31-2010 at 01:39 PM.
Hey I have a solution ..
U will take a database of your entire web site ... and put it into the local folder ...
existing wordpress site inside dw cs5
I am having a similar problem. I have been at it for quite awhile and done every tutorial I can find. As of now I sort of have it working.
1. The last thing I did was go to web based wordpress interface - the one for your live site. Under the tools menu there is an option to export.
2. Export your site to your hard drive. (this might require you activate a pluggin - or that might just be for the import feature).
3. Go the wordpress installation on your computer - http://localhost/wordpress/wp-admin - your actual address might be different depending on where you installed it. Log in just as you would with your live site - should be a different password etc (like username: root - password: root)
4. go to the tools section and click import - browse out to your hard drive to wherever you saved that file and import it. It will likely take a few minutes
Now like a i said it sort of worked. It populated my database with all of my posts/pages/pictures/etc. So when I live view I do see my pages/posts. It did not grab my theme. For that I went to the files dialog box in dreamweaver - connected to my remote server - found my theme inside that file and clicked get. Then I moved it into my local wordpress/content/themes folder. I can now see my pages in live view with the theme.
However, It is not displaying any of the custom changes that I made to the theme including changes to the css file, or the side bar file. I have tried going to my remote login of wordpress - opened the files in the wordpress editor, copied them and then pasted the live versions into my local files. This did not display any of the changes I expected. So while I am finally able to use the live view and it is displaying the related files and site close to the live site it is still not quite right.
One other thing. Thru all the exersise files I have done - evertime i hit live view it would ask if I would like to save to the server and include any dependent files. For some reason when working with my own site it is not asking me which very well could be part of the problem. I have been working on this for weeks on end only to be very disappointed and frustrated again today.
However the last time I went to the adobe forums to see if anyone had anwered any of my posts I noticed that there was an update for DW CS5 available so I am currenly downloading it and hoping it solves the problem. (AT this point i will accept anything for a reason to be optomistic)
For anyone trying to build their own WordPress theme the book "Build Your Own Wicked WordPress Themes" from SitePoint is a must have. It clearly explains which files are mandatory for all themes and which are optional as well as how they all fit together and which files do what.