No description
Find a file
2017-04-18 09:40:11 -05:00
css Updates for part 2 2016-01-14 02:48:43 -06:00
js Updates for part 2 2016-01-14 02:48:43 -06:00
comments.php Updates for part 2 2016-01-14 02:48:43 -06:00
content-single.php Updates for part 2 2016-01-14 02:48:43 -06:00
content.php Updates for part 2 2016-01-14 02:48:43 -06:00
footer.php Updates for part 2 2016-01-14 02:48:43 -06:00
functions.php Fixed Facebook custom link. 2016-10-17 09:45:18 -05:00
header.php Updates for part 2 2016-01-14 02:48:43 -06:00
index.php Updates for part 2 2016-01-14 02:48:43 -06:00
LICENSE.md Update LICENSE.md 2017-01-04 09:22:51 -06:00
page-custom.php Fix indentation 2016-01-14 03:17:22 -06:00
page.php Updates for part 2 2016-01-14 02:48:43 -06:00
README.md Update README.md 2017-04-18 09:40:11 -05:00
sidebar.php Fixed Facebook custom link. 2016-10-17 09:45:18 -05:00
single.php Updates for part 2 2016-01-14 02:48:43 -06:00
style.css Updates for part 2 2016-01-14 02:48:43 -06:00

Start WordPress

A Theme for Learning WordPress

You know HTML, CSS, and JavaScript. You can make beautiful websites. Maybe youve heard about WordPress, but arent entirely sure how to implement it, or why you might need it. Maybe a client asked for WordPress, but youre not really familiar with it. Maybe youve worked with it before, but dont know how to make your own theme from scratch. Whatever the case, this article is for you.

Read the article on Developing a Wordpress Theme from Scratch, Part Two, and Part Three.

Prerequisites

All you need to start is a website. Any website will do. You dont need to know any PHP, or have any prior experience with WordPress. Your website can be custom, or built on Bootstrap/some other framework.

You do need to know how to set up a local server environment. Fortunately, if you dont know how, I wrote a short, sweet article about getting set up with one. It will only take a few minutes, so go ahead and do that first.

Goals

Topics covered

  • What can WordPress do for me?
  • Creating a design
  • Installing WordPress
  • Creating your custom theme
  • Make blog posts
  • Make pages
  • Include pagination
  • Include comments
  • Learn how to use functions
  • Create custom post types
  • Migrating WordPress

Layout pages

  • Header - header.php
  • Footer - footer.php
  • Content - content.php
  • Sidebar - sidebar.php
  • Single Post - single.php
  • Page - page.php
  • Index - index.html
  • Comments - comments.php
  • Functions - functions.php

The Loop

  • Posts
  • Pages
  • Custom Post Types
  • Comments

Functions

  • Learn how to use functions.php
  • Properly enqueue styles and scripts
  • Include featured images
  • Correctly insert WordPress title
  • Create custom global settings fields
  • Create custom post types

Summary

License

The code is open source and available under the MIT License.