How do I change index.php page using Dreamweaver?

A friend of mine has a website that is hosted by godaddy. It is a site created by using Wordpress. Since I don't know anything about Wordpress (I only have Dreamweaver CS5) I'm not sure how to proceed.
There are a few text changes that need to be made. Can I copy the code from the index.php into a new DW (php) page - change the text - and then upload it? If I do that, will it still function the same, even though all I have done is just change text, not any functionality?
chopperchicAsked:
Who is Participating?
 
gwkgConnect With a Mentor Commented:
The spelling error could be in the theme files if it's part of the template.

The files you can edit in Dreamweaver are located in wp-content/themes/

There will most likely be multiple theme folders, including Twenty Ten.  

Look in the wp-admin Appearance > Themes to see which theme is active.

Editing a WordPress theme with Dreamweaver CS5 – Part 1: Learning the basics http://www.adobe.com/devnet/dreamweaver/articles/dw_wordpress_pt1.html


0
 
Greg AlexanderLead DeveloperCommented:
Yes, a php page is just text, I use Dreamweaver exclusively for editing PHP file
0
 
Jason C. LevineNo oneCommented:
Hi chopperchic,

WordPress sites are completely database driven.  In order to change anything, you need to login to the WordPress backend and change the content from there.  DW is more or less useless in this situation unless you are designing a theme for a WordPress site and even there, it's pretty limited.
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
chopperchicAuthor Commented:
Well these are two conflicting solutions. It is only a spelling error I need to fix. I know nothing about Wordpress and wouldn't even know how to login to the back end through godaddy.com and fix what needs to be fixed. Can I do it live?
0
 
Jason C. LevineNo oneCommented:
It's not a conflicting solution.  If you look at index.php on the server from DW you will not see the content, just a lot of PHP code that controls what is displayed based on what is clicked.  There is nothing for DW to edit CONTENT-WISE.

Now, you can use DW to edit a WordPress site's THEME (the look and feel and structure) because the theme is independent of the content.  CS5 is supposedly optimized to do it but I'm not at all convinced of this and I think Adobe made it a selling point.

Contact your friend, get the admin login and password for the site.  The backend is accessible at:

www.thesite.com/wp-admin

0
 
Greg AlexanderConnect With a Mentor Lead DeveloperCommented:
A spelling error on wordpress is most likely stored in the database, there are very few static words within the wordpress framework... If you can download the page and see the text you good to change it. Is this a post from a blog or like a footer or something?
0
 
Dave BaldwinFixer of ProblemsCommented:
@jason1178 is right.  I'm responsible for 4 Wordpress blogs including two of my own.  If you edit 'index.php', you will simply crash the site.  Wordpress content is in the database and constant data will be in the theme.  Which is loaded by 'index.php' and the rest of the PHP pages in Wordpress.
0
 
chopperchicAuthor Commented:
It seemed as though not everyone agreed on whether I can use Dreamweaver or not. One comment says it will crash the site, another comment says it wouldn't.
0
 
gwkgCommented:
If you couldn't use Dreamweaver Adobe wouldn't have a tutorial on how to edit a Wordpress theme with Dreamweaver :)

The only question is whether the spelling error was part of the template or in a post/page.  Without you actually showing us the page with the spelling error it would be pretty hard to tell you which.

Hope you got it straightened out!
0
 
Dave BaldwinFixer of ProblemsCommented:
The problem isn't using Dreamweaver.  You asked about 'index.php'.  In Wordpress, that doesn't display anything, it is used to load up to a couple of dozen PHP pages/files that access the database that contains the items to be displayed.  If you change 'index.php' so that it doesn't do that, you will crash the site.

Wordpress is fairly complicated.  Most display items are in the database and can be edited in the control panel.  The items that are displayed by the theme are in the subdirectory for that theme.  If you are used to using Dreamweaver to edit a complete page, you may have trouble even with the theme files because they are only part of what it takes to display pages in Wordpress.  No one file is a complete page.
0
 
Jason C. LevineNo oneCommented:
Dave's right.  The basic facts boil down to this:

1) You don't use Dreamweaver to edit the content of a WordPress site because that is handled from within WordPress.  

2) DW CS5 can interact with a WordPress site and allow some editing to the cuurent theme (but not the content of the posts and pages and plugins) but this is not a well-developed feature and I recommend that people stay away from using it unless they are very knowledgable about both DW and WP.

3) Any version of DW can be used to edit WordPress files but unless you are really familiar with WordPress structure and taxonomy you should probably just use a good code editor instead of DW.   DW's tendency to rewrite paths could fatally cripple a WordPress site and you have to know what's what from the code in order to restore it.  
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.