WP Marker is a simple starter theme for WordPress development. It takes care of some of the things you end up doing on each developments of a theme, thus saving a little time here and there.
Below is some basic information about the theme.
The template files in the theme are only starting points and contain little if no markup.
The theme has the following folder structure:
- Assets - this contains all the theme assets including images, CSS, SASS files and javascript files
- Page templates - any page templates created should be placed in here to keep things nice and organised
- Parts - this folder is for placing calls to
get_template_partfiles. It contains a loops folder forcontent-{loop}.phpfiles - Inc - this is an includes file for some other functions
The theme has a file named main.js in the assets/js/ folder which is were all the theme javascript functionality should be added. This is minified and compressed into the main-min.js file in the same folder. It is this file that is enqueued in the footer of the site. The theme also includes the fitvids library for responsive video which is added to the main.js file when compiled.
The styles are handled with SASS in the assets/scss/ folder. The underscore files breakdown the SASS into easily manageable chunks and they are all included in the main style.scss file. This is compiled to assets/css/style.css which is the stylesheet which is enqueued on the front end.
The theme contains a config.codekit file which means codekit users need not worry about compiling things in the correct place as long as the theme folder itself is added to Codekit on development.