Workshop Partner:. Saad Amin Cofounder and CTO Inspire Chittagong Cofounder & Managing Director Codework Builders and Assets Ltd.

Slides:



Advertisements
Similar presentations
WordPress Themes.
Advertisements

@beckyddesign Beckydavisdesign.com Take Control of Your Site with WordPress.
WordPress from Start to Finish Day 1: Installing and Using WordPress Looking at the WordPress database.
Creating a WordPress Website Oklahoma Conference of The UMC Department of Communications 1.
Using WordPress as a Streamlined CMS More than just a blogging platform Case study of PMCoursefinder.ch.
USING WORDPRESS. WEEK 1 1.Why WP? 2.Setting Up WP 3.Exploring the Admin screen 4.Page Organization 5.Posting 6.Polls.
Accessible WordPress Theme Development AccessU 2011 Pat Ramsey slash25 code
The Documentum Team Lance Callaway, Brooke Durbin, Perry Koob, Lorie McMillin, Jennifer Song Missouri University of Science and Technology Rolla, Missouri.
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.
Themes MOAC Lesson 4.
Customizing your Theme Information Systems 337 Prof. Harry Plantinga.
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.
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
Direct Congress Dan Skorupski Dan Vingo. Inner workings Reminder: MVC design pattern Procedural view: From request to response o Request passed to a view.
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.
Wordpress Tutorial 22 – 24 April Table of Contents Introduction Designing blog Writing and Publishing blog Pages Posts Categories Tags Links Comments.
Bones – HTML5 Wordpress Theme Development
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.
Core Publisher: Station Administrator Tools. Training 1: Site Administration Training 2: Programs Training 3: Content Tagging Training 4: Creating Posts.
What Every WordPress User Should Know By: Anthony Montalbano & John Pratt (JTPratt Media)
WordPress Web. WordPress Blogging system with full content management Personal publishing system Built on PHP scripting language and MySQL relational.
Publications, design sets, web pages
#psuweb13 WORDPRESS THEMES 101 A WORDPRESS THEME INTRO WORKSHOP.
Advanced Web 2012 Lecture 12 Sean Costain Course Summary Sean Costain 2012 To develop skills in web design and authoring  Html 5 / CSS 3 / PHP.
WORDPRESS TECHNOLOGY BY AMEER. WELCOME INTRODUCTION WordPress is an Open Source software system used by millions of people around the world to create.
INTRODUCTION TO WORDPRESS. About WordPress The free service that we will use from WordPress is often used as blogging software – very little knowledge.
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.
USING WORDPRESS TO CREATE A WEBSITE (RATHER THAN A BLOG) STEP-BY-STEP INSTRUCTIONS.
Dwayne Forrester Next  A blog is a discussion or informational site published on the World Wide Web and consisting of discrete entries ("posts") typically.
Core Publisher: Station Administrator Tools. Training 1: Site Administration Training 2: Programs Training 3: Content Tagging Training 4: Creating Posts.
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.
Drupal Theming Chris Neglia and Lisa Forgan Copyright 2009, Page 1 Solutions.
E-Portfolio Review MDDE 610 Winter 2015 Group 1. MAHARA OPTIONS ●Open Source Electronic Portolio ●Resume creator ●Weblog ●Social networking system.
Migrating Sites to Wordpress GRC OCIO Wordpress Workshop 11/17/2014.
Advanced Web 2012 Lecture 11 Sean Costain 2012.
3/30/15.  Who is Tim Berners-Lee? 1. Assessing needs 2. Determining content structure 3. Determining site structure 4. Determining navigation structure.
#eduguruSummit WORDPRESS THEMES 101 SOME SIMPLE STARTER TIPS FOR WORDPRESS THEMES dotEduGuru Summit 2013.
+ Publishing Your First Post USING WORDPRESS. + A CMS (content management system) is an application that allows you to publish, edit, modify, organize,
Website Update and Use of Official accounts Dr.Lasantha Ranwala ( MBBS,MSc-Biomedical Informatics) Medical Officer - Health Informatics RDHS Office.
+ Responsive Technology Performance, efficiency and elegance are the three key elements that make our platform unique. Each of the features in this presentation.
Introduction To Simple WordPress Plugin Development
Intro to WordPress (Using XAMPP)
Wordpress themeS The right way!.
PHP 3.
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.
Ultimate Guide to WordPress Plugin Development
PHP Training at GoLogica in Bangalore
Customizing your Theme
WordPress Development
WordPress Ultimate PDF Generator
Build a WordPress theme from HTML5 template
Easy Website Creation Using WordPress
Customizing Editable Regions and Building Templates
So you were told to make a website
WordPress Development
Wordpress test.cs.edinboro.edu.
Business Prototype Look and Feel
WordPress Development
Presentation transcript:

Workshop Partner:

Saad Amin Cofounder and CTO Inspire Chittagong Cofounder & Managing Director Codework Builders and Assets Ltd

Mizanur Rahaman Mizan Cofounder and COO Inspire Chittagong Founder BD Pathshala

Frameworks, Parents and Child Themes

