SitePoint
  • Premium
  • Library
  • Community
  • Jobs
  • Blog
LoginStart Free Trial
The Web Developer's Guide to WordPress
The Web Developer's Guide to WordPress
Introduction
Who is this book for?
What will I learn from this book?
How to contact the author?

1

Getting Started

Setting up the development environment
Initial recommendations
The anatomy of WordPress
The template hierarchy
The anatomy of a theme
Creating and activating your first WordPress theme
The three basic blocks of a WordPress theme
Enqueuing stylesheets and javascript files the right way
Including menus
The WordPress Loop
Page templates
Adding theme support
Chapter summary
Permalinks
Custom Loops
Styling inner pages
Enabling pagination in WordPress themes
Organizing theme files using template parts
Widget areas or sidebars
CSS file updates
Chapter Summary
How the Theme Customizer is organized
Displaying values on the frontend
Changing the way the slider works using the API
Chapter summary
Installing and configuring WooCommerce
Declaring WooCommerce Support
Modifying WooCommerce template files
Modifying other template files
Adding links to the cart
Adding links to the user account page
Modifying the shop widget area
Adding product lists on the theme's home page
Finishing touches
Wrapping up
Translation workflow in WordPress themes
Preparing the theme for translation
Creating the POT file
Translating a WordPress theme
Final Tips
Validation, Sanitization, and Escaping
Making the theme safe
Recommendations
Why WordPress.org?
Testing overview
Using the main testing tools
The Theme Unit Test
Widgets
Theme Packaging
Creating a demo version of the theme
Finishing packaging up the theme
Submitting the theme for review
Making money from a theme published on WordPress.org
Frequent issues
GUID, to change or not to change?
I'm getting errors such as "Fatal error: Allowed memory size of 134217728 bytes exhausted". How can I fix it?
Why is my template.css not loading?
I can't see the CSS changes I make
My menu won't appear, or it appears in the wrong order
But why do I still see a menu on the screen anyway?
Moving your htdocs folder somewhere else
Changing the webserver default user
About the author
References
Sites:
Footnotes:

WordPress Theme Structure - Getting Started (part 2)

Unlock This Title

You do not have access to this section. Get the full version of this title with a SitePoint Premium Account.

Start Free TrialRead Free Preview

Already a Premium member? Sign In

Community Questions