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 configsample.php ->
config.php
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 configsample.php ->
config.php
• Update config.php
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$={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');
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
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
account options.
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
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
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 theme
Author: Your name here
Author URI: http: //me.com/
Template: twentyten
Version: 0.1.0
*/
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 stream
Contact + Bio + Links + Sign up form
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.php
• 404.php
http://codex.wordpress.org/Template_Hierarchy
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; ?>
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's leave a little note, shall we?
*/
if ( ! comments_open() ) :
?>
<p class="nocomments"><?php _e( 'Comments are closed.',
'twentyten' ); ?></p>
Out-comment Code
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 &#187;', '1 Comment
&#187;', '% Comments &#187;'); ?>
</p>
-->
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="Share
on Facebook" target="blank">Share on Facebook</a>
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>
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($contactmethods['yim']);
unset($contactmethods['jabber']);
$contactmethods['facebook'] =
'Facebook'; $contactmethods['twitter'] =
'Twitter'; $contactmethods['linkedin'] =
'LinkedIn'; return $contactmethods; }
add_filter('user_contactmethods',
'extra_contact_info');
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');
 require('./wordpress/wp-blog-header.php');
http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory
http://wordpress.org/about/logos/
WordPress

WordPress