Build a WordPress theme from HTML5 template

Slides:



Advertisements
Similar presentations
WordPress Themes.
Advertisements

This presentation can be downloaded at Presented by the Office of Public Affairs Using the Cal State L.A. Web.
Seattle Drupal Clinic Introduction to Drupal and Web Content Management.
Content Management, Working with WordPress Pavel Ivanov Telerik Corporation
Content Management, Working with WordPress Svetlin Nakov Telerik Corporation
Νοέμβριος 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.
Kick start your career with WordPress
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.
Final Presentation WordPress 3.0+ Leonard Bogdonoff 12/6/11 T. DEDONNO CIM225.
Content Management, Working with WordPress Svetlin Nakov Telerik Corporation
5 Days Open Source Workshop Zencart – Wordpress – Joomla Welcome Day 3.
Get closer to the most advanced CMS Mihail Semedzhiev Joomla!
Presented by Mina Haratiannezhadi 1.  publishing, editing and modifying content  maintenance  central interface  manage workflows 2.
Sample School Website Sydney Region ITSU School Support
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.
Jiří Balej, Martin Podborský, Petra Čačková.  Tools, which enables to produce content without source code knowledge  Text document ◦ MS Word/OO Writer.
What is Wordpress?  WordPress has a web template processor. Users can re-arrange widgets without editing PHP of HTML code; they can also install and.
Creating library website using Joomla (Open Source-Content Management System): A case study on IIM Ahmedabad library website by Jignesh Amin Professional.
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.
Web Content Management Systems. Lecture Contents Web Content Management Systems Non-technical users manage content Workflow management system Different.
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.
BZUPAGES.COM Presentation on Content Management System (CMS) Presented to. Sir Ahmad Kareem.
What is Drupal? Open Source software written in php. A CMS or content-management system. A sophisticated web application building tool.
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.
Introduction to web development and HTML MGMT 230 LAB.
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.
Sample School Website. What is wrong with the existing School Webspace Site? Can only host static pages – no dynamic content possible. Can not be edited.
Www2.computer.org Web Publishing Training Leo Wadsworth, Staff Manager April 2008.
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.
Greg Vogl Research and Development Services University Libraries Wednesday, November 11,
+ Publishing Your First Post USING WORDPRESS. + A CMS (content management system) is an application that allows you to publish, edit, modify, organize,
Intro to APACHE, MySQL, and PHP & freely available (hackable) Packages Aonghus Sugrue 04 Oct 2012.
…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.
Workshop Partner:. Saad Amin Cofounder and CTO Inspire Chittagong Cofounder & Managing Director Codework Builders and Assets Ltd.
How to use Drupal Awdhesh Kumar (Team Leader) Presentation Topic.
The main menu options and their usage are: Dashboard This will display your main Dashboard ‘homepage’. In the top left of your Dashboard you’ll see some.
Create your own Website
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.
Contributing to the WCARC Website
WordPress Plugins Popular WP Plugins: Sliders, Forms, Contacts, SEO, Forum, Photo Gallery, e-Commerce WordPress Plugins SoftUni Team Technical Trainers.
Content Management Systems
PHP Training at GoLogica in Bangalore
WordPress Development
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%
SiteBuilder 2 Introduction.
So you were told to make a website
WordPress Development
Wordpress test.cs.edinboro.edu.
Convergence IT Services Pvt. Ltd
Is a Content Management System in Your Future?
WordPress Development
Presentation transcript:

Build a WordPress theme from HTML5 template Nikolay Chochev HOP Media

Web CMS Systems Web Content Management Systems (CMS) Software system providing Web site authoring, collaboration and administration tools Users with little or no knowledge of HTML can create and manage Web sites content CMS typical functions: Create / maintain Web sites Add / edit / delete pages, documents, news, images, files, forms, polls, events, blogs, … Manage navigation, users, permissions, SEO, … 2

