-
▼
2011
(334)
-
▼
September
(29)
- How to Use Lightbox 2 for Wordpress
- How to Install WordPress on Media Temple GS
- How to Find API Endpoint in WordPress
- How to Make WordPress Look Like Facebook
- How to Move From WordPress to Your Own Domain
- How to Make a Widget for Every WordPress MU Blog C...
- How to Insert Pictures in WordPress Posts
- How to Use the eShop on WordPress
- How to Find Out Who Owns a WordPress Blog
- How to Include Different WordPress Footers
- How to Find Broken Links in WordPress to Remove
- How to Hide a WordPress Blog Under Development
- How to Embed Padding in WordPress
- How to Add Pages to WordPress
- How to Embed Docstoc Documents in WordPress
- How to Add PDFs Word Documents to WordPress
- How to Create a Favicon in WordPress
- How to Change the Order of the Menu for WordPress ...
- How to Edit WordPress to Default Install
- How to Manage PDF Files With WordPress
- How to Import WordPress Into a Joomla Website
- How to Use Fusion Charts in WordPress
- How to Add Twitter to a Wordpress Blog
- How to Unzip WordPress
- How to Make a WordPress Article Static
- How to Duplicate a Function in Wordpress
- How to Include Another PHP File in WordPress
- How to Export a Self
- How to Have a Subdomain on the WordPress Site at H...
-
▼
September
(29)
adsense
How to Include Another PHP File in WordPress
1. Create the PHP file you want to include using an editor or the Notepad.
2. Enter the PHP code you want to include. For example, to display a randomly selected message, type:
3. Exit the editor and save the file.
4. Log in to WordPress as the 'admin' user to go to the Dashboard. Click 'Editor' under 'Appearance' to launch the editor where you can edit the files in the currently active theme.
5. Click 'Footer' on the right-hand side of the page under 'Templates' to edit the footer file. Locate the place in the footer where you want to insert the PHP file and type the code to insert the PHP file. For example, type:
5:39 AM | Filed Under | 0 Comments
Post a Comment