Greetings,
I am brand new to WordPress, so please feel free to speak to me like I know NOTHING :)
Anyway, I am using the EVID theme for my newest WP Site. I would like to link it to a .com, and when the visitor types in the URL, I would like to to go directly to my latest post, similar to when you visit http://www.fitbiz.tv. Is there an easy way to do this?
Thanks,
Ray
So much depends on the theme, and because your theme is not freely available to look at the code, I can't be sure this is applicable. But, it isn't that hard to try.
- Make a copy of your index.php and call it frontpage.php.
- Add these lines at the top of frontpage.php:
<?php /*
Template Name: frontpage
*/ ?>
- This is a little tricky. Find the line that has 'if (have_posts())'. If it starts with
<?php, insert this line ahead of it: <?php query_posts('posts_per_page=1&caller_get_posts=1'); ?>
If it does not start with <?php, leave out the <?php and ?>.
- Create a new blank page with the title 'Home' and assign it the frontpage template.
- Create a new blank page titled 'Blog' and leave the default template.
- Go to Admin->Settings->Reading->'Front page displays' and select 'A static page'.
- Select 'Home' as the Front page:, and 'Blog' as the Posts page:
That should do it. Of course, you can use other names for 'Home' and 'Blog' if you wish.