word press dreamweaver

55
Designing on a Local System

Upload: kmawk

Post on 15-May-2015

890 views

Category:

Design


2 download

DESCRIPTION

PDF of presentation on using WordPress with Dreamweaver CS5 on a local system

TRANSCRIPT

Page 1: Word press dreamweaver

Designing on a Local System

Page 2: Word press dreamweaver

Test and experiment with new features or plugins without impacting online site

Work offline with no internet connection Present prototypes and live demos to clients

without needing a connection Design using Dreamweaver CS5.x

Page 3: Word press dreamweaver

Apache, MySQL and PHP installed ◦ Mac: MAMP – http://www.mamp.info/en/index.html◦ Windows: WAMP – http://www.wampserver.com/en

WordPress Themes & plugins stored locally to “upload”

(when working offline) Browser of choice

Page 4: Word press dreamweaver

Download setup file Install as any other Mac application Will offer Pro version as option – free version

is all that is needed

Page 5: Word press dreamweaver

Download setup file Install WAMP◦ Click on Wampserver 2 setup file◦ Follow prompts

Put online Set MySQL password (see Appendix)

Page 6: Word press dreamweaver

Lynda.com has step-by-step tutorials for installing MAMP/WAMP and WordPress locally.

Page 7: Word press dreamweaver

Create database Create folder for WordPress files◦ Windows: C:\wamp\www\sitename◦ Mac: Applications\MAMP\htdocs\sitename

Copy WordPress files to folder Install as usual:

http://localhost/sitename/wp-admin

Page 8: Word press dreamweaver
Page 9: Word press dreamweaver
Page 10: Word press dreamweaver
Page 11: Word press dreamweaver
Page 12: Word press dreamweaver

After installing WordPress, install any themes you want to use.

Page 13: Word press dreamweaver

This Genesis theme (Church) allows for different color themes.

Page 14: Word press dreamweaver
Page 15: Word press dreamweaver
Page 16: Word press dreamweaver

Use Live View to see the page design in Dreamweaver.

Page 17: Word press dreamweaver

Clicking on areas of the page, changes the display of div and class settings for that section. By clicking on a “div”, the properties defined in the css are shown.

Page 18: Word press dreamweaver

I want to eliminate the background image in the body and change it’s color. I can “comment out” the image, and add a new property.

Page 19: Word press dreamweaver

To add a background color that is consistent with the rest of the page, I can hover the mouse over and area (eyedropper not visible in screenshot) and Dreamweaver will fill in the hex code.

Page 20: Word press dreamweaver

I’ve settled on the background color for the wrapper.

Page 21: Word press dreamweaver

To view my changes live, I simply go to the browser.

Page 22: Word press dreamweaver

I’m going to change the header in Dreamweaver. In this case I will edit by clicking the edit button (pencil).

Page 23: Word press dreamweaver
Page 24: Word press dreamweaver

Now I need to adjust the padding on the title area so the text and logo don’t overlap.

Page 25: Word press dreamweaver
Page 26: Word press dreamweaver

Letting Dreamweaver “Discover” dynamically related files, let’s you find linked php files such as footer.phpeasily.

Page 27: Word press dreamweaver

WordPress sites have LOT of dynamically related files. Filtering allows you to display only those of interest.

Page 28: Word press dreamweaver
Page 29: Word press dreamweaver

There are three footer files. The last is the Genesis framework and should not be edited. This one defines the layout of the footer and calls the shortcodes.

Page 30: Word press dreamweaver

This footer.php defines the shortcodes themselves.

You now have the option to edit and customize the footer.*

*This is being shown to illustrate the power of Dreamweaver CS5. However, for Genesis themes, using the Genisis Simple Edits plug-in is a simpler way.

Page 31: Word press dreamweaver
Page 32: Word press dreamweaver

Installing MAMP / WAMPScreenshots from Lynda.com

Page 33: Word press dreamweaver
Page 34: Word press dreamweaver
Page 35: Word press dreamweaver
Page 36: Word press dreamweaver
Page 37: Word press dreamweaver
Page 38: Word press dreamweaver
Page 39: Word press dreamweaver
Page 40: Word press dreamweaver
Page 41: Word press dreamweaver
Page 42: Word press dreamweaver
Page 43: Word press dreamweaver
Page 44: Word press dreamweaver
Page 45: Word press dreamweaver
Page 46: Word press dreamweaver

Setting MySQL password

Page 47: Word press dreamweaver

MySQL version will vary depending on when you downloaded.

Page 48: Word press dreamweaver
Page 49: Word press dreamweaver
Page 50: Word press dreamweaver
Page 51: Word press dreamweaver
Page 52: Word press dreamweaver

You will need a text editor to edit config.inc to include the password.

Page 53: Word press dreamweaver
Page 54: Word press dreamweaver
Page 55: Word press dreamweaver

After setting the MySQL password, restart all services.