Parent Theme A base theme that sets up functionality Can be extended Must be written to allow overrides Child Theme Extends a parent theme Can carry over or override elements from parent Cannot be extended without plugins Framework Not a full theme; more of a plugin for a theme Allows creation of parent and child themes with shared functionality Resource:Resource: justintadlock.com/archives/2010/08/16/frameworks-parent-child-and-grandchild- themeshttp:// justintadlock.com/archives/2010/08/16/frameworks-parent-child-and-grandchild- themes

 Hybrid Core is a framework No theme structure Full package goes inside parent theme  Genesis “Framework” is a parent theme Has a theme structure Can be used on its own Does not go inside of another theme  TwentyTwelve is a parent theme Although it has less of a framework built in, same concept as Genesis  “Education” is a child theme Cannot be used without Genesis (parent theme) installed

Basic Elements Of All Themes

 CSS Stylesheet (style.css)* Implements the CSS for the theme Not included by default  enqueue it in functions.php or  use ”/> in Provides base information about the theme  Theme name, URI, version, license, etc. ( tylesheet)  Index (index.php) Implements the structure of the theme Can be split out into multiple files Acts as fallback for all pages**  * - style.css is the only file required in a child theme; all others fallback to parent theme  ** - the Template Hierarchy governs which files are used for each page; index is the final fallback

Theme Functions (functions.php) Central location for function, variable, constant defintions used in theme Included automatically by theme engine before after_setup_theme action Default Sidebar (sidebar.php) Outputs default sidebar (get_sidebar()) Default WordPress Loop (loop.php) Not included automatically by theme Used to separate “the loop”*** from other structure Comments Template (comments.php) List of comments and comment form; use comments_template() to include Search (search.php) Search results template; automatically used on search results page

Automatic Template Files (page.php, 404.php, single.php) Used automatically based on type of page being shown; Overrides index.php (see the Template Hierarchy) Miscellaneous Files (sidebar-[slug].php, etc.) Include with the get_template_part( ‘sidebar’, ‘[slug]’ ) function Sidebar, header and footer files can be included with: get_sidebar( ‘[slug]’ ) get_header( ‘[slug]’ ) get_footer( ‘[slug]’ ) Header and Footer (header.php, footer.php) Not included automatically Call with get_header() & get_footer()

How WordPress Decides What File To Use

 WordPress automatically searches for appropriate theme template file Detailed One:

The main content area of your theme

The Loop outputs the main content area Loops through all matching content objects if ( have_posts() ) : while ( have_posts() ) : the_post(); // Output all of your content endwhile; endif; have_posts() and the_post() Global methods of main query object ($wp_query) have_posts() generates array of “post” objects the_post() sets global variables related to current post object

Inside the loop, various functions are available the_title() – echoes the title of the current post the_content() – echoes the body of the current post the_post_thumbnail() – echoes the “featured image” for current post

 If you need to use the same query loop more than once: Use rewind_posts() to reset the loop to be used again  You can start your own loop with a custom query:  $args = array( post_type' => array( 'portfolio' ),'order' => 'DESC','posts_per_page' => - 1,'showposts' => 13, 'ignore_sticky_posts' => 1); $wp_query = new WP_Query( $args ); if ( $wp_query->have_posts() ) { while ( $wp_query->have_posts() ) { $wp_query->the_post(); }  Don’t alter the global $wp_query or use query_posts() unless you know what you’re doing

Using Conditional Functions In Your Theme

 Identify where you are: is_home() – on the default home page (or the “posts” page if set in Settings) is_front_page() – on the static front page (set in Settings) is_admin() / is_network_admin() – anywhere in the admin area (not on the login page) If (is_admin() ){ if ( current_user_can( 'manage_options' ) ) { /* A user with admin privileges */ } else { /* A user without admin privileges */ } } is_single() / is_page() / is_attachment() / is_singular( $post_type ) –single content entry is_post_type_archive() – a list of content entries from a specific content type is_category() / is_tag() / is_tax() – a list of content entries with a specific taxonomy is_404() – a non-existent page is_search() – showing the list of search results is_feed() – is a structured feed (RSS, Atom, etc.)

 Not just where you are, but what features are available: has_post_thumbnail() – whether or not the “featured image” is set has_excerpt() – whether a manual excerpt is set for the content is_active_sidebar() – whether a widgetized area (“sidebar”) has any widgets has_nav_menu() – whether a custom menu location has a menu assigned is_multisite() – whether the site is part of a multisite network is_plugin_active() – whether a specific plugin is active on the site wp_script_is() & wp_style_is() – whether a script/stylesheet has been registered, enqueued, printed, etc.

Using This Knowledge To Build a Theme

 Choose what to build  Full theme  Child theme – only requires style.css; all others are optional  Theme based on framework – requirements differ based on framework  Fulfill requirements  style.css  wp_head()  wp_footer()   Install and test it  Don’t be afraid to split things out; use get_template_part() to include additional theme pieces

Turning a Design Into a WordPress Theme

 Identify goals  Wireframe and design  Layout priorities  Final template design  Initial HTML layout

 Identify layout elements  Identify content elements  Identify visual decoration  Determine common elements  Identify alternative layouts

Begin developing basic layout Separate layout elements from content elements Replace content elements with placeholders Create layout structure and style Develop content containers (body, widgets, footer, header, etc.) Develop custom functionality

 (Saad)  Website(s): (Inspire Chittagong) Amin) (Mizanur Rahaman Mizan)  