Testing if current page is the static page set as home page

You can use the function is_front_page(). Put this where you want to check if is frontpage if( is_front_page() ) { echo ‘I am the frontpage’; } It returns TRUE when the main blog page is being displayed and the Settings->Reading->Front page displays is set to “Your latest posts”, or when is set to “A static … Read more

How do I make the main page be the blog page and not a separate “home” page?

There are two possible settings for this in WordPress. Option A Your front page (http://twistedtalesoftimmy.com/) is dynamic and shows the latest blog posts. Option B Your front page (http://twistedtalesoftimmy.com/) is static and points to a regular page in WordPress. There is another page (e.g. http://twistedtalesoftimmy.com/blog/) that shows the latest blog posts. You can switch between … Read more

Show only preview of posts on the homepage?

Look somewhere after the “Loop” starts (it starts with <?php while( have_posts() ): the_post(); ?>) in your index.php file. Find <?php the_content(); ?> and change it to <?php the_excerpt(); ?>. If you don’t want any content, just remove the_content() all together. If you’re using a theme from wordpress.org, it would best to do this in … Read more