Monday 22 July 2013

Notepad (Windows)

Notepad, by default, saves files with a .txt extension. With WordPress tem-
plates and theme files, you typically save files with a .php or .css exten-
sion, so you want to take care and make sure that you save files correctly.
To save as a .php or .css extension with Notepad, follow these quick steps:

1. Open Notepad by clicking the Start button and then choosing
Programs➪Accessories➪Notepad.

2. Create your CSS or PHP document.

Check out  the  minibook for a simple PHP document you can create.

3. Choose File➪Save As and then select the location to save the docu-
ment in the Save In drop-down list in the dialog box that appears.

4. Type the name of the file, including the extension, in the File
Name field.

In Figure 5-4, the name of the file is header.php. If you’re saving a
CSS document, the extension is .css (for example: style.css).

5. Choose All Files in the Save as Type drop-down list.

By default, Notepad wants to save it as a text document (.txt).

6. Leave ANSI selected in the Encoding field and then click the
Save button.

0 comments:

Post a Comment