Introducing
Your new presentation assistant.
Refine, enhance, and tailor your content, source relevant images, and edit visuals quicker than ever before.
Trending searches
style.css
index.php
page templates ...
"Wordpress Themes are files that work together to create the design and functionality of a WordPress site."
- codex.wordpress.org
Start a theme
Override css
Using Blank theme from DigWP
You have almost files your need!
.woocommerce div.product form.cart .button:hover{
background-color:#5cbf2a;
}
It's the simple theme using WooCommerce!
We will learn HOW TO :
- How to start a theme from scratch
- Modify template layout
- Override Woocommerce CSS
- How to start a theme from scratch
- Modify template layout
- Override Woocommerce CSS
let do what you want !
which template ?
copy to theme to override
your-site
wp-content
themes
twentyeleven
Essential Files!
Doctype info
<head>
Site title
Site description
header.php
wp_head() hook
Main navigation
more widget areas
copyright info
wp_footer()
footer.php
web designer links
additional theme functionality
functions.php
Template Hierachy
Basic Template File
Template Files
header
content
CSS
Javascript
<html>
<?php if( have_post() ) ?>
</html>
What we have to do ?
to create a Theme
footer.php
<h1> Footer </h1>
footer
header.php
<h1> Header </h1>
<?php get_header(); ?>
<?php get_footer(); ?>
template.php
widget areas
sidebar.php