<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><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><br></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><br></div><div><div>add_filter('option_show_on_front', '__return_false');</div><div> global $wp_query;</div><div> query_posts(array(</div><div><span class="Apple-tab-span" style="white-space:pre"> </span> 'paged' => $wp_query->get('paged'),</div><div><span class="Apple-tab-span" style="white-space:pre"> </span> 'post__not_in' => get_option('sticky_posts'),</div><div> ));</div><div><br></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><br></div><div> wp_reset_query();</div><div>wp_reset_postdata();</div></div><div><br></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><br></div><div>Thanks in advance,</div><div>Zulf </div> </div></body>
</html>