-
▼
2011
(334)
-
▼
December
(30)
- How to Embed an MP3 Player in WordPress
- How to Edit Php.Ini Files in Wordpress for File Sizes
- How to Enable Thesis Avatars in WordPress
- How to Use Microsoft Expression With WordPress
- How to Change the WordPress Prefix Post Installation
- How to Share Music on Wordpress
- How to Use Redirects in WordPress
- How to Create a Magazine Theme for WordPress
- How to Change the Avatar Gravatar in Wordpress
- How to Format Yahoo! Pipes RSS for WordPress
- How to Change H1, H2 H3 Header Tags in WordPress
- How to Blog to WordPress via iPhone
- How to Make a PSD WordPress Theme
- How to Use WordPress Database Multiple Places
- How to Redirect a WordPress Tab
- How to Load My Logo to My WordPress Blog
- How to Insert a PNG in WordPress
- How to Connect Pages to the Footer in Wordpress
- How to Make Your WordPress Blog More Google Friendly
- How to Insert Adsense Code Into a WordPress Blog Post
- How to Insert Bookmarks in WordPress
- How to Send a Tumblr Feed to WordPress
- How to List Tags Without Links in WordPress
- How to Change the Tagline of a Post in WordPress
- How to Convert a Compendium Blog to WordPress
- How to Add a WordPress Blog to Your Zen Cart Store
- How to Change Avatars for Users in WordPress
- How to Change a Wordpress URL
- How to Create a WordPress Template Page
- How to Remove a Byline in WordPress
-
▼
December
(30)
adsense
How to Create a WordPress Template Page
1. Open up Notepad and type in the following code at the top:
This code specifies the name of your template. It's also the same name in the drop-down box of the 'Page Attributes' field when selecting a template for your WordPress page.
2. Add the following code to include the Header:
.
3. Type in the code to display content. This is the part where you can specify the layout for your page and what content to display. Use '
' tags to manipulate the layout using CSS code. For example, the standard one-page layout code for a WordPress page looks like this:
The PHP function 'get_template_part()' automatically displays content you enter for a particular page using the WordPress content editor.
4. Add the following code to include your footer:
.
5. Save the document as a PHP file.
6. Upload the file to your specific theme folder. For example, if you're using the Twenty-Ten theme, upload your template at 'wp-content/themes/Twenty-Ten.'
1:39 AM | Filed Under | 0 Comments
Comments
Popular Posts
-
1. Log in to your Weebly account. 2. Click 'Theme Editor.' 3. Click on the 'Design' tab. 4. Select 'Edit CSS/HTM...
-
1. Sign up for a publisher account at Bidvertiser. Submit basic contact information and confirm your email address to get started. 2. Lo...
-
1. Log in to your WordPress dashboard. 2. Open the 'Appearance' section on the left side of the WordPress dashboard and then cli...
-
Facebook Widget 1. Create a Facebook fan page for your blog, if you don't already have one. You will have to manually share content wi...
-
1. Open your WordPress Dashboard in your preferred browser. It is accessed at the '/wp-admin' location of your site. For example, ...
-
1. Download and install the WordPress for BlackBerry app via BlackBerry App World. Download the version that corresponds with your BlackBe...
-
1. Go to your WordPress blog's administrative control panel. 2. Click the 'Settings' button on the left-side navigation menu...
-
1. Click the 'Add Contact' button on the 'Add New Post' page. This opens the 'Add a Contact Form' page. 2. Click...
-
1. Register an account with Amazon Web Services Cloud. If you have an existing Amazon account, enter your email address in the appropriate...
-
1. Log into your WordPress.com account using your user name and password. 2. Hover your cursor over the 'My Blogs' tab at the to...
Post a Comment