Benefits of CMS Systems WYSIWYG editor No need for advanced HTML or CSS skills No need for Dreamweaver / FrontPage / etc. or Wiki syntax to learn Can paste content from a word processor Web-based access Edit content from any computer Staff can change content immediately No waiting for Web admin to upload the content Support for many types of documents and files 3

Examples of CMS Systems Open Source CMS Systems Joomla Drupal WordPress DotNetNuke Commercial CMS Systems SharePoint (MOSS) Telerik Sitefinity Statistics: http://trends.builtwith.com/cms 4

Web Content Management Systems (CMS Systems) Live Demo

Working with WordPress

What is WordPress? WordPress is one of the world's leading blog and Web CMS systems Open-source (free) software Written with PHP and MySQL database Stores all Web site contents in the database and images / files in the file system Very powerful, easy-to-use, SEO friendly Very large community – themes, plugins, … Official Web site: www.wordpress.org 7

Installing and Running WordPress Installing WordPress In the cloud (use WordPress as service) Just create and account at www.wordpress.com At your Web hosting provider Download it (e.g. wordpress-3.8.zip) Unzip it in some public directory at the server Create the database and run the install script Self-hosted Install XAMP + WordPress at your local machine XAMP = Windows + Apache + MySQL + PHP 8

WordPress Dashboard The WordPress Dashboard is: User-friendly UI The administrative interface of WordPress Create / edit / delete pages, posts, categories, tags, comments, documents, images, files, … Manage users, themes, widgets, plugins, settings, … User-friendly UI WYSIWYG editor Media library 9

Using WordPress Themes

WordPress Themes WordPress supports themes Themes define the structure, layout (the UI) Can support or not widgets and menus Can be single column / multi-column Can be free or paid The best themes are usually free Users can switch between the installed themes Official WordPress themes directory: http://wordpress.org/extend/themes/ 11

Custom WordPress Themes Typical WordPress themes consist of Main index template – index.php Page template – page.php Header – header.php Footer – footer.php Sidebar – sidebar.php Comments template – comments.php Styles – styles.css Theme functions – functions.php 12

WordPress Super mega powerful! Over 90 000 000 websites online (surprise, surprise)  Over 90 000 000 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 13

Integrating HTML5 template into a WP theme

Start 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 15

Super important A PSD is not: Site design should work with: 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 16

CMS integration 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 17

WordPress Let’s integrate!

Our target Some random free HTML5 template 19

Step 0 Make sure that: Code is valid and understandable Code is reusable Template markup seems WP-compatible Note: some super basic PHP knowledge is required 20

Step 1 Download the HTML template Browse all required resources: HTML CSS JS Fonts 21

Step 2 Setup development environment – XAMPP, LAMP/WAMP/MAMP Create a database for the new install Install WordPress Create a new folder in wp- content/themes 22

Step 3 Add the required files there: style.css index.php These are the two mandatory files for a WordPress theme 23

Step 4 Add an appropriate heading to style.css: 24

Step 5 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 <style> tag Use wp_enqueue_style in functions file 25

Step 6 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 26

Step 7 Fix all static image paths in the style.css file Organize images in images/ folder 28

Step 8 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 29

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

Step 10 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 31

Step 11 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 32

Step 12 Define sidebar 33

Step 13 Add sidebar to a page 34

Step 14 Define menu Call it a few times or use register_nav_menus for several menus 35

Step 15 Add the menu to a block in the markup theme_location is sufficient 36

Step 16 Call comment_form() or comments_template(…): 37

Step 17 Enjoy!  38

What’s next? 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 39

Recommended Plugins Types and Views WPML WooCommerce BuddyPress S2Member Contact Form 7 / Gravity Forms Free and Paid 40

Want to be a WP ninja? Check out Theme Reviewers Team guides: Theme Unit Test WPTRT page Theme-Check plugin Become a Pro and submit on ThemeForest and WPORG 41

? ? ? ? ? Questions? ? ? ? ? ? ? http://chochev.eu