-
▼
2013
(302)
-
▼
October
(22)
- How to Add Amazon Context Links to Wordpress
- How to Export WordPress eCommerce Products to a Ne...
- How to Convert From Cutenews to Wordpress
- How to Edit the Registration Form in WordPress
- How to Sync Wordpress With Facebook Profiles
- How to Insert a Tagline in WordPress
- How to Automatically Link Wordpress Posts to Facebook
- How to Use Script With WordPress
- How to Embed Google AdSense in WordPress With a Wi...
- How to Embed a Poll in a WordPress Blog
- How to Convert WordPress MU to WordPress
- How to Upload WordPress Theme 2.9
- How to Enable OpenID Server in a WordPress Blog
- How to Install and Activate Thesis Wordpress Theme
- How to Remove WordPress Break Tags
- How to Use WordPress as a Facebook CMS
- How to Rotate Images in a WordPress Blog
- How to Insert NextGEN Gallery in WordPress
- How to Display Hebrew in WordPress
- How to Create a Custom WordPress Page Template Fro...
- How to Place Ads on WordPress
- How to Make a Scroll Box in a WordPress Post
-
▼
October
(22)
adsense
How to Create a Custom WordPress Page Template From an HTML Table
1. Log in to your WordPress administration control panel. Click on “Appearance,” then click “Editor.” From the list of files on the right of the screen, click “page.php.” When the file appears in the central editing area, select all the code and then paste it into a text editor like Notepad.
2. Start a new line at the top of the file, then copy and paste the following code:
/*
Template Name: PageTables
*/
?>Feel free to change “PageTables” to any name you think would be most descriptive.
3. Save the file to your computer's hard drive, giving it the same name as in Step 2, and the extension “.php”. For example, type “pagetables.php”.
4. Scroll down until you reach the “
” tag. Replace everything below this tag with your HTML code. If you have not already put the WordPress loop into your HTML code, paste this in to your code at the position you want the post content to go. The loop begins on the line that starts with “
” line. Save your changes when you're done.
5. Log in to the FTP account for your WordPress site. Navigate to your WordPress folder, then go to “wp-content,” then click “themes” and then open the folder for the theme you use on your site. Upload your page template file to this folder.
6. Return to your WordPress admin area. Go to “Pages” and click the title of one of the pages that you want to be displayed using your new template. Look to the right of the screen for the “Template” drop-down menu. Click it, then select the page template you just uploaded. Click “Update File” to save the changes. Repeat this process for all the pages you want to change.
8: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