The client asked for an events page. Here is how you can add it.
1. Download the events-page plugin, I used http://www.ternstyle.us/products/plugins/wordpress/wordpress-event-page-plugin. Download it and install it using wp-admin and activate the plugin after installing.
2. Then create an events.php file, instructions are there on the page, but this is what I had, a very simple one
<?php /* Template Name: Events */ ?> <?php get_header(); ?> <?php tern_wp_events(); ?> <?php get_footer(); ?>
3. Add the events.php to your /wp-contents/theme/your-theme directory.
4. Create a new post, lets call it events, and assign it to the template call events (this will appear on right hand side under templates).
5. Done !
No comments:
Post a Comment