DevDm Bootstrap

A responsive TwitterBootstrap Starter Theme for Developers

Listed below are the themes files and their intended usage.

404.php – The template for a returned 404.

comments.php – The comments template for pages and posts.

footer.php – Pulls in template-part-footernav.php, the author credits theme option, wp_footer(), and the tracking code theme option.

functions.php – Contains all the template functions. Mostly just standard stuff for declaring menus, sidebars, and enqueuing scripts/css.

header.php – Start of html tags for the entire site. This file includes the wp_head() function and ends with the <body> tag.

index.php – This file contains the code for the main post loops. It detects a single post and the blog list of posts displaying appropriately that which is being called by the user.

page.php – A much slimmer version of the index.php used for displaying a single page.

rtl.css – Right to left language CSS. This was lifted from the 2012 Theme (I think) this is on the list to refine and trim.

shortcodes.php – Contains the available shortcodes to aide in implementing Bootstrap Native features. See the Shortcodes page for more information.

sidebar-left.php – The left sidebar. It detects the theme option to display and then calls the dynamic_sidebar function with the name ‘ Left Sidebar .’

sidebar-right.php – The right sidebar. It detects the theme option to display and then calls the dynamic_sidebar function with the name ‘ Right Sidebar .’

style.css – Theme information and @import “css/bootstrap.css” for all CSS styles. There are no styles here except the blank styles I’ve attached to elements for Child Themeing.

template-part-footernav.php – The footer bootstrap menu. Duplicate this in your child theme or edit directly to change the Menu Attributes. By default it is “sticky” at the bottom like you see on this page.

template-part-head.php – Starts the main container div and contains the logo, blog name, and header text code.

template-part-postmeta.php – Contains all the meta data that is displayed on posts: Author, Date, Category, Tags, and will also display the edit link for logged in admins.

template-part-topnav.php – Contains the top main menu code. Again, duplicate this file for your child theme or edit this one to change to a different Bootstrap style menu.

theme-options.php – Contains all the functions for the theme options page, custom background theme support, and header theme support. This should not be edited if you don’t have an in depth understanding of how these functions work. You could break something and you might end up buying me dinner to fix it.



– admin.css (Misc Admin styles for the different theme options areas)

– bootstrap.css (The compiled version of “less/bootstrap.less” it is not minified so it can be read)

– editor-style.css (Just a place holder for editor styles. I figured this wasn’t something a developer would want tampered with.)


Contains some simple DevDm related branding images and the glyphicon sheets.


– bootstrap.js (This file is the only auto enqueued JS script and can be overwritten with the child theme. We are letting wordpress pull in jquery to keep things clean)

– bootstrap.min.js (unused but there in case you want it)


Empty but there if you decided to support other languages.


All the bootstrap LESS files from the Bootstrap repository with some customized specific includes for WordPress. See the LESS page for information about using them.


– bootstrap-custom-menu-widget.php (see the widget page for more information)

– wp_bootstrap_navwalker.php (our ever so popular navwalker for WordPress Bootstrap based Menus)



One Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

DevDmBootstrap created by Danny Machal