This plugin creates a custom post type for event speakers. Includes speakers page and single-speakers page templates.
If you are upgrading from an earlier version, you will need to manually move the template_speakers.php and single-speakers.php files from the /wp-content/plugins/cpt-speakers/
folder in to the folder for your active theme. If the file already exists in your theme folder, overwrite it with the new one.
- Upload the
cpt-speakers
folder to the /wp-content/plugins/
directory
- Activate the plugin through the 'Plugins' menu in WordPress
- Two template files will be added to your current theme folder
- Create a new page and select the
Speakers Page
template
- Add your speakers from the WordPress dashboard
- (optional) Add speaker snippets (via shortcode) to your schedule page (example).
Shortcode format: [speaker_snippet id="3"] "3" would be the ID for the speaker you want to display
- Add custom CSS to your theme's style sheet to format the speaker's page. You can use this as a base and tweak as needed:
`
speakers {
font-size: 12px;
min-height: 300px;
}
speaker_image_section {
width: 150px;
float: left;
height: 300px;
margin-right: 18px;
}
speaker_image img {
margin-top: 5px;
border: 1px solid #333;
padding: 3px;
background: #0099cc;
}
speaker_name {
font-size: 18px;
font-weight: bold;
margin-bottom: 10px;
}
speaker_url {
text-align: center;
}
speaker_twitter_url {
text-align: center;
}
speaker_pres_title {
margin: 5px 0px 5px 0px;
font-size: 13px;
}
speaker_pres_description {
font-size: 12px;
font-family: arial, helvetica;
line-height: 16px;
}
speaker_session_description {
font-size: 12px;
line-height: 18px;
}
speaker_image_section_single {
width: 150px;
float: left;
height: 600px;
margin-right: 18px;
}
speaker_image_section_single img{
margin-top: 5px;
border: 1px solid #333;
padding: 3px;
background: #0099cc;
}
pres_url {
text-align: center;
}
.speaker_snippet .thumbnail {
float:left;
display:inline;
margin-right:10px;
border-bottom:0;
}
content .speaker_snippet .thumbnail a {
border-bottom:0;
}
.speaker_snippet .name {
font-weight:bold;
line-height:16px;
}
.speaker_snippet .title {
font-size:0.9em;
line-height:15px;
}
`