<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Imon definitely has a point here. </div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">
Blog is the second most misunderstood "template" and many theme authors integrate incorrectly.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 26, 2014 at 11:48 AM, Philip M. Hofer (Frumph) <span dir="ltr"><<a href="mailto:philip@frumph.net" target="_blank">philip@frumph.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div dir="ltr">
<div style="FONT-FAMILY:'Calibri';COLOR:#000000;FONT-SIZE:12pt">
<div>Please take note that this is if you use the internal loop pre-parser, you
can do your own loop segment for the blog with paging and everything within a
template.</div>
<div> </div>
<div> </div>
<div style="FONT-STYLE:normal;DISPLAY:inline;FONT-FAMILY:'Calibri';COLOR:#000000;FONT-SIZE:small;FONT-WEIGHT:normal;TEXT-DECORATION:none">
<div style="FONT:10pt tahoma">
<div> </div>
<div style="BACKGROUND:#f5f5f5">
<div><b>From:</b> <a title="chip@chipbennett.net" href="mailto:chip@chipbennett.net" target="_blank">Chip Bennett</a> </div>
<div><b>Sent:</b> Thursday, June 26, 2014 9:08 AM</div>
<div><b>To:</b> <a title="theme-reviewers@lists.wordpress.org" href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">Discussion list for WordPress
theme reviewers.</a> </div>
<div><b>Subject:</b> Re: [theme-reviewers] index.php , home.php and
blog-page.php</div></div></div>
<div> </div></div>
<div style="FONT-STYLE:normal;DISPLAY:inline;FONT-FAMILY:'Calibri';COLOR:#000000;FONT-SIZE:small;FONT-WEIGHT:normal;TEXT-DECORATION:none"><div><div class="h5">
<div dir="ltr">Yes, there are currently approved Themes that are doing it wrong.
That's why I wrote a tutorial on it, and why I've been placing so much emphasis
on it during final approval.</div>
<div class="gmail_extra"><br><br>
<div class="gmail_quote">On Thu, Jun 26, 2014 at 11:03 AM, Imon Themes <span dir="ltr"><<a href="mailto:imon.theme@gmail.com" target="_blank">imon.theme@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<div dir="ltr">by the way @chip
<div> </div>
<div>i checked some currently approved theme using blog-page.php</div></div>
<div class="gmail_extra">
<div>
<div><br><br>
<div class="gmail_quote">On Thu, Jun 26, 2014 at 10:02 PM, Imon Themes <span dir="ltr"><<a href="mailto:imon.theme@gmail.com" target="_blank">imon.theme@gmail.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<div dir="ltr">can i make index.php as blog page
<div> </div>
<div>mean i can use this code in index.php header </div>
<div> </div>
<div>
<div><?php </div>
<div> /* Template Name: Blog */</div>
<div> get_header(); </div>
<div>?></div></div>
<div> </div>
<div>and make home.php as default font page </div>
<div> </div>
<div>thanks </div>
<div> </div></div>
<div class="gmail_extra">
<div>
<div><br><br>
<div class="gmail_quote">On Thu, Jun 26, 2014 at 9:56 PM, Chip Bennett <span dir="ltr"><<a href="mailto:chip@chipbennett.net" target="_blank">chip@chipbennett.net</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<div dir="ltr">You cannot use blog-page.php custom page template for the
blog posts index. You must correctly implement the core Template
Hierarchy, which uses the home.php template file for the blog posts index.
<div> </div>
<div>Users set up a static front page like so:</div>
<div> </div>
<div>1. Create two static pages, which we'll call "Front Page" and
"Blog"</div>
<div>2. In Settings -> Reading, set "Front page displays" to "a static
page"</div>
<div>3. In Settings -> Reading, set "Front page" to "Front Page"</div>
<div>4. In Settings -> Reading, set "Posts page" to "Blog"</div>
<div> </div>
<div>Now, in that scenario (the correct way to set up a static front
page), if the user assigns "blog-page.php" to the "Blog" page, which has
been assigned as the "Posts page", the "blog-page.php" custom page
template will be completely ignored. WordPress simply won't use it.
WordPress will only use the home_page_template() hierarchy, which
is:</div>
<div> </div>
<div>1. home.php</div>
<div>2. index.php</div>
<div> </div>
<div>WordPress will simply never use a custom page template for the blog
posts index. The only way to get WordPress to use it is to provide
different setup instructions for configuring a static front page.<br>
<div> </div>
<div>All is explained here:</div>
<div><a href="http://www.chipbennett.net/2013/09/14/home-page-and-front-page-and-templates-oh-my/" target="_blank">http://www.chipbennett.net/2013/09/14/home-page-and-front-page-and-templates-oh-my/</a><br></div>
<div> </div>
<div> </div></div></div>
<div class="gmail_extra"><br><br>
<div class="gmail_quote">
<div>
<div>On Thu, Jun 26, 2014 at 10:45 AM, Imon Themes <span dir="ltr"><<a href="mailto:imon.theme@gmail.com" target="_blank">imon.theme@gmail.com</a>></span> wrote:<br></div></div>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<div>
<div>
<div dir="ltr">Hi,
<div>i have little confusion about this .can any body clear
it ?</div>
<div> </div>
<div>1)can i use those three page in my theme index.php , home.php and
blog-page.php</div>
<div> </div>
<div>2) can i use only index.php and blog-page.php in my theme
</div>
<div> </div>
<div>which one i can make as a defaults font page in my theme
?</div>
<div> </div>
<div>thanks <span><font color="#888888"><br clear="all">
<div> </div>-- <br>
<div dir="ltr"><i>Imon Themes</i>
<div> </div></div></font></span></div></div>
<div> </div></div></div>_______________________________________________<br>theme-reviewers
mailing list<br><a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br><a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div>
<div> </div></div><br>_______________________________________________<br>theme-reviewers
mailing list<br><a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br><a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br><br clear="all">
<div> </div></div></div><span><font color="#888888">-- <br>
<div dir="ltr"><i>Imon Themes</i>
<div> </div></div></font></span></div></blockquote></div><br><br clear="all">
<div> </div></div></div><span><font color="#888888">-- <br>
<div dir="ltr"><i>Imon Themes</i>
<div> </div></div></font></span></div><br>_______________________________________________<br>theme-reviewers
mailing list<br><a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br><a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div>
<div> </div></div>
</div></div><p>
</p><hr><div class="">
_______________________________________________<br>theme-reviewers mailing
list<br><a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br><a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
</div><p></p></div></div></div></div>
<br>_______________________________________________<br>
theme-reviewers mailing list<br>
<a href="mailto:theme-reviewers@lists.wordpress.org">theme-reviewers@lists.wordpress.org</a><br>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a><br>
<br></blockquote></div><br></div>