2

I currently work with a graphic designer and code primarily HTML/CSS for clients looking to develop a web presence. I don't know much about WordPress. I have a client who wants some minimal changes done to his site, simple things like removing one of the tabs, editing some text, changing some links. His site is hosted through GoDaddy and I've gotten FTP access to all the files. Once I got in, I discovered that his site was created using WordPress - but he has no knowledge of this at all. The previous developers set up everything for him.

So my problem is that I can't login to the actual WordPress account (because our client doesn't even know that it exists, so he doesn't know the login) and I can't find anywhere in the file structure where the actual content - what you see on the page - is created. There's a lot of PHP files calling things like get_header(). My question is, where is that header information coming from? How do I find the actual HTML so I can edit it? Is there even a way to do this through FTP or do I have to be able to log in through Wordpress?

I apologize for having such a beginner question. Thank you for any light you can shed on this for me.

  • If you don't have WordPress login credentials, you will need login credentials for the host (e.g. cPanel) in order to proceed. – Chip Bennett Jan 16 '14 at 16:42
1

If the content is dynamically written, you won't be able to change this through ftp. At the template files the content is called by typing <?php the_content(); ?>(or the_content(); ) if already scripting in php.

You need to get his WordPress login information to log in to his website, over there you can see pages, and the names of the pages, once in there it is really easy to edit. The menu structure will mostly be found in appearence > menu (also in wordpress itself, not ftp)

if you see get_header(); it calls the file in that directory called header.php, same with sidebar etc..

Sometimes there is a little html in it, sometimes it is all dynamicly.

1
  1. Content is coming from the MySQL database.
  2. Yes... a lot of PHP. The php and html is in many smaller files included into one page. For example the get_header() code includes the code from header.php etc. But in those files there is only practically the DOM. If you are looking for the actual content then it's in the database.
  3. You need to get credentials to the cPanel/database and find your NAME and email.
  4. Follow this and you should be OK http://codex.wordpress.org/Resetting_Your_Password

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.