From WordPress With Love


Published on

A brief introduction to WordPress - a free and open source blogging tool and a content management system (CMS) based on PHP and MySQL.

Published in: Technology
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide

From WordPress With Love

  1. 1. From with loveby Peter K.
  2. 2. Back in year 2003b2/cafelog2000 blogs Release Archive > Jazzers and Release Dates >
  3. 3. Philosophy• Out of the Box - little configuration and setup; Famous 5- minute install is more like 1-minute install.• Design for the Majority - The average user wants to be able to write without problems or interruption.• Decisions not Options - Users are considered being first. Avoid putting the weight of technical choices on end users.• Clean, Lean, and Mean - Its designed to be lean and fast. The rule of thumb - core should provide features that 80% or more of end users will appreciate and use.• Striving for Simplicity - Make it easier to use with every single release. Simplicity is always an open task.
  4. 4. Current Stats 100,000+ per day (2011) 100+ per min.
  5. 5. Notable WordPress Users
  6. 6. 20 million monthly unique visitors
  7. 7. .COM versus .ORG … is a free and open source web software… is a service … is a community• Ready-to-use, free registration • Do-it-yourself, free download• Maintenance, backups and high traffic • Maintenance, backups, high traffic and are covered by the team security issues are up to you• Security - SSL Dashboard • Free Themes (1,600+) and Plugins• Paid services – domain mapping, space (21,000+) upgrades, custom design, no ads, etc. • Full control, code modifications, etc.• Limitations - themes (225), plugins, code • Get Involved -• VIP program - • Develop -
  8. 8. Mobile AppsAvailable for: iOS, Android, BlackBerry, Windows Phone 7, Nokia, WebOS
  9. 9. In Your Language WordPress community has already translated WordPress into more than 70 languages… - Bulgarian - Dutch and so on… Easy switching from one language to another.
  10. 10. Take part
  11. 11. NOW()Highlights in WordPress 3.4• Enhanced theme control • Customize theme options before activating a new theme using Theme Customizer • Use Theme Previewer to customize current theme without changing the front-end design• Custom Headers • Improved Custom Headers with flexible sizes • Selecting Custom Header Images and Custom Background Images from Media Library Screen• Media improvements • Support HTML in image captions • Add as an oEmbed providers• Under the Hood improvements • Improvements in WordPress internationalization and localization • Different split in translation POT files for faster translations • Codex XML-RPC information update accessed via XML-RPC_WordPress_API • WP_Query improvements
  12. 12. In Pictures
  13. 13. Coming SoonWordPress 3.5 is the next major release, planned for 5th December 2012. Major versions are coming out bi-annually. WordPress 3.5 Beta 1 is already downloadable for testing purposes. Highlights: • Administration - Polished all-HiDPI (retina) dashboard • Media - complete overhaul. Uploading photos, arranging galleries, inserting images into posts, and more. • Improved keyboard navigation and screen reader support. • Link Manager - hidden on new installs, activation available via plugin • A new color picker and simplified welcome screen • Updated libraries - TinyMCE, SimplePie, jQuery, jQueryUI • Browse and install plugins marked as favorites on • New oEmbed providers - Soundcloud, Slideshare. Added support for SSL links.
  14. 14. Raw preview
  15. 15. New Default ThemeTwenty Twelve is ready for use. Comes with WordPress 3.5 • Uses the latest Theme Features • And, yes, a fully responsive design • Good baseline for making Child Themes
  16. 16. <?php echo ‘Under the hood’; ?>• Core• Themes and Child Themes• Template Hierarchy and Custom Templates• Plugins - functions.php, self-made plugins• Functions, Classes, APIs• Hooks - Actions and Filters
  17. 17. Core Want to hack/modify the WordPress core? Don’t!Because: 1. You create zero-day vulnerabilities 2. You’re hacking up what plugins were made to do 3. Your site is no longer future-proof” It is basically never really necessary. If you examine like half the core code, you’ll find that WordPress itself uses its own action and filter hooks extensively. In a sense, quite a lot of the WordPress core code is a plugin. --- Otto
  18. 18. ThemesThe minimum set of files that a WordPress theme needs is:• style.css• index.phpStylesheet header is needed, in order theme to bediscovered by WordPress: /* Theme Name: Twenty Ten Theme URI: Description: The 2010 default theme for WordPress. Author: wordpressdotorg Author URI: Version: 1.0 Tags: black, blue, white, two-columns, fixed-width, custom-header, custom- background, threaded-comments, sticky-post, translation- ready, microformats, rtl-language-support, editor-style, custom-menu (optional) License: License URI: General comments (optional). */
  19. 19. Child Themes… inherits the functionality of another theme, called theparent theme.… are the recommended way of making modifications toa theme.Stylesheet header is needed, in order theme to bediscovered by WordPress: /* Theme Name: Twenty Eleven Child Theme URI: Description: Child theme for Twenty Eleven theme. Author: Your name Author URI: Template: twentyeleven Version: 0.1.0 */ @import url("../twentyeleven/style.css"); #site-title a { color: #090; }
  20. 20. functions.php • resides in the theme directory • basically acts like a plugin • is automatically loaded during WordPress initialization (both for admin pages and external pages) • is suggested for managing theme features, defining custom functions, setting up theme options, etc.• If the logic has to be available for all themes, put it in a plugin instead…• In a child theme, functions.php is loaded prior to parent themes’ functions.php - a trouble-free method of modifying the functionality of a parent theme.• User functions of a parent theme should be pluggable - declared conditionally.
  21. 21. Template Hierarchy
  22. 22. Plugins…allow easy modification, customization, and enhancementto a WordPress website.Many WordPress Plugins accomplish their goals by connecting to one or more WordPressPlugin "hooks". The way Plugin hooks work is that at various times while WordPress isrunning, WordPress checks to see if any Plugins have registered functions to run at thattime, and if so, the functions are run. These functions modify the default behavior ofWordPress. Plugin header is needed, in order plugin to be discovered by WordPress: <?php /* Plugin Name: Name Of The Plugin Plugin URI: http://URI_Of_Page_Describing_Plugin_and_Updates Description: A brief description of the Plugin. Version: The Plugins Version Number, e.g.: 1.0 Author: Name Of The Plugin Author Author URI: http://URI_Of_The_Plugin_Author License: A "Slug" license name e.g. GPL2 */ ?>
  23. 23. Hooks …allow your plugin to hook into the rest of WordPress.1. Actions - hooks that the WordPress core launches at specific points during execution, or when specific events occur. Your plugin can specify that one or more of its PHP functions are executed at these points, using the Action API. (near 600 in WP 3.4)2. Filters - hooks that WordPress launches to modify text of various types before adding it to the database or sending it to the browser screen. Your plugin can specify that one or more of its PHP functions is executed to modify specific types of text at these times, using the Filter API. (more than 1000 in WP 3.4)
  24. 24. Sidebars and Widgets • Registered sidebars are dynamic and act like containers for a set of widgets. • Sidebars can have default content. • A theme can have many registered sidebars, placed in a different templates. • Sidebars can have own templates. • Widgets can have multiple instances • Widgets can have various options to display specific content on the front page.
  25. 25. Examples• BuddyPress• bbPress• WPML, WordPress Language• W3 Total Cache• WordPress SEO• WooCommerce• Posts 2 Posts• Front End Editor• Custom Post Type UI
  26. 26. BuddyPressStart your own self-hosted and WordPress-based social network!Key features:• Activity streams• User groups• Multisite blogging• Friend connections• User profiles• Discussion boards• Private messages• more on
  27. 27. bbPressA lightweight forum software focused on ease of integration anduse, web standards, and speed.Key features:• Fully integrated• Simple interface• Customizable• Highly extensible• and more…•
  28. 28. WPML The WordPress Multilingual PluginKey features:• Premium plugin (annual)• Multiple languages (40+)• Translation management• Text translations• Professional translations• Uses native WP functionality• Plugins that extend the core• Reliable support• more on
  29. 29. W3 Total Cache Web Performance Optimization for WordPressKey features:• Compatibility – shared hosting, VPS, dedicated server• CDN integration• Mobile support• Minification• Caching of browser, page, object, databa se• Trusted by the big guys
  30. 30. WordPress SEO Fully optimize your site using the WordPress SEOKey features:• Page Analysis• Technical Optimization• Meta & Link Elements• XML Sitemaps• RSS Optimization• Breadcrumbs• Social Integration• Import & Export•
  31. 31. WooCommerce Powerful and extendable eCommerce plugin that helps you sell anything. Beautifully.Key features:• Products & Inventory• Customers & Orders• Marketing & Promotion• Shipping & Tax• Payment Gateways• Reporting• Themes & Templates• Premium Extensions• etc.
  32. 32. Posts 2 PostsEfficient many-to-many connections betweenposts, pages, custom post types, users.
  33. 33. Front-end Editor Edit content inline, without going to the admin area.
  34. 34. Custom Post Type UIAdmin UI for creating custom post types and custom taxonomies.
  35. 35. Many WordPress sites?You can manage them from a central admin panel.
  36. 36. ?