<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV>And you do not read responses apparently. </DIV>
<DIV> </DIV>
<DIV>I’m going to stop replying to this because frankly, you have no idea beyond
what you’ve read and never actually utilized it with real world
applications.</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 style="font-color: black"><B>From:</B> <A title=chip@chipbennett.net
href="mailto:chip@chipbennett.net">Chip Bennett</A> </DIV>
<DIV><B>Sent:</B> Saturday, July 05, 2014 2:33 PM</DIV>
<DIV><B>To:</B> <A title=theme-reviewers@lists.wordpress.org
href="mailto:theme-reviewers@lists.wordpress.org">[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
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<P dir=ltr>Sorry, but you're simply wrong. You don't need to do any of that.</P>
<P dir=ltr>I've given all of the necessary steps, several times:</P>
<P dir=ltr>1. Create 2 static pages, A and B<BR>2. Settings -> Reading ->
Front page displays = "a static page"<BR>3. Settings -> Reading -> Front
page = "Page A"<BR>4. Settings -> Reading -> Posts page = "Page B"</P>
<P dir=ltr>That's it. All done. No FTP or other FUD required.</P>
<DIV class=gmail_quote>On Jul 5, 2014 5:01 PM, "Philip M. Hofer (Frumph)" <<A
href="mailto:philip@frumph.net">philip@frumph.net</A>> wrote:<BR
type="attribution">
<BLOCKQUOTE
style="BORDER-LEFT: #ccc 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: #000000; FONT-SIZE: 12pt">
<DIV>This is the tech support conversations to enable someone to have a blog
on a separate page, comparison.</DIV>
<DIV> </DIV>
<DIV>Scenario 1 (your considered “proper” way)</DIV>
<DIV> </DIV>
<DIV>1. First, FTP into your site. Yes, FTP; you can watch some
youtube video’s on learning how to ftp. Contact your hosting to get your
info properly.</DIV>
<DIV> </DIV>
<DIV>2. Navigate to the wp-content/themes/yourthemename/ and copy the
index.php and name is front-page.php .. yes, copy.. yes, you need to first
move the index.php file to your local drive then .. you don’t know how to do
that? okay let me explain ... ( 5 mins later )</DIV>
<DIV> </DIV>
<DIV>3. Okay now that you have that, you can go to settings –> reading and
enable the posts page to be a page you created, .. okay yeah so create a page
yes, a page .. you’ll need to create 2 pages, call one “Home” and the other
“Blog” (or) “posts page” </DIV>
<DIV> </DIV>
<DIV>4. Okay you did that? fine, set those in the settings –> reading,
choose which pages you want to display where.</DIV>
<DIV> </DIV>
<DIV>5. Cool beans, you’re done. What? That plugin you paid $50
for is displaying on the posts page too? .. I’m sorry you’re going to
have to take that up with that plugin maker. Oh, that one
too? damn people don’t know how to program.</DIV>
<DIV> </DIV>
<DIV>6. I realize that it’s pretty complicated, but that’s the way the theme
review team wants to have it done, I apologize profusely.</DIV>
<DIV> </DIV>
<DIV>--------------------------------------------</DIV>
<DIV> </DIV>
<DIV>Scenario 2:</DIV>
<DIV> </DIV>
<DIV>1. Go to pages –> add new and create a blog page, in the
right column associate the “blog” template to it. </DIV>
<DIV> </DIV>
<DIV>2. Go to the theme settings and disable the blog loop from appearing on
the home page.</DIV>
<DIV> </DIV>
<DIV>3. You’re welcome!</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>---------------------------------</DIV>
<DIV> </DIV>
<DIV>Yeah, rather stick with my method.</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></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 1:20 PM</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] Is Blog.php is allowed in
theme?</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 dir=ltr>Okay, that's not a theme template, that is a Custom Page Template
with a custom loop, and no, that sort of thing should not be allowed in any
theme in the WordPress.org theme directory. In short, that is an incorrect way
to show the main blog posts on a page.
<DIV> </DIV>
<DIV>There's nothing wrong with making Custom Page Templates to show special
things, but the "main blog" is not a "special thing"... and it is correctly
handled by the core Template Hierarchy. The home.php file should be what you
use to display the blog posts, and you should not have a custom query in it
like that.</DIV>
<DIV> </DIV>
<DIV>The reason that is wrong is because it doesn't correctly support the core
functionality for setting a Page to appear on the front-page, and for the blog
posts to appear on a sub-page. With this implementation, somebody has to make
a Page and also set it to be using this Page Template, and then also set the
Settings->Reading settings incorrectly as well. </DIV>
<DIV> </DIV>
<DIV>See, if you have the Settings->Reading settings set correctly, with
both the Front and Posts pages set to some values, then it is not possible for
the Page to use your custom Page Template. So your "blog.php" here will not
get used unless you also instruct the user to set up the site incorrectly
(aka, incompletely). The correct way is to use the home.php to do a normal
Blog loop, and then that will be used no matter where the blog posts are
displayed, as long as the site is set up correctly.</DIV>
<DIV class=gmail_extra>
<DIV> </DIV>
<DIV>-Otto</DIV><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
style="BORDER-LEFT: #ccc 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: #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>
<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>
<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>
<HR>
<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></DIV></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>
<DIV> </DIV></DIV></DIV>
<P>
<HR>
_______________________________________________<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></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>
<P>
<HR>
_______________________________________________<BR>theme-reviewers mailing
list<BR>theme-reviewers@lists.wordpress.org<BR>http://lists.wordpress.org/mailman/listinfo/theme-reviewers<BR></DIV></DIV></DIV></BODY></HTML>