Build a WordPress theme from HTML5 template Mario Peshev Devrix Devrix OnTheGo OnTheGo.

Slides:



Advertisements
Similar presentations
WordPress Themes.
Advertisements

@beckyddesign Beckydavisdesign.com Take Control of Your Site with WordPress.
WI.org Site Training Laura Peterson 3/31/2014.
Strategies For Creating Accessible University Webpages Scot Close and Neil Torrefiel Web Services Unit San Jose State University.
Day 2 – JavaScript & PHP.  Have the hover effect display an extra image  Add an extra image for each of the tags  In your writeText() function, you.
Introduction to WordPress. Learning Outcomes Describe WordPress Compare and contrast the difference between a WordPress hosted blog and a hosted blog.
WORDPRESS WEBSITE WORKSHOP Part 1: Building a Web Presence with WordPress Karen & Brad Trivers (902)
Seattle Drupal Clinic Introduction to Drupal and Web Content Management.
Government Web Template (GWT) for WordPress Updated 03/20/2015.
Easy Website Creation Using WordPress Welcome and Thank You to our Sponsors.
Content Management, Working with WordPress Pavel Ivanov Telerik Corporation
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.
Νοέμβριος 2007 ΝΙΚΟΛΑΟΣ ΚΑΝΤΖΕΛΗΣ Use Worpress to create your own blog WORDPRESS 2.0.
Wordpress as a content management system Building a better website with content management systems | June 12, 2009.
Final Presentation WordPress 3.0+ Leonard Bogdonoff 12/6/11 T. DEDONNO CIM225.
Content Management, Working with WordPress Svetlin Nakov Telerik Corporation
Art 128 Interface Programming 1 In-class Presentation Week 11B.
Learning Word Press. You will learn how to Get your own Get hosting for your website Get a design for your website Learn.
The easy way to a nice looking website design By a total non-designer (Me!)
Jiří Balej, Martin Podborský, Petra Čačková.  Tools, which enables to produce content without source code knowledge  Text document ◦ MS Word/OO Writer.
Bones – HTML5 Wordpress Theme Development
Build a CMS Website. The topics this chapter covers are: What is CMS ? What you can do with CMS The benefits and disadvantages of using a content management.
Drupal Workshop Introduction to Drupal Part 1: Web Content Management, Advantages/Disadvantages of Drupal, Drupal terminology, Drupal technology, directories.
Basics of Administration & Theming - Smarajit Dasgupta.
Launch Your WordPress site in One Hour By Bret Phillips For slides, codes, and notes: Web Devils WordPress.
Introduction to WordPress with SiteControl By: Web Services.
WordPress Web. WordPress Blogging system with full content management Personal publishing system Built on PHP scripting language and MySQL relational.
#psuweb13 WORDPRESS THEMES 101 A WORDPRESS THEME INTRO WORKSHOP.
Joel Bapaga on Web Design Strategies Technologies Commercial Value.
Website Confidence By Andrea Bailey and Nedra Rezinas.
Creating A Site Using A Template In Dreamweaver CS6 Cakes R Us!
Creating Effective School and PTA Websites Sam Farnsworth Utah PTA Technology Specialist
Session 1 SESSION 1 Working with Dreamweaver 8.0.
WORDPRESS TECHNOLOGY BY AMEER. WELCOME INTRODUCTION WordPress is an Open Source software system used by millions of people around the world to create.
WordPress Plugin Development A Starter Guide For Beginners.
WordPress Architecture ► Core files – PHP ► MySQL database  Configured by the installation script ► wp-content directory  themes subdirectory: layout.
Seattle Drupal Clinic Introduction to Drupal Part 1: Web Content Management, Advantages/Disadvantages of Drupal, Drupal terminology.
WORDPRESS IS IT EASY FOR ME ?. WHY should I use WordPress ?
Content Administration 08/19/13 & 08/20/13.
Advanced Web 2012 Lecture 11 Sean Costain 2012.
#eduguruSummit WORDPRESS THEMES 101 SOME SIMPLE STARTER TIPS FOR WORDPRESS THEMES dotEduGuru Summit 2013.
…for beginners Class #2. Reminders Tues 7/21, 7/28, 8/4: 7-9:30pm at CMU 243 (UW) WiFi (UW) user: event0960, pass: aEBk_uYXf_uUMm class website (new slides!):
Website Update and Use of Official accounts Dr.Lasantha Ranwala ( MBBS,MSc-Biomedical Informatics) Medical Officer - Health Informatics RDHS Office.
Comparison B/W Word Press and Joomla By Joomdev Software Solution Pvt Ltd.
Workshop Partner:. Saad Amin Cofounder and CTO Inspire Chittagong Cofounder & Managing Director Codework Builders and Assets Ltd.
 A Javascript library designed to simplify client-side scripting of HTML.
