<div dir="ltr">It's a pedantic, but meaningful, nomenclature issue. Your blog.php is a <i>custom page template</i> file.<div><br></div><div>In the Template Hierarchy, a <i>template </i>file is hierarchy-defined, contextual template file. Within that hierarchy is the static page context, which uses the Page Template hierarchy. Within the Page Template hierarchy is the <i>custom page template</i> file. I only say that to ensure that we're all talking on the same page, because when I hear <i>template file</i>, I assume the Template Hierarchy nomenclature. I assume Otto is thinking along the same lines.</div>
<div><br></div><div>Anyway, whether it's called blog.php, page-blog.php, template-blog.php, or whatever: your blog.php is a custom page template file, which, as both Otto and I have pointed out, will never be used to display the blog posts index when core settings are configured properly.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Jul 5, 2014 at 1:13 PM, 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>it’s a template that themes have that do the blog loop that can be
associated to a page, either custom for specific categories are all</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><font size="3" face="Calibri">“there’s no way to display it using any other
template file”</font></div>
<div><font size="3" face="Calibri"></font> </div>
<div><font size="3" face="Calibri">This is what I use, works fine:</font></div>
<div><font size="3" face="Calibri"></font> </div>
<div><?php</div>
<div>/*</div>
<div>Template Name: Blog</div>
<div>*/</div>
<div>get_header();</div>
<div> </div>
<div>$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;</div>
<div> </div>
<div>$blog_query = array(</div>
<div> 'paged' => $paged,</div>
<div> 'post_type' => 'post',</div>
<div> 'in_the_loop' => true,</div>
<div> 'posts_per_page' =>
comicpress_themeinfo('home_post_count')</div>
<div> );</div>
<div> </div>
<div>$wp_query = new WP_Query(); $wp_query->query($blog_query);</div>
<div>if (have_posts()) {</div>
<div> while (have_posts()) : the_post();</div>
<div> $withcomment = 0;</div>
<div> get_template_part('content',
get_post_format());</div>
<div> endwhile;</div>
<div> comicpress_pagination();</div>
<div>}</div>
<div> </div>
<div>wp_reset_query();</div>
<div> </div>
<div>get_footer();</div>
<div> </div>
<div><font size="3" face="Calibri"></font> </div>
<div style="BACKGROUND:#f5f5f5">
<div><b>From:</b> <a title="otto@ottodestruct.com" href="mailto:otto@ottodestruct.com" target="_blank">Otto</a> </div>
<div><b>Sent:</b> Saturday, July 05, 2014 11:00 AM</div><div class="">
<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] Is Blog.php is allowed in
theme?</div></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">
<div class="gmail_extra">
<div class="gmail_quote">On Sat, Jul 5, 2014 at 12:48 PM, Philip M. Hofer (Frumph)
<span dir="ltr"><<a href="mailto:philip@frumph.net" target="_blank">philip@frumph.net</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT:rgb(204,204,204) 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
<div dir="ltr">
<div dir="ltr">
<div style="FONT-FAMILY:calibri;COLOR:rgb(0,0,0);FONT-SIZE:12pt">
<div>The blog template is the point I was making in the first place, where if
you do *not* want the is_home or is_front_page events to execute, that is the
only way to bypass that; which makes having a blog.php useful.</div>
<div> </div></div></div></div></blockquote>
<div> </div>No, I mean, there is nothing in the code that I can find for
"blog.php" at all. It's not mentioned in the Template Hierarchy, there's nothing
in the template.php core file that mentions it. So, what exactly is this
"blog.php" to which you refer?
<div> </div>
<div>As far as I know, if you're displaying the results of the main posts query,
then you're doing it on front-page.php, home.php, or index.php. There's no way
to display it using any other template file.</div>
<div class="gmail_extra">
<div> </div>
<div>-Otto</div></div>
<div> </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>