Skip to content

Instantly share code, notes, and snippets.

@r-sal
Last active August 29, 2015 14:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save r-sal/11190924 to your computer and use it in GitHub Desktop.
Save r-sal/11190924 to your computer and use it in GitHub Desktop.

http://codex.wordpress.org/Theme_Features
http://codex.wordpress.org/Template_Tags

roots-dev / functions.php - if it is present in the theme you are using, it is automatically loaded during WordPress initialization (both for admin pages and external pages)

http://codex.wordpress.org/Function_Reference/bloginfo
bloginfo( $show );

// Displays your blog's title
<h1><?php bloginfo('name'); ?></h1>
// Displays the tagline of your blog as set in Settings > General.
<p><?php bloginfo('description'); ?> </p>

WordPress Dev Notes

print stylesheet
http://make.wordpress.org/core/handbook/coding-standards/css/
http://wordpress.org/themes/tag-filter/ - tags availalbe for style.css

Comprehensive list of resources related to Themes and Templates, how to customize them, and how to create them

General Theme Articles
Theme Development

Template File Articles
Template Hierarchy
The Loop

http://www.chipbennett.net/themes/template-hierarchy/

Administration Menus

Misc.
Running a Development Copy of WordPress

Developer Documentation

Function Reference - Complete PHP function reference for WordPress (version 2.1, with links to previous versions)
Global Variables- A list of all global variables created by WordPress
Post Types - Creating new types of posts other than the posts that display on the main loop.
Taxonomies - Creating new types of taxonomies other than the built-in ones.

API's

Articles

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment