Bones – HTML5 Wordpress Theme Development

Slides:



Advertisements
Similar presentations
WordPress Themes.
Advertisements

WordPress from Start to Finish Day 1: Installing and Using WordPress Looking at the WordPress database.
What is jQuery Mobile? How to use it? Doncho Minkov Telerik Corporation Technical Trainer.
USING WORDPRESS. WEEK 1 1.Why WP? 2.Setting Up WP 3.Exploring the Admin screen 4.Page Organization 5.Posting 6.Polls.
Sculpt Framework Mobile-First with Progressive Enhancement.
WORDPRESS WEBSITE WORKSHOP Part 1: Building a Web Presence with WordPress Karen & Brad Trivers (902)
Government Web Template (GWT) for WordPress Updated 03/20/2015.
Media Queries Jeffery Davis CIT media is used to define different style rules for different media types and devices. Media queries.
Easy Website Creation Using WordPress Welcome and Thank You to our Sponsors.
Content Management, Working with WordPress Svetlin Nakov Telerik Corporation
WPML Translation plugin is the best option when you need to translate your Wordpress website into multiple languages. The plugin makes it easy to translate.
INSTALLATION OF WORDPRESS. WORDPRESS WordPress is an open source CMS, often used as a blog publishing application powered by PHP and MySQL. It has many.
Content Management, Working with WordPress Svetlin Nakov Telerik Corporation
UWWD In our quest to eliminate bad websites, we present…. HALLELUJAH!!
Chapter 1 Understanding the Web Design Environment
Responsive Web Design Sheri German, Instructor Montgomery College.
The easy way to a nice looking website design By a total non-designer (Me!)
Build a WordPress theme from HTML5 template Mario Peshev Devrix Devrix OnTheGo OnTheGo.
Create Your Own Webpage. Today’s Agenda Cut & paste code Notepad++ or Notepad at home FTP Web Hosting Wordpress.
Sahil Narang What is CMS? A content management system (CMS) is a computer application that allows publishing, editing and modifying content,
TUTORIAL 8: Enhancing a Web Site with Advanced CSS
November 3, 2011 Deborah de Bruin Building Digital Libraries.
Responsive Web Design, Discoverability, and Mobile Challenge
Basics of Administration & Theming - Smarajit Dasgupta.
Chapter 1 Variables in the Web Design Environment
Chapter 8 More on Links, Layout, and Mobile Copyright © 2013 Terry Ann Morris, Ed.D revised by Bill Pegram, 9/24/
Web Sites for amateur radio. So You want to make a Web Site? There are several things you need to know about web sites before you start to think about.
#psuweb13 WORDPRESS THEMES 101 A WORDPRESS THEME INTRO WORKSHOP.
Eat Your Words! Creating webpage Layout. CONTENT The Layout of a Webpage HEADER FOOTER Each of these sections represents a ‘div’ (or divider). By linking.
Basic Responsive Design Techniques. Let’s take a look at this basic layout. It has a header and two columns of text, in a box that is centered on the.
Chapter 2 Developing a Web Page. A web page is composed of two distinct sections: –The head content –The body Creating Head Content and Setting Page Properties.
Week 8 – Part 3 More on Links, Layout, and Mobile Key Concepts 1.
Programming in HTML.  Programming Language  Used to design/create web pages  Hyper Text Markup Language  Markup Language  Series of Markup tags 
WORDPRESS TECHNOLOGY BY AMEER. WELCOME INTRODUCTION WordPress is an Open Source software system used by millions of people around the world to create.
WordPress Architecture ► Core files – PHP ► MySQL database  Configured by the installation script ► wp-content directory  themes subdirectory: layout.
USING WORDPRESS TO CREATE A WEBSITE (RATHER THAN A BLOG) STEP-BY-STEP INSTRUCTIONS.
CSS BEST PRACTICES.
Crazy New CSS Tools MIS 424 MIS 424 Professor Sandvig Professor Sandvig.
WORDPRESS IS IT EASY FOR ME ?. WHY should I use WordPress ?
USING WORDPRESS TO CREATE A WEBSITE (RATHER THAN A BLOG) STEP-BY-STEP INSTRUCTIONS.
Creating Google Sites Laura Assem, Director of Technology.
Creating Webpages. Today’s Topics Embed video Embed music More text formatting Wordpress.
Migrating Sites to Wordpress GRC OCIO Wordpress Workshop 11/17/2014.
Advanced Web 2012 Lecture 11 Sean Costain 2012.
#eduguruSummit WORDPRESS THEMES 101 SOME SIMPLE STARTER TIPS FOR WORDPRESS THEMES dotEduGuru Summit 2013.
Adxstudio Portals Training
LESSON 15 – UNIT 0 ADAPTING YOUR WEB SITE FOR MOBILE DEVICES.
Intro to APACHE, MySQL, and PHP & freely available (hackable) Packages Aonghus Sugrue 04 Oct 2012.
Browser Compatibility Testing, using different browsers Conditional Statements.
1 Company Confidential Need a Mobile DotNetNuke Site? Get One the Quick and Easy Way Using CSS Media Queries Amelia Marschall Partner & Creative Director.
Here are some things you can do while you wait 1.Open your omeka.net site in your browser (e.g. 2.Open.
Workshop Partner:. Saad Amin Cofounder and CTO Inspire Chittagong Cofounder & Managing Director Codework Builders and Assets Ltd.
COMP 143 Web Development with Adobe Dreamweaver CC.
Enhance Your Page Load Speed And Improve Traffic.
Genesis for Wordpress By: Ronald Pannullo. Genesis is a fully responsive wordpress theme framework. It can be a theme but it is primarily just a foundation.
Learn What’s New in WordPress4.0 Presented by: SunTecOSS.
HOW TO SET UP A WEBSITE. Why use WordPress? Nearly half of the websites on the Internet are running on the WordPress website platform It’s totally free.
Migrating Wordpress Migrating Wordpress can sometimes get more complicated as it should. There is no plugin that does this for you, the best way is to.
Intro to WordPress (Using XAMPP)
Responsive Web Pages.
Creating Websites With WordPress
WordPress Development
CSS BEST PRACTICES.
Easy Way to Improve Your 404 Page Template in Wordpress If you want to improve your 404 error page. So we are here to explain to you how to improve your.
Build a WordPress theme from HTML5 template
Easy Website Creation Using WordPress
WordPress Development
Wordpress test.cs.edinboro.edu.
Bootstrap Direct quote from source: bootstrap/
WordPress Development
Presentation transcript:

Bones – HTML5 Wordpress Theme Development Kyle spehar

What is ‘Bones’? Bones is an HTML5, Mobile-First starter theme for rapid Wordpress development. Bones is built around the latest in Web Standards. It serves as an excellent base to build Wordpress themes. “Bones was created after years of editing and reusing the same template to develop custom sites. It came from trial and error and tons of experience customizing templates. I trimmed the fat on stuff that you don’t really need as well as adding things you almost always have to use plugins for.” – Eddie Machado, Wordpress Developer and blogger at Themble.

What is ‘Bones’? At its core, Bones is designed to be used as a template for making your own theme.  Bones is NOT a framework. Frameworks add a layer on top of the base. You’re not supposed to modify a framework’s code, only add your own code on top of it. When building with Bones, you’re supposed to mess with the base code.  Bones is as bare and minimalistic as possible. It's meant to be used on a per-project basis, this means no Child Themes. Bones is completely FREE.

Features Mobile-First & Responsive Bones comes loaded with SASS and LESS Custom Post Types & Custom Dashboard Functions Preloaded Insanely Detailed Fully Customizable Made with HTML5 Boilerplate platform Responsible Fallbacks for older browsers Built for speed by prioritizing minimal bandwidth for mobile devices. Clean Header Sections Solid Documentation (GitHub, website is currently being renovated)

Features * Some of these statistics may be out of date. This chart was posted on September 5, 2011.

Installation Download Bones Themes Directory Theme Settings http://themble.com/bones/ Themes Directory Unzip the file into wp-content/themes and rename its directory to bones. Theme Settings Set the theme in the WP admin to Bones (at Appearances / Themes). Theme Basic Data Place theme name, description, author, version, etc. in style.css in the theme’s main directory.

The Basic Page This is how the website will look with the basic Bones theme. The resolution of the screen in this screenshot is 1440 x 900 pixels. As you can obviously see, there is plenty of room for customization.

Getting Started Library folder All of your LESS, SASS, CSS, JavaScript, images, and custom bones-specific function files are. The first thing you will want to do is define custom post types. This is done in the library/custom-post-type.php file. You can clear this file out if you don’t need it or customize the functions and settings to get the type of post you want. It’s best to make use of as many built-in WordPress capabilities as possible. 

Getting Started Template Files Bones starts you off with the core page layouts for viewing archives, author, pages, search, and single posts. It has a template for page-custom, single-custom-type, and taxonomy- custom-cat. These files are meant to help guide you through making theme styles for custom posts as well as custom page themes. If you want to have a special page template, add a file named page- my_template_name.php and at the top add: <?php /* Template Name: My Template Name */ ?> This will show up in your Template folder when adding a new page. You can also edit the footer, header, sidebar, and comment layouts, as well as the 404 page.

Bones Styling Bones uses LESS and SASS CSS preprocessors, therefore you will need a compiler to compile and minify the styles into a production CSS file. Delete folder for whichever preprocessor isn’t used. LESS is located in library/less SASS is located in library/scss Compilers include: Third-party – PrePros, Compass, WinLESS, etc. Built into editor Wordpress/JS plugin Initially you’ll want to check out the mixins files for LESS/SASS. Here you will find some core variables, cross-browser fixes, and common mixin functions.

Bones Styling Stylesheets include (all in /library/less -or- scss directory): First is the base file. Here you define the most basic styles for your theme. This structure follows a mobile-first approach, so mobile devices only need to load this base file. Next is the normalize file. This contains reset rules to make sure all browsers are showing nearly the same thing at the most basic style. Lastly are the responsive styles. This moves by screen size using media queries. 1030up.less – desktop 1240up.less – mega sized monitor 2x.less – styles for retina display 481up.less – 481px+ styles 768up.less – tablet & small desktop base.less – base for mobile device ie.less – all IE styles but without media queries login.less – modify WP login page mixins.less – LESS mixins & constants normalize.less – general reset style.less – main styles

Functions The heart of the theme is the functions.php file. Bones fills this file with default code including: sidebars, comments layout, search form, image sizes, etc. It will also include the library/bones.php, plugins, and custom-post-type files. The bones.php file has a much more in-depth set of functionality. This includes: head cleanup, js and css enqueing, excerpt_more, theme support arguments, a custom related-posts function, pagination, etc.

Examples

Live Example http://chinaus.cah.ucf.edu/bones/?page_id=2

Sources http://themble.com/bones/ https://github.com/eddiemachado/bones http://code.tutsplus.com/tutorials/making-a-theme-with-bones- getting-started--wp-26545 http://chrisrolfs.com/theme-your-blog-with-bones/ http://www.plattsoft.net/2013/05/20/bones-my-learning- experience/

Questions Which of the following is NOT true about Bones: It is made with HTML5 Boilerplate platform. It comes loaded with LESS and SASS. It is a framework. What makes Bones good for rapid WordPress theme development? The base.less/scss/css file is where you defined the basic styling of your desktop view. True False

Answers Which of the following is NOT true about Bones: It is made with HTML5 Boilerplate platform. It comes loaded with LESS and SASS. It is a framework. What makes Bones good for rapid WordPress theme development? Bones offers a mobile-first approach of creating WordPress themes through a basic template. It trims the unnecessary features and adds core functionality that is common for many WP Plugins. It allows you to build on top of the template as opposed to adding and removing features from themes and frameworks that do not allow for the same level of customization that Bones offers. The base.less/scss/css file is where you defined the basic styling of your desktop view. True False