http://wordpress.org/about/logos/
WordPress does one thing really
well…
WordPress does one thing really
well…
… allows everyone to easily publish on
the web
Blog or website
• Name & domain
• Webhost
• Type of blog/website
• Just do it!
Install WordPress
• Domain + hosting (MySQL & php)
Install WordPress
• Domain + hosting (MySQL & php)
• Download WordPress, unzip
http://wordpress.org/download/
Install WordPress
• Domain + hosting (MySQL & php)
• Download WordPress, unzip
• Upload WordPress-files via ftp
Upload WordPress-files via ftp
CuteFTP
Cyberduck
Filezilla
Create a folder with random name!
/wordpress
Install WordPress
• Domain + hosting (MySQL & php)
• Download WordPress, unzip
• Upload WordPress-files via ftp
• Rename c...
Configure
Rename configsample.php ->
config.php
Check your website
Check your website
Install WordPress
• Domain + hosting (MySQL & php)
• Download WordPress, unzip
• Upload WordPress-files via ftp
• Rename c...
Update config.php
https://api.wordpress.org/secret-key/1.1/salt/
define('AUTH_KEY', '%Gqe.y%nXvDG^ZlQnQ>D$_?*MOuR-Lsi_[R6[R0@-T`l&c8*^7j7bwZ...
Install WordPress
• Domain + hosting (MySQL & php)
• ftp – FileZilla or Cyberduck
• Download WordPress, unzip
• Upload Wor...
Run ../wp-admin/install.php
Log in
Check your website
Settings
Categories
Link Categories
Add New User
Users
Settings
More Settings - Writing
More Settings
Post from
flickr 
Settings - Avatars
Save Changes
Media Settings
Permalink Settings
Apperance
Install Themes
Choose Theme
Preview
Install, Activate, View
Plugins
Akismet
• If your site is for a business, or if it
promotes a product or service, you
should pick from one of the paid
acc...
Akismet
• If your site is for a business, or if it
promotes a product or service, you
should pick from one of the paid
acc...
Akismet
• If your site is for a business, or if it
promotes a product or service, you
should pick from one of the paid
acc...
WordPress Themes
• Themes
• Themes with options
• Theme Frameworks
• Child Themes
Theme Options
Check your site
Child Themes
/*
Theme Name: Twenty Ten
Child Theme URI: http: //example.com/
Description: Child theme for the
Twenty Ten t...
View your website
Page Structure
header.php
index.php sidebar.php
footer.php
Page Structure
Logo + Title
Text & images from page
Excerpts from category 1
Excerpts from category 2
News
Photos
Twitter ...
Theme Files
• style.css
• index.php
• header.php
• footer.php
• sidebar.php
• functions.php
Theme Files
• front-page.php
• home.php
• single.php
• page.php
• category.php
• category-2.php
• archive.php
• archives.p...
The Loop
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<h2><a href="<?php the_permalink(); ?>" ...
Disable Comments
White writing or editing a post:
Disable Comments
Using Quick Edit:
Disable Comments
Disable Comments
<?php else : // or, if we don't have comments:
/* If there are no comments and comments are closed,
* let...
Out-comment Code
Out-comment Code
<!--
<p class="postmetadata alt">
<?php if (function_exists('the_tags')) the_tags('Tags: ',
', ', '<br />...
New Page Template
<?php
/*
Template Name: Copenhagen
*/
?>
New Page Template
Share on Facebook
<a href="http://www.facebook.com/sharer.php?u=<?php
the_permalink();?>&t=<?php the_title(); ?>" title="S...
Tweet This
<a
href="http://twitter.com/home?s
tatus=Currently reading <?php
the_permalink(); ?>"
title="Share on Twitter"
...
Plugins
• Reveal Ids for WP Admin
• Theme Tester
• Maintenance Mode
• NextGEN Gallery
Menus
Menu Items
Save Menu
functions.php
Makes WordPress do special stuff!
functions.php
User contact info:
function
extra_contact_info($contactmethods) {
unset($contactmethods['aim']);
unset($cont...
Widgets
The Kitchen Sink
The Kitchen Sink
The Kitchen Sink
Change Site Address
Change the site address in WordPress Settings
Change Site Address
Move index.php from your WordPress folder to root
Update index.php
require('./wp-blog-header.php');
 ...
http://wordpress.org/about/logos/
WordPress
Upcoming SlideShare
Loading in …5
×

WordPress

1,699 views

Published on

ggmcph

0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,699
On SlideShare
0
From Embeds
0
Number of Embeds
41
Actions
Shares
0
Downloads
13
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

WordPress

  1. 1. http://wordpress.org/about/logos/
  2. 2. WordPress does one thing really well…
  3. 3. WordPress does one thing really well… … allows everyone to easily publish on the web
  4. 4. Blog or website • Name & domain • Webhost • Type of blog/website • Just do it!
  5. 5. Install WordPress • Domain + hosting (MySQL & php)
  6. 6. Install WordPress • Domain + hosting (MySQL & php) • Download WordPress, unzip
  7. 7. http://wordpress.org/download/
  8. 8. Install WordPress • Domain + hosting (MySQL & php) • Download WordPress, unzip • Upload WordPress-files via ftp
  9. 9. Upload WordPress-files via ftp CuteFTP Cyberduck Filezilla Create a folder with random name! /wordpress
  10. 10. Install WordPress • Domain + hosting (MySQL & php) • Download WordPress, unzip • Upload WordPress-files via ftp • Rename configsample.php -> config.php
  11. 11. Configure Rename configsample.php -> config.php
  12. 12. Check your website
  13. 13. Check your website
  14. 14. Install WordPress • Domain + hosting (MySQL & php) • Download WordPress, unzip • Upload WordPress-files via ftp • Rename configsample.php -> config.php • Update config.php
  15. 15. Update config.php
  16. 16. https://api.wordpress.org/secret-key/1.1/salt/ define('AUTH_KEY', '%Gqe.y%nXvDG^ZlQnQ>D$_?*MOuR-Lsi_[R6[R0@-T`l&c8*^7j7bwZ$={O+7`rY'); define('SECURE_AUTH_KEY', 'Uc<k]/9}ND>:mzL{?5jpFm-7hW18gA|2Cj@%}Zn#u>B^<3^vQN77-k`L#$=$-Vm/'); define('LOGGED_IN_KEY', '`tzoIX^ilhf-w@Kt;Gt4p6Y{P|FfmoMM3wDJx:T70EAQ/dkHkJC(;j7reHP1x~0}'); define('NONCE_KEY', 'bt8ApM&QL/<h2dzly+ei-Pa+eO0sX,?zCJMqcT+=J$4]svlB{6/)GrY[HQ!P+YlD'); define('AUTH_SALT', 'H[B*(/h 9hvbOKBM=M++3C>.R-K`#!wA~0yWTe+-+u7`-DO$QiYTkzgd)6Gp+6MZ'); define('SECURE_AUTH_SALT', '(1RkMIk{i|7s6BS6>#_MJi<5@WR$BV8Rutyoo%K6TO|2IrNqtC,+k+x;N@M?i$vc'); define('LOGGED_IN_SALT', '.HEhy*tP2Sicmn^hrpA!7;,DUp/JC1fA4hI-~G+M{);dWH99C;rMIQ2;l(]nm#_o'); define('NONCE_SALT', ':L*z9c|dq@zI+ew;8D%5agJg&+U!E*~F-_ICm=gky1_9<(?QV|q!i0nO3]*P2Cx0');
  17. 17. Install WordPress • Domain + hosting (MySQL & php) • ftp – FileZilla or Cyberduck • Download WordPress, unzip • Upload WordPress-files via ftp • Rename configsample.php -> config.php • Update config.php • Run ../wp-admin/install.php
  18. 18. Run ../wp-admin/install.php
  19. 19. Log in
  20. 20. Check your website
  21. 21. Settings
  22. 22. Categories
  23. 23. Link Categories
  24. 24. Add New User
  25. 25. Users
  26. 26. Settings
  27. 27. More Settings - Writing
  28. 28. More Settings
  29. 29. Post from flickr 
  30. 30. Settings - Avatars
  31. 31. Save Changes
  32. 32. Media Settings
  33. 33. Permalink Settings
  34. 34. Apperance
  35. 35. Install Themes
  36. 36. Choose Theme
  37. 37. Preview
  38. 38. Install, Activate, View
  39. 39. Plugins
  40. 40. Akismet • If your site is for a business, or if it promotes a product or service, you should pick from one of the paid account options.
  41. 41. Akismet • If your site is for a business, or if it promotes a product or service, you should pick from one of the paid account options. • Free personal blog access
  42. 42. Akismet • If your site is for a business, or if it promotes a product or service, you should pick from one of the paid account options. • Free personal blog access • WordPress.com username
  43. 43. WordPress Themes • Themes • Themes with options • Theme Frameworks • Child Themes
  44. 44. Theme Options
  45. 45. Check your site
  46. 46. Child Themes /* Theme Name: Twenty Ten Child Theme URI: http: //example.com/ Description: Child theme for the Twenty Ten theme Author: Your name here Author URI: http: //me.com/ Template: twentyten Version: 0.1.0 */
  47. 47. View your website
  48. 48. Page Structure header.php index.php sidebar.php footer.php
  49. 49. Page Structure Logo + Title Text & images from page Excerpts from category 1 Excerpts from category 2 News Photos Twitter stream Contact + Bio + Links + Sign up form
  50. 50. Theme Files • style.css • index.php • header.php • footer.php • sidebar.php • functions.php
  51. 51. Theme Files • front-page.php • home.php • single.php • page.php • category.php • category-2.php • archive.php • archives.php • 404.php http://codex.wordpress.org/Template_Hierarchy
  52. 52. The Loop <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <h2><a href="<?php the_permalink(); ?>" rel="bookmark" title="<?php the_title(); ?>"><?php the_title(); ?></a></h2> <p class="meta"><?php the_time('j/n-Y') ?> | <?php the_category(', ') ?> | <?php comments_popup_link('Skriv en kommentar', '1 kommentar', '% kommentarer'); ?></p> <?php the_content(); ?> <?php edit_post_link('*redigér*', '', ''); ?> <?php comments_template(); ?> <?php endwhile; else: ?> <?php endif; ?>
  53. 53. Disable Comments White writing or editing a post:
  54. 54. Disable Comments Using Quick Edit:
  55. 55. Disable Comments
  56. 56. Disable Comments <?php else : // or, if we don't have comments: /* If there are no comments and comments are closed, * let's leave a little note, shall we? */ if ( ! comments_open() ) : ?> <p class="nocomments"><?php _e( 'Comments are closed.', 'twentyten' ); ?></p>
  57. 57. Out-comment Code
  58. 58. Out-comment Code <!-- <p class="postmetadata alt"> <?php if (function_exists('the_tags')) the_tags('Tags: ', ', ', '<br />'); ?> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?> </p> -->
  59. 59. New Page Template <?php /* Template Name: Copenhagen */ ?>
  60. 60. New Page Template
  61. 61. Share on Facebook <a href="http://www.facebook.com/sharer.php?u=<?php the_permalink();?>&t=<?php the_title(); ?>" title="Share on Facebook" target="blank">Share on Facebook</a>
  62. 62. Tweet This <a href="http://twitter.com/home?s tatus=Currently reading <?php the_permalink(); ?>" title="Share on Twitter" target="_blank">Share on Twitter</a>
  63. 63. Plugins • Reveal Ids for WP Admin • Theme Tester • Maintenance Mode • NextGEN Gallery
  64. 64. Menus
  65. 65. Menu Items
  66. 66. Save Menu
  67. 67. functions.php Makes WordPress do special stuff!
  68. 68. functions.php User contact info: function extra_contact_info($contactmethods) { unset($contactmethods['aim']); unset($contactmethods['yim']); unset($contactmethods['jabber']); $contactmethods['facebook'] = 'Facebook'; $contactmethods['twitter'] = 'Twitter'; $contactmethods['linkedin'] = 'LinkedIn'; return $contactmethods; } add_filter('user_contactmethods', 'extra_contact_info');
  69. 69. Widgets
  70. 70. The Kitchen Sink
  71. 71. The Kitchen Sink
  72. 72. The Kitchen Sink
  73. 73. Change Site Address Change the site address in WordPress Settings
  74. 74. Change Site Address Move index.php from your WordPress folder to root Update index.php require('./wp-blog-header.php');  require('./wordpress/wp-blog-header.php'); http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory
  75. 75. http://wordpress.org/about/logos/

×