8 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 1-2 years
  • Sold between 10 000 and 50 000 dollars
  • United States
Freedesigns says

My theme is on [ Soft Rejected ] and says this:

Reason: index.php should be reserved for default blogroll and if there is no static page being set as front page, it should display the blogroll on homepage. You can use a custom page template for homepage.

I dont really understand because I always have done that file “index.php” in this way and put home.php as homepage.

if someone could comment me about how I can resolve this problem would. I appreciate your help.

Index.php

 <?php wp_link_pages(  ); ?>

 <div id="post-<?php the_ID(); ?>" post_class="">>

 <?php comment_form(); ?>
 <?php add_theme_support( 'custom-background'); ?>

 <?php add_theme_support( 'custom-header' ); 
 add_theme_support( 'automatic-feed-links' ); ?>

 <?php language_attributes(); ?>

 <?php the_tags() ?>

 <?php dynamic_sidebar(  ); ?>

 <?php body_class(  ); ?></div>

319 posts
  • Envato Studio (Microlancer) Beta Tester
  • Most Wanted Bounty Winner
  • Author had a File in an Envato Bundle
  • Has been a member for 5-6 years
  • Sold between 10 000 and 50 000 dollars
  • Exclusive Author
  • Bought between 10 and 49 items
  • Referred between 50 and 99 users
  • Romania
QBKL says

As the reviewer said – and part of the WordPress submission guidelines and generally fair policy – you should not use index.php to enforce a homepage template on your users. Think of index.php as being the mother of all templates, the backbone in the skeleton of WordPress. You overwrite it, nothing functions properly for a user that won’t care too much of your fancy schmancy homepage template. Without page.php, single.php, archives, categories etc, templates defined, all those queries revert to index.php for display and encounter… a homepage layout for every page.

If you really want to enforce a preferred look on the homepage in your theme, use the proper template name in the hierarchy recommended by WordPress Codex: front-page.php

front-page.php will always take precedence over index.php in terms of site homepage display (not blogroll) and will not affect/interfere with other pages requesting index.php for displaying proper information structure.

Cheers, Alex

Resources: http://codex.wordpress.org/Template_Hierarchy

1422 posts
  • Envato Staff
  • Has been a member for 5-6 years
  • Senior Reviewer
  • Sold between 10 000 and 50 000 dollars
  • Attended a Community Meetup
  • Contributed a Blog Post
  • Contributed a Tutorial to a Tuts+ Site
  • Exclusive Author
+10 more
kailoon Reviewer says

Great answer!

319 posts
  • Envato Studio (Microlancer) Beta Tester
  • Most Wanted Bounty Winner
  • Author had a File in an Envato Bundle
  • Has been a member for 5-6 years
  • Sold between 10 000 and 50 000 dollars
  • Exclusive Author
  • Bought between 10 and 49 items
  • Referred between 50 and 99 users
  • Romania
QBKL says

Thanks kailoon, just trying to help out.

8 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 1-2 years
  • Sold between 10 000 and 50 000 dollars
  • United States
Freedesigns says

Thank you very much dear Alex for your help, I will review these documents and then well you commented as I was, I think there is the solution.

thank you very much for your help

regards

8 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 1-2 years
  • Sold between 10 000 and 50 000 dollars
  • United States
Freedesigns says

well thank you very much to kailoon for his constribucion

regards

by
by
by
by
by
by