Adding if statement to content for homepage

Check for is_front_page() and if you want to catch the first page only inspect get_query_var( ‘paged’ ) too: if ( is_front_page() and 2 > get_query_var( ‘paged’ ) ) { // we are on the first page of the front page }

How to avoid duplicate Url for the home page

From the comments: What are your settings under Dashboard -> Settings -> Reading. Specifically, what are your Front Page Displays, front page, and posts page settings? And your reply: exactly this is the point, the client has used a Theme called Choice and in the Theme Frontpage Settings there is this page selected :”Welcome to … Read more

2 loops in blog homepage

You can use this code to get 3 posts from category Featured $args = array( ‘category_name’ => ‘featured’, ‘posts_per_page’ => 3 ); $featured_posts = new WP_Query( $args ); if ( $featured_posts->have_posts() ): while ( $featured_posts->have_posts() ): $featured_posts->the_post(); // Here you can use the normal loop functions like ‘the_title()’ to display your // 3 posts from … Read more

blank page with no code or errors on blog

Make sure to read over this thread. There are step-by-step instructions on dealing with sub-folders and root URLs. It’s not as simple as changing the settings in WP, you have to edit a couple files to make it work as well. http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory