Upload
herb-miller
View
451
Download
0
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
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
Herb Miller
bobbingwide.comoik-plugins.comcwiccer.comfobbonghide.comwp-pompey.org.uk
@herb_miller@bobbingwide@wppompey
● Switch to the Artisteer slideshow● wordup-pompey-nov-2011-artisteer.odp
● Now switch to the oik-plugins slideshow● wordup-pompey-nov-2011-oik.odp
Header image by page
Header image by page
Options
●CSS background image●Page template●Enabled theme●Enabled theme + plugin●Other ?
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 template
Header image by page
●Page template file●/* Template Name: No header */● get_header('noheader' );● header-noheader.php
Enabled themee.g. coraline (or a child theme)
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
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.