Quincy School District Joomla Overview August 24, 2009.
How to Apply PDF in Flipbook on Website. Description If you are finding solution for applying PDF in flipbook mode on website, and adding multimedia items.
Where to access free blog website templates from?
Intro to WordPress (Using XAMPP)
WordPress Introduction
Build a WordPress Site A Real Life Example: Create a Fully Functional WP Business Web Site from Scratch Building a WP Site SoftUni Team Technical Trainers.
Web Fundamentals (HTML and CSS)
WordPress Plugins Popular WP Plugins: Sliders, Forms, Contacts, SEO, Forum, Photo Gallery, e-Commerce WordPress Plugins SoftUni Team Technical Trainers.
>> PHP: HTML Integration
WordPress Development
The Difference Between STATIC & DYNAMIC Websites
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.
Have you any queries about how to create a membership site with rainmaker platform? You can sell products or premium content without having knowledge.
Install WordPress Premium Theme & Customization. Every developer knows that WordPress is a free content management system, such as a easy blogging tool.
Build a WordPress theme from HTML5 template
Easy Website Creation Using WordPress
Title: Tech Training Certificate: Ace of Initiative Program
Objective Understand web-based digital media production methods, software, and hardware. Course Weight : 10%
Introduction to WordPress
WordPress Development
Wordpress test.cs.edinboro.edu.
Web Programming and Design
WordPress Development
Presentation transcript:

Build a WordPress theme from HTML5 template Mario Peshev Devrix Devrix OnTheGo OnTheGo

 ThemeForest author  Open Source trainer and consultant at DevriX and consultant at DevriX  Technical Marketing Specialist at OnTheGoSystems Specialist at OnTheGoSystems  Building custom themes, plugins, extending premium solutions based on the WP platform; WPTRT member  Java/PHP/Python background 2

3

 Super mega powerful!  (surprise, surprise)  (surprise, surprise)  Over websites online  Tens of thousands of themes and plugins (both free and premium)  Ready for eCommerce, Groupon, Q&A, forum, social network, ticketing system and more 4

Integrating HTML5 template into a WP theme

 We want to integrate our HTML sliced design into WordPress  The end results are:  Same look and feel (design)  Dynamic functionality  Working menus, areas, blocks, comments and other CMS-related elements 6

7

 A PSD is not:  A brochure  A calendar  A wallpaper / magazine cover / whatever  Site design should work with:  Different content (thousands of pages)  Different resolutions/browsers/operating systems/platforms 8

 Every CMS has it’s own specifics and expectations in terms of markup  It’s best to know the system in depth in order to draw the appropriate design and slice it properly 9

Let’s integrate!

 Some random free HTML5 template Some random free HTML5 template Some random free HTML5 template 11

 Make sure that:  Code is valid and understandable  Code is reusable  Template markup seems WP-compatible  Note: some super basic PHP knowledge is required 12

 Download the HTML template  Browse all required resources:  HTML  CSS  JS  Flash  Fonts 13

 Setup development environment – XAMPP, LAMP/WAMP/MAMP  Create a database for the new install  Install WordPress (hint: famous 5-min install or my video) famous 5-min install my videofamous 5-min install my video  Create a new folder in wp-content/themes 14

 Add the required files there:  style.css  index.php  These are the two mandatory files for a WordPress theme 15

 Add an appropriate heading to style.css: 16

 Migrate your template CSS to style.css  If there are more than 1 stylesheet files, there are 2 options:  Include them in header with normal tag  Use wp_enqueue_style in functions file wp_enqueue_style 17

 Add header.php, footer.php and sidebar.php  Separate the common parts of the site and move them to header, footer or sidebar pages  There are other template files as well 18

 Fix all static image paths in the style.css file  Organize images in images/ folder 20

 Add the style.css file to the header of the site:  Fill in the index.php code for all pages (everything left besides header/footer code 21

 Clear out all static page content from your markup (the demo texts – title and static content)  Use this snippet instead: 22

 Use predefined tags, such as:  the_title()  the_content()  the_permalink()  They work in a loop  A single post view is like an array with 1 element  Set working paths with get_template_directory_uri get_template_directory_uri 23

 Move index.php to home.php or front.php if you want a landing page  Replicate index.php, but:  Add sidebar section  Correct small dynamic details such as dates  Use date(‘Y’), date(‘M’), date(‘d’) for y/m/d 24

 Define sidebar 25

 Add sidebar to a page 26

 Define menu  Call it a few times or use register_nav_menus for several menus 27

 Add the menu to a block in the markup  theme_location is sufficient 28

 Call comment_form() or comments_template(…): 29

 Enjoy!  Enjoy! 30

 Once you’re ready with the theme, you could:  Add some complex plugins for more functionality  Integrate some APIs to social networks or remote services  Work on the next theme of yours 31

 Types and Views Types and Views Types and Views  WPML WPML  WooCommerce  BuddyPress  S2Member  Contact Form 7 / Gravity Forms  Free and Paid FreePaid FreePaid 32

 Check out Theme Reviewers Team guides:  Theme Review Theme Review Theme Review  Theme Unit Test Theme Unit Test Theme Unit Test  WPTRT page WPTRT page WPTRT page  Theme-Check plugin Theme-Check  Become a Pro and submit on ThemeForest and WPORG ThemeForest  Get popular and we’ll provide a free WPML author license for you. free WPML author licensefree WPML author license 33

Questions?