arnabwahid / wordpress-bootstrap

Bootstrap in WordPress theme form - Bootstrap 3.3.1
1.49k stars 556 forks source link

Theme setup pages and templates #31

Open GerritKuilder opened 12 years ago

GerritKuilder commented 12 years ago

I have noticed that the theme does not use that many templates; no seperate template for a post but everything is in the main files. It would also be nice if the main templates already had build in loops for special article templates (archive/author/category) and/or individual header and footer and sidebar templates

This would make it very easy to use child themes and override individual parts of the them.

I also noticed that there is in-consequent use of h1/h2/h3 for individual posts.

I had collected some information on best practices earlier but I cannot seem to find it. I might be able to look deeper into it over the weekend and create something.

GerritKuilder commented 12 years ago

http://devel.kuilder.net/templates/ I have created some 2 content templates, content 404.php and just content.php, this gives all the posts regardless on where they are called from the same format.

It is possible to create content templates for all the post types and also one can create header/footer templates for archive abnd author pages.

Now, how do I get the code into the repository.

chrisbarnes commented 12 years ago

@GerritKuilder In order to get this into the repository, clone this repo to your computer locally, make the changes to the files and then submit a pull request. I'll review the request and merge the code appropriately.

GerritKuilder commented 12 years ago

Not quite sure if this worked for me, getting 'already up to date' messages after 'git pull'