11
WordUp Pompey! Nov 2011 AGENDA 7:30 to 9:30pm show and tell sessions, chosen from: Developing a theme from scratch using Artisteer Implementing oik plugins – the basics Header image by page OR... suggestions from attendees

WordUp Pompey! 24-nov-2011

Embed Size (px)

DESCRIPTION

http://wp-pompey.org.uk/wordup-pompey-wordpress-meetup-for-portsmouth/ Slides from WordUp Pompey, held on November 24th, 2011 Set 1 of 3

Citation preview

Page 1: WordUp Pompey! 24-nov-2011

WordUp Pompey! Nov 2011

AGENDA 7:30 to 9:30pm

show and tell sessions, chosen from:

● Developing a theme from scratch using Artisteer

● Implementing oik plugins – the basics● Header image by page● OR... suggestions from attendees

Page 2: WordUp Pompey! 24-nov-2011

Herb Miller

bobbingwide.comoik-plugins.comcwiccer.comfobbonghide.comwp-pompey.org.uk

@herb_miller@bobbingwide@wppompey

Page 3: WordUp Pompey! 24-nov-2011

● Switch to the Artisteer slideshow● wordup-pompey-nov-2011-artisteer.odp

Page 4: WordUp Pompey! 24-nov-2011

● Now switch to the oik-plugins slideshow● wordup-pompey-nov-2011-oik.odp

Page 5: WordUp Pompey! 24-nov-2011

Header image by page

Page 6: WordUp Pompey! 24-nov-2011

Header image by page

Options

●CSS background image●Page template●Enabled theme●Enabled theme + plugin●Other ?

Page 7: WordUp Pompey! 24-nov-2011

CSS background imagestyle.css

div.art-header-jpeg { width: 1000px; height: 125px;

background-image: url('images/header.jpg');

background-repeat: no-repeat;

background-position: center center; }

custom.css

body.blog div.art-header-jpeg { background-image: url('images/blog_header.jpg'); }

Page 8: WordUp Pompey! 24-nov-2011

Page template

Header image by page

●Page template file●/* Template Name: No header */● get_header('noheader' );● header-noheader.php

Page 9: WordUp Pompey! 24-nov-2011

Enabled themee.g. coraline (or a child theme)

Page 10: WordUp Pompey! 24-nov-2011

Enabled theme + plugine.g. coraline (or a child theme)

WP-display-header plugin

These images are found in themes/coraline/images/headers

They are registered in functions.php

So you can't just add you own

Page 11: WordUp Pompey! 24-nov-2011

Other ?There doesn't yet appear to be a simple user friendly solution to the problem.

So I'm going to set it as a new challenge for [oik]-plugins.

This will probably entail

Oik-header-image plugin implementing:

●Template tag for header.php - bw_header()

●Custom post type for header images

●Metabox to select the header image

In the mean time get your favourite web developer to code a solution for you.