6. 1. Media Upload for
Contributors
Let contributors upload media, so they can
use images in posts
7. 1. Media Upload for Contributors
function changeUserCapabilities() {
// Add upload capability to contributor role
$contributor = get_role('contributor');
$contributor->add_cap('upload_files');
}
// Call function on init of the WordPress admin
add_action('admin_init', 'changeUserCapabilities');
More at: http://codex.wordpress.org/Function_Reference/add_cap
9. 2. Media Management for dummies
• Media Tags Plugin
• Lets you add tags to media
• Insert galleries based on these tags
[media-tags media_tags=”cats,dogs” numberposts=”10”]
Download at: http://wordpress.org/extend/plugins/media-tags/
Read more: http://www.codehooligans.com/projects/wordpress/media-
tags/
11. 3. Apply Editor Styles
• Create “editor-style.css” in your theme
directory
• Add following to “functions.php”:
// Add editor style stylesheet (default: editor-style.css)
add_editor_style();
Read more: http://codex.wordpress.org/Function_Reference/
add_editor_style
12. 4. New lines and
Paragraphs
A well kept WordPress secret
13. 4. New lines and Paragraphs
• A new paragraph: [Enter]
• A new line: [Shift] + [Enter]
Download at: http://wordpress.org/extend/plugins/media-tags/
14. 5. Plan your content
Keep control over your blog
15. 5. Plan your content
Use Editorial Calendar to keep
control over your posts
Download at: http://wordpress.org/extend/plugins/editorial-
calendar/