WordPress Bootcamp Part 3 - Themes
Upcoming SlideShare
Loading in...5
×
 

WordPress Bootcamp Part 3 - Themes

on

  • 891 views

The third session for Metronet's WordPress Bootcamp.

The third session for Metronet's WordPress Bootcamp.

Statistics

Views

Total Views
891
Slideshare-icon Views on SlideShare
891
Embed Views
0

Actions

Likes
0
Downloads
17
Comments
0

0 Embeds 0

No embeds

Accessibility

Upload Details

Uploaded via as Apple Keynote

Usage Rights

CC Attribution License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n

WordPress Bootcamp Part 3 - Themes WordPress Bootcamp Part 3 - Themes Presentation Transcript

  • ThemesPART 3 Themes
  • Themeswhat’s a theme?
  • Themes A Theme modifies the way the siteis displayed, without modifying the underlying software.
  • Themes Live in subdirectories residing in wp-content/themes/The Themes subdirectory holds all of the Themes stylesheetfiles, template files, and optional functions file (functions.php), JavaScript files, and images. For example, a Theme named "test" would reside in the directory wp-content/themes/test/
  • ThemesWordPress includes a default theme in each new installation.
  • Themes
  • Themesanatomy of atheme JOOST DE VALK
  • Themesanatomy of atheme JOOST DE VALK
  • Themesanatomy of atheme JOOST DE VALK
  • Themesanatomy of atheme JOOST DE VALK
  • Themesanatomy of atheme JOOST DE VALK
  • Themesanatomy of atheme JOOST DE VALK
  • ThemesTHREE TYPES1 2 3stylesheet functions template files
  • ThemesStyle.css
  • Themes
  • Themes
  • ThemesFunctions.php
  • ThemesBehaves like a plugin.Enable Theme Featureslike Sidebars, NavigationMenus, Post Thumbnails,Post Formats, CustomHeaders, Custom functions.phpBackgrounds, etc.Define functions specificto your theme.Setup an options menuallowing users todynamically change somesettings for your site.
  • Themestemplate files
  • Themesstyle.cssThe main stylesheet. This must be included with your Theme,and it must contain the information header for your Theme.
  • Themesindex.phpThe main template. If your Theme provides its own templates,index.php must be present.
  • Themescomments.phpThe comments template.
  • Themesfront-page.phpThe front page template, it is only used if you use a static frontpage.
  • Themeshome.phpThe home page template, which is the front page by default. Ifyou use a static front page this is the template for the pagewith the latest posts.
  • Themeshome.phpThe home page template, which is the front page by default. Ifyou use a static front page this is the template for the pagewith the latest posts.
  • Themesindex.phpThe single post template. Used when a single post is queried.For this and all other query templates, index.php is used if thequery template is not present.
  • Themessingle-<post-type>.phpThe single post template used when a single post from acustom post type is queried. For example, single-books.phpwould be used for displaying single posts from the custompost type books. index.php is used if the query template forthe custom post type is not present.
  • Themespage.phpThe page template. Used when an individual Page is queried.
  • Themescategory.phpThe category template. Used when a category is queried.
  • Themestag.phpThe tag template. Used when a tag is queried.
  • Themestaxonomy.phpThe term template. Used when a term in a custom taxonomyis queried.
  • Themesauthor.phpThe author template. Used when an author is queried.
  • Themesdate.phpThe date/time template. Used when a date or time is queried.Year, month, day, hour, minute, second.
  • Themesarchive.phpThe archive template. Used when a category, author, or dateis queried. Note that this template will be overridden bycategory.php, author.php, and date.php for their respectivequery types.
  • Themessearch.phpThe search results template. Used when a search isperformed.
  • Themesattachment.phpAttachment template. Used when viewing a singleattachment.
  • Themesimage.phpImage attachment template. Used when viewing a singleimage attachment. If not present, attachment.php will beused.
  • Themes404.phpThe 404 Not Found template. Used when WordPress cannotfind a post or page that matches the query.
  • Themes
  • Themes
  • Themesconditional tags
  • ThemesLet’s say you wanted to display asnippet of text above the series ofposts, but only on the main pageof your blog. With the is_home()Conditional Tag, that task is made easy.
  • ThemesWarning: You can only use conditional query tags after the init action hook in WordPress.For themes, this means the conditional tag will never work properly if you are using it in the body of functions.php, i.e. outside of a function.
  • Themes
  • Themes
  • Themes
  • Themes
  • Themes
  • Themes
  • Themes
  • Themes
  • Themes
  • Themes
  • Themes
  • Themes
  • Themes
  • Themes
  • Themes
  • Themes
  • Themesget_header() page.php Loop Start Loop End get_footer()
  • Themes
  • Themes custom pagetemplates
  • Themes
  • Themes
  • Themes
  • Themeswidgets &sidebars
  • Themeswidgets & sidebars
  • Themeswidgets & sidebars
  • Themeswidgets & sidebars
  • Themesmenus
  • Themes
  • Themes
  • Themespost thumbnails
  • Themes
  • Themes
  • ANY ?’s