Linux 软件免费装

CPT - Speakers

开发者 vegasgeek
stastic
toddhuish
picklewagon
更新时间 2011年4月9日 04:36
PHP版本: 2.9 及以上
WordPress版本: 3.1

标签

custom post types conference cpt speaker speakers presenter presenters

下载

1.0 1.0.2 1.0.4 1.1 1.0.1

详情介绍:

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.

安装:

  1. Upload the cpt-speakers folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Two template files will be added to your current theme folder
  4. Create a new page and select the Speakers Page template
  5. Add your speakers from the WordPress dashboard
  6. (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
  7. 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; } `

升级注意事项:

Please read this post before upgrading!

常见问题:

Why am I getting a page not found error when trying to visit the single speaker's page?

The Permalinks page needs to be re-saved. Go to Settings -> Permalinks and click the Save Changes button.

更新日志:

1.1 1.0.1 1.0