Learning Wordpress - the internal guide

5,768 views

Published on

A guide we used to teach some internal team members WordPress.

Published in: Technology, Education
1 Comment
2 Likes
Statistics
Notes
  • http://wpresstic.com is a new site that has a great video tutorial series for learning WordPress. The offer a free forum along with a blog that covers WordPress topics. It's a good place for beginners to learn.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total views
5,768
On SlideShare
0
From Embeds
0
Number of Embeds
34
Actions
Shares
0
Downloads
67
Comments
1
Likes
2
Embeds 0
No embeds

No notes for slide

Learning Wordpress - the internal guide

  1. 1. WordPress for fun and profit<br />CBSS<br />The Gazette Company<br />
  2. 2. BreakdownA little less than you ever wanted to know<br />WordPress Overview<br />Post & Pages<br />Plugins<br />All-in-One SEO, EmbedIt, Gravity Forms<br />Widgets<br />Themes<br />PHP and WordPress<br />Hosting and Access<br />Questions<br />
  3. 3. WordPress Overview<br />http://en.wikipedia.org/wiki/WordPress<br />WordPress is a very popular blog publishing application and content management system. It was first released in May 2003 by its co-founders Matt Mullenweg and Mike Little as a (considered the official) successor to b2cafelog.<br />WordPress is a platform.<br /><ul><li>Posts
  4. 4. Pages
  5. 5. Categories
  6. 6. Tags
  7. 7. Users/Authors
  8. 8. More…</li></li></ul><li>WordPress Posts & Pages<br /><ul><li> Add New
  9. 9. Edit Current
  10. 10. Title
  11. 11. Body
  12. 12. Images
  13. 13. Categories
  14. 14. Tags
  15. 15. Post Options (Sticky & Future)
  16. 16. Quick Edit
  17. 17. Difference between each</li></li></ul><li>WordPress Plugins<br /><ul><li> View Installed
  18. 18. Add New
  19. 19. Upgrade
  20. 20. Activate/Deactivate
  21. 21. Settings
  22. 22. Common Plugins
  23. 23. EmbedIt
  24. 24. Gravity Forms
  25. 25. All-In-One SEO
  26. 26. WP-Spam Free</li></li></ul><li>WordPress Widgets<br /><ul><li> What are they
  27. 27. How to add content
  28. 28. Available/Inactive</li></li></ul><li>WordPress Themes<br /><ul><li> What are they
  29. 29. Why are they so cool
  30. 30. Anatomy of a WP Theme
  31. 31. How do I modify them</li></li></ul><li>WordPress Theme Breakdown<br /><ul><li>style.css– The main stylesheet. This must be included with your theme.
  32. 32. index.php– The main template. If your theme provides its own templates, index.php must be present.
  33. 33. comments.php– The comments template. If not present, wp-comments.php is used.
  34. 34. comments-popup.php– The popup comments template. If not present, wp-comments-popup.php is used.
  35. 35. single.php– The single post template. Used when a single post is queried. For this and all other query templates, index.php is used if the query template is not present.
  36. 36. page.php– The page template. Used when a page is queried.
  37. 37. category.php– The category template. Used when a category is queried.
  38. 38. author.php– The author template. Used when an author is queried.
  39. 39. date.php– The date/time template. Used when a date or time is queried. Year, month, day, hour, minute, second.
  40. 40. archive.php– The archive template. Used when a category, author, or date is queried. Note that this template will be overridden by category.php, author.php, and date.php for their respective query types.
  41. 41. search.php– The search template. Used when a search is performed.
  42. 42. 404.php– The 404 Not Found template. Used when WordPress cannot find a post that matches the query.</li></li></ul><li>WordPress Template Hierarchy<br />http://codex.wordpress.org/Template_Hierarchy<br />
  43. 43. WordPress Template Post & Pages<br />Home Page display<br /> 1. home.php<br /> 2. index.php <br />Single Post display<br /> 1. single.php<br /> 2. index.php <br />Page display<br /> WordPress Pages:<br /> 1. pagetemplate.php - Where pagetemplate.php is the Page Template assigned to the Page.<br /> 2. page.php<br /> 3. index.php <br />
  44. 44. WordPress Template Cats & Tags<br />Category display :: Category Templates:<br /> 1. category-id.php - If the category&apos;s ID were 6, WordPress would look for category-6.php<br /> 2. category.php<br /> 3. archive.php<br /> 4. index.php <br />Tag display :: Tag Templates:<br /> 1. tag-slug.php - If the tag&apos;s slug were “sometag”, WordPress would look for tag-sometag.php<br /> 2. tag.php<br /> 3. archive.php<br /> 4. index.php <br />
  45. 45. WordPress Template Author & Date<br />Author display :: Author Templates:<br /> 1. author.php<br /> 2. archive.php<br /> 3. index.php <br />Date display :: Archive (Date) Templates:<br /> 1. date.php<br /> 2. archive.php<br /> 3. index.php <br />
  46. 46. WordPress Template ‘the others’<br />Search Result display :: Creating a Search Page:<br /> 1. search.php<br /> 2. index.php <br />404 (Not Found) display :: Creating an Error 404 Page:<br /> 1. 404.php<br /> 2. index.php <br />Attachment display :: Attachment Templates:<br /> 1. image.php, video.php, audio.php, application.php or any other first part <br /> of the MIME type.<br /> 2. attachment.php<br /> 3. single.php<br /> 4. index.php <br />
  47. 47. WordPress Theme ‘Storeage’<br /><ul><li>wp-content</li></li></ul><li>WordPress & PHP<br /><ul><li> The code for WordPress is in PHP.
  48. 48. PHP looks a lot like c and Javascript.
  49. 49. PHP is a scripting language
  50. 50. PHP is procedural
  51. 51. PHP object-oriented “like”</li></li></ul><li>WordPress & PHP<br />&lt;?phpget_header() ?&gt;<br /> &lt;div id=&quot;container&quot;&gt;<br /> &lt;div id=&quot;content“&gt;<br /> &lt;?php while ( have_posts() ) : the_post() ?&gt;<br />&lt;div id=&quot;post-&lt;?phpthe_ID() ?&gt;”&gt;<br />&lt;h2 class=&quot;entry-title&quot;&gt;&lt;a href=&quot;&lt;?phpthe_permalink() ?&gt;” rel=&quot;bookmark&quot;&gt;&lt;?phpthe_title() ?&gt;&lt;/a&gt;&lt;/h2&gt;<br /> &lt;div class=&quot;entry-content&quot;&gt;<br />&lt;?phpthe_content() ?&gt;<br /> &lt;?phpwp_link_pages() ?&gt;<br />&lt;/div&gt;<br /> &lt;/div&gt;&lt;!-- .post --&gt;<br />&lt;?phpcomments_template() ?&gt;<br /> &lt;?phpendwhile; ?&gt;<br /> &lt;/div&gt;&lt;!-- #content --&gt;<br /> &lt;/div&gt;&lt;!-- #container --&gt;<br />&lt;?phpget_sidebar() ?&gt;<br />&lt;?phpget_footer() ?&gt;<br />
  52. 52. WordPress Hosting & Access<br /><ul><li>Hosting
  53. 53. All Gaz WordPress sites are hosted at Rackspace
  54. 54. Rackspace manages the day-to-day
  55. 55. Gaz manages the “software” part
  56. 56. MySQL database, hosted on the machine (as of now)
  57. 57. Access
  58. 58. WordPress Admin
  59. 59. FTP/UltraEdit via FTP</li></li></ul><li>WordPress Learning<br />WordPress resources<br /><ul><li> http://codex.wordpress.org/Main_Page
  60. 60. http://wordpress.org
  61. 61. http://wordpress.tv
  62. 62. http://boren.nu/archives/2004/10/16/templates-and-the-is-functions/</li></ul>HTML/CSS<br /><ul><li> http://www.webmonkey.com/
  63. 63. http://www.w3schools.com/ (very dry)
  64. 64. http://www.brainjar.com/css/positioning/
  65. 65. http://www.csszengarden.com/</li></ul>PHP<br /><ul><li> http://php.net/</li>

×