User Manuals

Learn how to use WordPress – and take advantage of its advanced features.

  • Setup, Usage & Integration

Using a Text Editor for minor theme edits

Image of files in theme folder


Each WordPress theme is made up of a collection of templates which includes a stylesheet (style.css) and several PHP template files.

The stylesheet controls the formatting and layout of your blog theme in terms of colour, what the font looks like, where elements are position on the page and so on.

PHP (stands for PHP Hypertext Preprocessor) is the scripting language used by WordPress to create the blog pages. When a visitor goes to your blog to read content, a request is sent to your server. This request is received by the PHP programming language which obtains the required information from your MySQL database and displays it in the visitor’s web browser.

While you don’t need know how to code PHP a basic understanding of both HTML and PHP means you can make minor edits to themes using a text editor such as EditPlus. EditPlus is a text editor, HTML editor and programmer’s editor for Windows. While you could edit in NotePad, EditPlus offers many powerful features that makes it better suited for editing PHP.

For Mac Users try using Smultron; free Text Edit software designed for Macs.

Always save a backup of your themes on your hard drive so that you have the original files in case it is necessary to restore the original themes.

Image of edting footerEditing the blog footer

A simple theme edit is to change the link in the blog footer from ‘Powered by WordPress MU’ to ‘Hosted by’ and the name of your domain. For example, all Edublogs themes are ‘Hosted by Edublogs’.

You use EditPlus3 as follows to edit the blog footer in all 100 themes contained in the Farms 100 big ones theme pack:

1. Download and install EditPlus3.
2. Launch EditPlus3.
3. Locate and open up the folder on your computer that contains the themes.
4. Now open up the footer.php in one of the theme folders. For example, 72 classes

Image of footer.php

[non members only] small-450-banner1[/non members only]
[members only]

5. Locate and highlight all the text that creates the link in the blog footer that says ‘Powered by WordPress MU’ then go to Search and select Find in Files.
Image of searching

6. Change file type to *.*, select Include Subfolders, locate your folder that contains all themes that you want to edit and then click Find

This will locate every file in the themes folder that includes the ‘Powered by WordPress MU’ (for the 100 big one theme packs it should locate 100 occurrences)

Image of opening filetype

7. Now right click and select Open All to open up every footer.php file that contains ‘Powered by WordPress MU’
Image of open all

8. Locate and highlight all the text that says ‘Powered by WordPress MU’ then go to Search and select Replace.
Image of replace text

9. In the Replace with field add the new text and link you want to use. For example, Hosted by <a href=””></a>

10. Now select All open files and click on Replace All.
Image of editing link
11. This should have now replaced ‘Powered by WordPress MU’ with your new text and link.

Image of new link

12. Now go to File and select Save All to save all the changes to the footer.php. Next upload the edited themes to your WPMU site using FileZilla.

Image of save all

[/members only]

See Next: