wordpress-bootstrap icon indicating copy to clipboard operation
wordpress-bootstrap copied to clipboard

Theme setup pages and templates

Open GerritKuilder opened this issue 12 years ago • 3 comments

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 avatar Mar 09 '12 07:03 GerritKuilder

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.

GerritKuilder avatar Mar 10 '12 11:03 GerritKuilder

@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.

chrisbarnes avatar Mar 19 '12 15:03 chrisbarnes

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

GerritKuilder avatar Mar 19 '12 17:03 GerritKuilder