A plugin that displays your WordCamp Talks on your WordPress Blog. Simply install and click on WordCamp Talks in the Left Nav menu. Add a new talk. Don't forget the metabox down at the bottom. Preview the talk, below the content you should see 3 links. Use the shortcodes if you want to.
- Download plugin
- Log into your WordPress Site
- Visit Plugins > Add New > Upload Plugin > Choose File
- Locate the plugin .zip file
- Select .Zip file
- Click Install Now
- Activate WordCamp Talks Plugin
- Go to Settings > Permalinks and update your permalinks. You do not have to change the permalink structure. Simply click save changes. For what ever reasoning, new custom post types wont show on the front end unless you update the permalinks.
- Download plugin
- Unzip (Extract) plugin .zip file to folder location of your choice
- Open ftp client & connect to your WordPress Site
- Locate folder that the plugin resides in
- Upload Plugin folder to wp-content/plugins directory
- Log into to WordPress Dashboard
- Visit Plugins > Installed Plugins
- Activate WordCamp Talks Plugin
- Go to Settings > Permalinks and update your permalinks. You do not have to change the permalink structure. Simply click save changes. For what ever reasoning, new custom post types wont show on the front end unless you update the permalinks.
##Shortcodes
[wordcamp-talks] //put this on a page to display all WordCamp Talks
The shortlinks below go inside of the post content and will not display on any other post/page.
[wc-presentation-url] //links to the presentation url
[wc-talk-video] //links to the presentation video
[wc-talk-url] //links to the session description
This plugin has several actions (hooks and filters) that you can remove if you wish.
- add_action( 'init', 'create_wordcamp_talks_taxonomies', 0 ); //creates taxonomy called wordcamp-cities
- add_action( 'init', 'create_wordcamp_year_taxonomies', 0 ); //creates taxonomy called wordcamp-years
- add_shortcode('wc-presentation-url', 'get_custom_field_wc_talk_year'); //creates shortcode [wc-presentation-url]
- add_shortcode('wc-talk-video', 'get_custom_field_wc_talk_video'); //creates shortcode [wc-talk-video]
- add_shortcode('wc-talk-url', 'get_custom_field_wc_talk_url'); //creates shortcode [wc-talk-url]
- add_shortcode('wordcamp-talks', 'get_cpt_wc_talks'); //creates shortcode [wordcamp-talks]
- add_filter( 'the_content', 'wc_links_after_content' ); // adds metabox info after the content on a single post
- add_filter( 'the_content', 'wc_links_after_content_cpt_archive' ); //adds metabox info after the content on archive