coutinhor
Member
Posted 7 months ago #
How do I add values or templates to the Template Drop-Down options under Page Attributes.
I am using the Twenty Eleven theme and I only see three options
- Default Template
- Showcase Template and
- Sidebar Template
I would like to add a Archives or a custom Template so I can create a page where I can create an index of all the blogs.
coutinhor
Member
Posted 7 months ago #
I had read this article. It does not explain how I can see new templates from a drop down option from a page while using the twenty eleven theme.
Thanks
Shermanator
Member
Posted 7 months ago #
Coutinhor
add the following to the top of your page
<?php
/*
Template name: [template name here]
*/
?>
Save the file as a php extension.
Use an FTP client (Filezilla, FireFTP, etc) to upload your php file to your site's theme folder. Usually sitename.com > wp-content > themes > themename
Refresh the WordPress side and the page template should show up in the drop-down list.
If you create a new page template as explained in the article above and include it in your theme along with the other page templates – it will appear as a template option in Page Attributes.
coutinhor
Member
Posted 7 months ago #
U are awesome. Thanks for your help. Can I ask another question?
How do I now create an index of all blog titles with hyperlinks to the actual blog.
Example:
By Month or Category
June 2012
- Blog 1 Title
- Blog 2 Title
July 2012
- Blog 1 Title
- Blog 2 Title
Clicking on the Blog title will then take the user to the complete blog.
Shermanator
Member
Posted 7 months ago #
figure out how you want to index the the blog titles. make each title link to its respective blog. <a href="blogurlgoeshere">Blog Title</a>
if you need help with basic syntax of html/javascript/css/etc try this site: w3schools.com