• 1.Intro To WordPress Development
    Kenny Younger (@kenny)
    &
    Andy Brudtkuhl (@abrudtkuhl)
  • 2. What does WordPress look like to the users?
    Let’s take a look!
  • 3. Database
  • 4. Database Schema
    Source: SchemaBank.com
  • 5. File Structure
  • 6. /
    wp-admin/
    wp-content/
    plugins/
    Each plugin usually has its own directory
    themes/
    Each theme has its own directory
    uploads/
    Created on first upload (default location)
    wp-includes/
    wp-config.php
  • 7. wp-config.php
    define('WP_ALLOW_MULTISITE', true);
  • 8. Debugging made easy
    Debugging flags added to wp-config.php:
    define( 'WP_DEBUG', true );
    define( 'SCRIPT_DEBUG', true );
    define( 'SAVEQUERIES', true );
    $wpdb->queries
    “All” hook:
    add_action( 'all', create_function( '', 'var_dump( current_filter() );' ) );
    Core Control Plugin:
    http://wordpress.org/extend/plugins/core-control/
    Dump Environment Plugin:
    http://wordpress.org/extend/plugins/dump_env/
    Source: http://www.andrewnacin.com/2010/04/23/5-ways-to-debug-wordpress/
  • 9. WordPress Themes
    What are themes? A way to skin WordPress
  • 10. What’s In A WordPress Theme?
    WordPress themes are a combination of PHP, CSS, and image files
    Requirements:
    HTML
    CSS
    Some PHP
  • 11. Anatomy Of A WordPress Theme
  • 12. Theme Structure
    Index.php
    includes header.php
    Includes sidebar.php
    Includes footer.php
  • 13. Standard Theme Architecture
    Homepage
    index.php
    home.php
    Single Post
    single.php
    Page
    page.php
    Category
    category.php
    archive.php
    • Tags
  • 14. tag.php
  • 15. Search Results
  • 16. search.php
  • 17. 404
  • 18. 404.php
    Please download to view
  • All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
    ...

    Getting Started With WordPress Development

    by andy-brudtkuhl

    on

    Report

    Category:

    Technology

    Download: 0

    Comment: 0

    7,738

    views

    Comments

    Description

    A presentation from Iowa Code Camp 2010 by Kenny Younger (@kenny) and Andy Brudtkuhl (@abrudtkuhl)
    Download Getting Started With WordPress Development

    Transcript

    • 1.Intro To WordPress Development
      Kenny Younger (@kenny)
      &
      Andy Brudtkuhl (@abrudtkuhl)
  • 2. What does WordPress look like to the users?
    Let’s take a look!
  • 3. Database
  • 4. Database Schema
    Source: SchemaBank.com
  • 5. File Structure
  • 6. /
    wp-admin/
    wp-content/
    plugins/
    Each plugin usually has its own directory
    themes/
    Each theme has its own directory
    uploads/
    Created on first upload (default location)
    wp-includes/
    wp-config.php
  • 7. wp-config.php
    define('WP_ALLOW_MULTISITE', true);
  • 8. Debugging made easy
    Debugging flags added to wp-config.php:
    define( 'WP_DEBUG', true );
    define( 'SCRIPT_DEBUG', true );
    define( 'SAVEQUERIES', true );
    $wpdb->queries
    “All” hook:
    add_action( 'all', create_function( '', 'var_dump( current_filter() );' ) );
    Core Control Plugin:
    http://wordpress.org/extend/plugins/core-control/
    Dump Environment Plugin:
    http://wordpress.org/extend/plugins/dump_env/
    Source: http://www.andrewnacin.com/2010/04/23/5-ways-to-debug-wordpress/
  • 9. WordPress Themes
    What are themes? A way to skin WordPress
  • 10. What’s In A WordPress Theme?
    WordPress themes are a combination of PHP, CSS, and image files
    Requirements:
    HTML
    CSS
    Some PHP
  • 11. Anatomy Of A WordPress Theme
  • 12. Theme Structure
    Index.php
    includes header.php
    Includes sidebar.php
    Includes footer.php
  • 13. Standard Theme Architecture
    Homepage
    index.php
    home.php
    Single Post
    single.php
    Page
    page.php
    Category
    category.php
    archive.php
    • Tags
  • 14. tag.php
  • 15. Search Results
  • 16. search.php
  • 17. 404
  • 18. 404.php
  • Fly UP