<div dir="ltr"><div><div>I have never thought about that and I have to admit a theme option would be also easy to use. But what are the advantages over a custom page template? <br><br></div>I have some page templates in the pro versions of my themes and most of my users are very familiar how to use them. There is actually a template-blog.php and template-blog-excerpt.php to display "blog posts" in my pro themes. I have made the experience that most users expect these page templates (since a lot of themes have such custom page templates) and many users use them rather than the Settings > Readings option.<br>
<br></div>I can see that custom page templates are not the core method, but they work fine and I can't see any big disadvantages. Besides, removing the page templates now would break thousands of websites. <br></div><div class="gmail_extra">
<br><br><div class="gmail_quote">2013/9/14 Chip Bennett <span dir="ltr"><<a href="mailto:chip@chipbennett.net" target="_blank">chip@chipbennett.net</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Why not use a Theme option for content-vs-excerpt?</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Sep 14, 2013 at 4:48 PM, Thomas from ThemeZee <span dir="ltr"><<a href="mailto:contact@themezee.com" target="_blank">contact@themezee.com</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>Since query_posts() has some drawbacks, I have just tried to create a custom page template which retrieves the latest blog posts with pagination and WP_Query: <a href="http://pastebin.com/Jg60rcyH" target="_blank">http://pastebin.com/Jg60rcyH</a><br>
<br>I guess you should always use home.php first and only create a custom page template to display blog posts if you need a second, different use case (maybe home.php displays full content posts and template-blog.php displays excerpt blog posts).<br>
</div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/9/14 Thomas from ThemeZee <span dir="ltr"><<a href="mailto:contact@themezee.com" target="_blank">contact@themezee.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div>I would say that you can only have one query/loop on a template since there is only one $paged variable. I may be wrong with that but I can't think of any possibility to have two loops with pagination at one template.<br>
<br>Therefore you can use archive-{post_type}.php for a query/loop of a custom post type with pagination, and home.php to display the loop of normal blog posts with pagination. I guess a query/loop on a custom page template which displays the latest blog posts with pagination is only possible with query_posts(), isn't it?<br>
<br></div><div>Then you can use WP_Query to create a second (or more) loops on your archive-{post_type}.php or home.php without pagination.<br></div><div><br></div></div><div><div><div class="gmail_extra">
<br><br><div class="gmail_quote">
2013/9/14 Chip Bennett <span dir="ltr"><<a href="mailto:chip@chipbennett.net" target="_blank">chip@chipbennett.net</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">For future reference, I thought it might be helpful to write all of this out in greater detail:<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 class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Sep 14, 2013 at 9:13 AM, Chip Bennett <span dir="ltr"><<a href="mailto:chip@chipbennett.net" target="_blank">chip@chipbennett.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">Yeah, that's a different scenario altogether. :) What you're describing sounds like something that is actually a custom page template, with multiple queries/loops.<div>
<br></div><div>If you can describe (in as much detail as possible) what you're trying to implement, I'm sure we can help you.</div>
</div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Sep 14, 2013 at 9:09 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-size:12pt;font-family:'Calibri'">
<div>Cool, glad you got yours working, still need to figure out mine ;/ since my
implementation isn’t like that. (well the implementation I want to do
;/)</div>
<div> </div>
<div>Multiple Templates with different post type loops that need
pagination</div>
<div> </div>
<div> </div>
<div style="font-size:small;font-style:normal;text-decoration:none;font-family:'Calibri';display:inline;font-weight:normal">
<div style="FONT:10pt tahoma">
<div> </div>
<div style="BACKGROUND:#f5f5f5">
<div><b>From:</b> <a title="zulfikarnore@live.com" href="mailto:zulfikarnore@live.com" target="_blank">Zulfikar Nore</a> </div>
<div><b>Sent:</b> Saturday, September 14, 2013 5:41 AM</div><div><div>
<div><b>To:</b> <a title="theme-reviewers@lists.wordpress.org" href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">Theme Reviewers</a> </div>
<div><b>Subject:</b> Re: [theme-reviewers] Feedback on use of query_posts
please-Badidea?</div></div></div></div></div>
<div> </div></div><div><div>
<div style="font-size:small;font-style:normal;text-decoration:none;font-family:'Calibri';display:inline;font-weight:normal">
<div dir="ltr">"<span style="WHITE-SPACE:pre-wrap;FONT-SIZE:12pt">ZGani - take
note here: on the static page assigned to display the blog</span><pre style="WHITE-SPACE:pre-wrap">posts index, any custom page template assignment is ignored. So, whether or
not you assign a custom template to that page, WordPress is going to use
either home.php or index.php to render that page."</pre>That is where I was
getting stamped and didn't know why - totally makes sense now with that
explanation. Appreciated :)
<div> </div>
<div>Given the way I intended to have the theme and what users have asked for I
think template-featured.php is way to go rather than front-page.php.</div>
<div> </div>
<div>Once again thanks Chip - I now have an implementation to take forward for
my future themes :)</div>
<div> </div>
<div>Zulf <br>
<div>
<hr>
Date: Sat, 14 Sep 2013 08:19:55 -0400<br>From: <a href="mailto:chip@chipbennett.net" target="_blank">chip@chipbennett.net</a><br>To:
<a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br>Subject: Re: [theme-reviewers] Feedback
on use of query_posts please-Badidea?<br><br>
<div dir="ltr">
<div>Not really. In the OP, the custom page template was an intended
solution/implementation. The root issue was <i>display of the blog posts index
on a page other than the site front page</i>.</div>
<div> </div>
<div>The problem is that the intended solution/implementation was incorrect,
thereby causing the pagination problems. Basically, if you're using template
files the way WordPress expects, then WordPress properly handles the $query for
the given context - including pagination.</div>
<div> </div>Pagination is only an issue if a custom page template is used
to circumvent core WordPress handling of the blog posts index (i.e. a
template-blog.php). If you're using home.php, and have the user properly
configure "front page displays", "front page", and "posts page", then you won't
see any pagination issues.
<div> </div>
<div>The issue arises when using template files other than the way WordPress
expects, such as using a custom page template to display the blog posts index.
In that circumstance - a custom page template - WordPress sees the main $query
as the static-page post, and applies the pagination to the static-page post. Any
secondary query, regardless of how it's added, will have no impact on pagination
- thus requiring a pagination work-around.</div>
<div> </div>
<div>But if you rename template-blog.php as home.php, and instruct the user to
configure settings -> reading properly, then WordPress recognizes the static
page assigned as the "posts page" as the blog posts index, uses the home.php
template to render it, recognizes $query as the blog posts index, and applies
pagination properly to the blog posts index.</div></div>
<div><br><br>
<div>On Sat, Sep 14, 2013 at 7:54 AM, 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;PADDING-LEFT:1ex">
<div dir="ltr">
<div dir="ltr">
<div style="FONT-FAMILY:'Calibri';FONT-SIZE:12pt">
<div>the template is what we were talking about but making pagination work for
it since it’s not a pregenerated loop</div>
<div> </div>
<div> </div>
<div style="FONT-STYLE:normal;DISPLAY:inline;FONT-FAMILY:'Calibri';FONT-SIZE:small;FONT-WEIGHT:normal;TEXT-DECORATION:none">
<div style="FONT:10pt tahoma">
<div><font face="Calibri" size="3"></font> </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> Saturday, September 14, 2013 4:50 AM</div>
<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] Feedback on use of query_posts
please-Badidea?</div></div></div></div></div>
<div> </div></div>
<div>
<div>
<div style="FONT-STYLE:normal;DISPLAY:inline;FONT-FAMILY:'Calibri';FONT-SIZE:small;FONT-WEIGHT:normal;TEXT-DECORATION:none">
<div dir="ltr">There are multiple options, including conditional statements
inside front-page.php and filtering front_page_template; but don't forget: you
don't *have* to use front-page.php at all.
<div> </div>
<div>You can omit it, and package template-featured.php as a custom page
template. That way, the user has the control/option to use the featured
content template on the front page or on a different page, as well as the
control/option to use the featured content template or a default static page
on the site front page.</div></div>
<div><br><br>
<div>On Fri, Sep 13, 2013 at 11:06 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">
<div dir="ltr">
<div dir="ltr">
<div style="FONT-FAMILY:'Calibri';FONT-SIZE:12pt">
<div>The big question at this point being that front-page.php if included
with theme though overrides the index.php on all counts but I don’t want it
distributed that way ;/ how would you counter that?</div>
<div> </div>
<div> </div>
<div style="FONT-STYLE:normal;DISPLAY:inline;FONT-FAMILY:'Calibri';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="philip@frumph.net" href="mailto:philip@frumph.net" target="_blank">Philip M. Hofer (Frumph)</a> </div>
<div><b>Sent:</b> Friday, September 13, 2013 8:04 PM</div>
<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] Feedback on use of query_posts
please-Badidea?</div></div></div></div></div>
<div> </div></div>
<div>
<div>
<div style="FONT-STYLE:normal;DISPLAY:inline;FONT-FAMILY:'Calibri';FONT-SIZE:small;FONT-WEIGHT:normal;TEXT-DECORATION:none">
<div dir="ltr">
<div style="FONT-FAMILY:'Calibri';FONT-SIZE:12pt">
<div>So front-page.php basically template redirects ‘overrides’ the page
that you set it to then? and the blog loop uses the
pre-get-parser at that point on it?</div>
<div> </div>
<div>Damn, well yeah I was doing it wrong. (sorry chip)</div>
<div> </div>
<div style="FONT-STYLE:normal;DISPLAY:inline;FONT-FAMILY:'Calibri';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> Friday, September 13, 2013 7:48 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] Feedback on use of query_posts
please-Badidea?</div></div></div>
<div> </div></div>
<div style="FONT-STYLE:normal;DISPLAY:inline;FONT-FAMILY:'Calibri';FONT-SIZE:small;FONT-WEIGHT:normal;TEXT-DECORATION:none">
<div dir="ltr">You don't assign front-page.php to a static page, because
front-page.php isn't a custom page template. In fact, front-page.php should
*not* even have a "Template Name:" phpDoc header (which is what would allow
it to be assigned to a static page).
<div> </div>
<div>The front-page.php template file is used contextually by WordPress, as
per the Template Hierarchy, based on settings -> reading -> "front
page displays" and "front page".</div></div>
<div><br><br>
<div>On Fri, Sep 13, 2013 at 10:42 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">
<div dir="ltr">
<div dir="ltr">
<div style="FONT-FAMILY:'Calibri';FONT-SIZE:12pt">
<div>(snicker) guess I’ am doing it wrong then, because that has never
worked for me to assign front-page.php to a static page it has always
overwritten the main</div>
<div> </div>
<div> </div>
<div> </div>
<div> </div>
<div style="FONT-STYLE:normal;DISPLAY:inline;FONT-FAMILY:'Calibri';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="zulfikarnore@live.com" href="mailto:zulfikarnore@live.com" target="_blank">Zulfikar Nore</a> </div>
<div><b>Sent:</b> Friday, September 13, 2013 7:32 PM</div>
<div><b>To:</b> <a title="theme-reviewers@lists.wordpress.org" href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">Theme
Reviewers</a> </div>
<div>
<div>
<div><b>Subject:</b> Re: [theme-reviewers] Feedback on use of query_posts
please -Badidea?</div></div></div></div></div>
<div> </div></div>
<div>
<div>
<div style="FONT-STYLE:normal;DISPLAY:inline;FONT-FAMILY:'Calibri';FONT-SIZE:small;FONT-WEIGHT:normal;TEXT-DECORATION:none">
<div dir="ltr">
<div>Ah, progress....</div>Now I'm getting the hang of front-page.php
:)<br><br>
<div>
<hr>
Date: Fri, 13 Sep 2013 22:30:14 -0400<br>From: <a href="mailto:chip@chipbennett.net" target="_blank">chip@chipbennett.net</a><br>To: <a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br>
Subject: Re:
[theme-reviewers] Feedback on use of query_posts please -Badidea?<br><br>
<div dir="ltr">Both front-page.php and home.php are templates, defined in
the Template Hierarchy. What they are not, however, is custom static-page
templates. WordPress provides a core method to assign a static page to the
front page and to display the blog posts index, and the Template Hierarchy
defines which template files are used to render those contexts.
<div> </div>
<div>To answer your specific question: when a user selects "static page"
for "front page displays, and then assigns static pages to the front page
and posts page, WordPress will use front-page.php to render the front
page, and home.php to render the posts page.</div></div>
<div><br><br>
<div>On Fri, Sep 13, 2013 at 10:27 PM, Zulfikar Nore <span dir="ltr"><<a href="mailto:zulfikarnore@live.com" target="_blank">zulfikarnore@live.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;PADDING-LEFT:1ex">
<div>
<div dir="ltr">Neither of which are templates.
<div> </div>
<div>front-page.php will be picked up first so where will home.php fit
in?</div>
<div><br><br>
<div>
<hr>
Date: Fri, 13 Sep 2013 22:24:49 -0400
<div>
<div><br>From: <a href="mailto:chip@chipbennett.net" target="_blank">chip@chipbennett.net</a><br>To: <a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a><br>
Subject: Re:
[theme-reviewers] Feedback on use of query_posts please
-Badidea?<br><br>
<div dir="ltr">That other page is... (wait for it...)
<div> </div>
<div>home.php</div></div>
<div><br><br>
<div>On Fri, Sep 13, 2013 at 10:23 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;PADDING-LEFT:1ex">
<div dir="ltr">
<div dir="ltr">
<div style="FONT-FAMILY:'Calibri';FONT-SIZE:12pt">
<div>Okay so you have it "HALF” right .</div>
<div> </div>
<div>the second part of that is to have the BLOG LOOP on another
PAGE</div>
<div> </div>
<div>get it yet?</div>
<div> </div>
<div> </div>
<div> </div>
<div style="FONT-STYLE:normal;DISPLAY:inline;FONT-FAMILY:'Calibri';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> Friday, September 13, 2013 7:14 PM</div>
<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] Feedback on use of
query_posts please -Badidea?</div></div></div></div></div>
<div> </div></div>
<div>
<div>
<div style="FONT-STYLE:normal;DISPLAY:inline;FONT-FAMILY:'Calibri';FONT-SIZE:small;FONT-WEIGHT:normal;TEXT-DECORATION:none">
<div dir="ltr">No, I think I have it exactly:
<div> </div>
<div>"<span style="FONT-FAMILY:arial,sans-serif;FONT-SIZE:13px">But
I've had a lot of requests for options to hide certain sections and
one of them <b>was the blog feed on front
page</b>."</span></div></div>
<div><br><br>
<div>On Fri, Sep 13, 2013 at 10:12 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">
<div dir="ltr">
<div dir="ltr">
<div style="FONT-FAMILY:'Calibri';FONT-SIZE:12pt">
<div>Yeah, you’re not getting it.</div>
<div> </div>
<div>It’s not for the front page </div>
<div> </div>
<div> </div>
<div style="FONT-STYLE:normal;DISPLAY:inline;FONT-FAMILY:'Calibri';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> Friday, September 13, 2013 7:11 PM</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>
<div>
<div>
<div><b>Subject:</b> Re: [theme-reviewers] Feedback on use of
query_posts please - Badidea?</div></div></div></div></div>
<div> </div></div>
<div style="FONT-STYLE:normal;DISPLAY:inline;FONT-FAMILY:'Calibri';FONT-SIZE:small;FONT-WEIGHT:normal;TEXT-DECORATION:none">
<div>
<div>
<div dir="ltr">index.php is NOT the front page template, and should
not be used as such. It is the default fallback template.
<div> </div>
<div>Use front-page.php for your front page template, and home.php
for your blog posts index template. Then all of your issues go away,
magically. :)</div></div>
<div><br><br>
<div>On Fri, Sep 13, 2013 at 9:48 PM, Zulfikar Nore <span dir="ltr"><<a href="mailto:zulfikarnore@live.com" target="_blank">zulfikarnore@live.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex">
<div>
<div dir="ltr">I'm using the index.php showing featured content at
the top followed by the blog feed - which works fine and I had
planned to stick with that. But I've had a lot of requests for
options to hide certain sections and one of them was the blog feed
on front page.
<div> </div>
<div>template.blog.php is to open the option to still have a page
with the blog feed on it when the user has opted to hide them on
the front.</div>
<div> </div>
<div>Long story short - user hides posts on front but still wants
a blog fed page and this is my attempt to fill that need.<br><br>
<div>
<hr>
Date: Fri, 13 Sep 2013 21:42:43 -0400<br>From: <a href="mailto:chip@chipbennett.net" target="_blank">chip@chipbennett.net</a><br>To: <a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a>
<div><br>Subject: Re: [theme-reviewers] Feedback on use of
query_posts please - Bad idea?<br><br></div>
<div>
<div>
<div dir="ltr">Why do you need template-blog.php when there is
home.php for exactly that purpose?</div>
<div><br><br>
<div>On Fri, Sep 13, 2013 at 8:22 PM, Zulfikar Nore <span dir="ltr"><<a href="mailto:zulfikarnore@live.com" target="_blank">zulfikarnore@live.com</a>></span> wrote:<br>
<blockquote style="BORDER-LEFT:#ccc 1px solid;PADDING-LEFT:1ex">
<div>
<div dir="ltr">I've read around that using query_posts is bad but
I've seen many a themes using it and get away with it.
<div> </div>
<div>My case is I'm trying to put together a template-blog.php
for StrapVert and this is what I've come up with so far:</div>
<div> </div>
<div>
<div>add_filter('option_show_on_front', '__return_false');</div>
<div> global $wp_query;</div>
<div> query_posts(array(</div>
<div><span style="WHITE-SPACE:pre-wrap"></span> 'paged'
=> $wp_query->get('paged'),</div>
<div><span style="WHITE-SPACE:pre-wrap"></span>
'post__not_in' => get_option('sticky_posts'),</div>
<div> ));</div>
<div> </div>
<div> global $more; $more = 0;</div>
<div> get_template_part('index-blog');</div>
<div> $more = 1;</div>
<div>remove_filter('option_show_on_front',
'__return_false');</div>
<div> </div>
<div> wp_reset_query();</div>
<div>wp_reset_postdata();</div></div>
<div> </div>
<div>But before I add these changes to the theme and submit an
update I'd like some feedback on "How Really Bad" is query_posts
and can I "get away" with the above?</div>
<div> </div>
<div>Thanks in advance,</div>
<div>Zulf
</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><br>_______________________________________________
theme-reviewers mailing list <a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a> <a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a></div>
</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></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><br>
<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>
<br></div></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><br>_______________________________________________
theme-reviewers mailing list <a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a> <a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a></div>
</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><br>_______________________________________________
theme-reviewers mailing list <a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a> <a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a></div>
</div>
<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></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>
<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>
<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></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><br>
<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>
<br></div></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><br>_______________________________________________
theme-reviewers mailing list <a href="mailto:theme-reviewers@lists.wordpress.org" target="_blank">theme-reviewers@lists.wordpress.org</a>
<a href="http://lists.wordpress.org/mailman/listinfo/theme-reviewers" target="_blank">http://lists.wordpress.org/mailman/listinfo/theme-reviewers</a></div></div></div>
<p>
</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>
<p></p></div></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><br></div>
</div></div></blockquote></div><br></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></div>
</div></div></blockquote></div><br></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></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>