Prevent change with new query_posts()

I have to display 12 items of my custom post type on the front page of my theme. However, when I do this, the page title (…) changes to Custom Post Type archive – Page Title.

Since this is the front page, I just want this to have the normal frontpage title, namely Page title – page tag line. Is there any way to set this variable in the new query_posts()? Or to just prevent that the page title changes, when using a new query_posts()?

I don’t mind this happening on sub-pages and such, but on the front page, it shouldn’t change when I filter resutls on post_type.

This is the query I use right now:

query_posts( array(
‘post_type’ => ‘bwps’,
‘posts_per_page’ => 12

Read more here:: <a href= target="_blank" title="Prevent change with new query_posts()” rel=nofollow>Prevent <title> change with new query_posts()</a></p> <div class='yarpp-related'> <h3>Related posts:</h3><ol> <li><a href="" rel="bookmark" title="custom post type section selector">custom post type section selector </a><br><small>I have a custom post type which is named products. Each product will have overview/details/pricing. How can i make a navigation inside my post-type for...</small></li> <li><a href="" rel="bookmark" title="How can i make a page show all posts (gridview) with slideshow images every post (any plugin)?">How can i make a page show all posts (gridview) with slideshow images every post (any plugin)? </a><br><small>I want to make a page show all posts (like that page, with slideshow on every post instead a thumbnail post Read more here::...</small></li> <li><a href="" rel="bookmark" title="How do you make a custom post type invisible for subscribers">How do you make a custom post type invisible for subscribers </a><br><small>I am trying to make a custom post type invisible for the user role subscriber. How do I do that? I tried the following, but...</small></li> <li><a href="" rel="bookmark" title="in wordpress custom post type what is the use singular_name">in wordpress custom post type what is the use singular_name </a><br><small>function create_posttype() { register_post_type( ‘movies’, // CPT Options array( ‘labels’ => array( ‘name’ => __( ‘Movies’ ), ‘singular_name’ => __( ‘Movie’ ) ), ‘public’ =>...</small></li> <li><a href="" rel="bookmark" title="Specific template for subcategory of custom taxomy">Specific template for subcategory of custom taxomy </a><br><small>I’ve a custom post type that I manage with a custom taxonomy. I’ve made a template: taxonomy-brand.php, to show the top level categories of the...</small></li> </ol> </div> </div><!-- .entry-content --> </div> </div> </article><!-- #post-## --> <nav class="navigation post-navigation" role="navigation"> <h2 class="screen-reader-text">Post navigation</h2> <div class="nav-links"><div class="nav-previous"><a href="" rel="prev">Output Post with ACF Fields into other Post</a></div><div class="nav-next"><a href="" rel="next">Insert Sponsor logo in custom own theme</a></div></div> </nav> <div id="comments" class="comments-area"> <div id="respond" class="comment-respond"> <h3 id="reply-title" class="comment-reply-title">Leave a Reply <small><a rel="nofollow" id="cancel-comment-reply-link" href="/prevent-change-with-new-query_posts/#respond" style="display:none;">Cancel reply</a></small></h3> <form action="" method="post" id="commentform" class="comment-form" novalidate> <p class="comment-notes"><span id="email-notes">Your email address will not be published.</span> Required fields are marked <span class="required">*</span></p><p class="comment-form-comment"><label for="comment">Comment</label> <textarea id="comment" name="comment" cols="45" rows="8" maxlength="65525" required="required"></textarea></p><p class="comment-form-author"><label for="author">Name <span class="required">*</span></label> <input id="author" name="author" type="text" value="" size="30" maxlength="245" required='required' /></p> <p class="comment-form-email"><label for="email">Email <span class="required">*</span></label> <input id="email" name="email" type="email" value="" size="30" maxlength="100" aria-describedby="email-notes" required='required' /></p> <p class="comment-form-url"><label for="url">Website</label> <input id="url" name="url" type="url" value="" size="30" maxlength="200" /></p> <p class="form-submit"><input name="submit" type="submit" id="submit" class="submit" value="Post Comment" /> <input type='hidden' name='comment_post_ID' value='160131' id='comment_post_ID' /> <input type='hidden' name='comment_parent' id='comment_parent' value='0' /> </p><p style="display: none;"><input type="hidden" id="akismet_comment_nonce" name="akismet_comment_nonce" value="671047541e" /></p><p style="display: none;"><input type="hidden" id="ak_js" name="ak_js" value="167"/></p> </form> </div><!-- #respond --> </div><!-- #comments --> </main><!-- #main --> </div><!-- #primary --> <aside id="sidebar-primary" class="widget-area sidebar" role="complementary"> <section id="categories-2" class="widget widget_categories"><h2 class="widget-title">Categories</h2> <ul> <li class="cat-item cat-item-36"><a href="" title="Wordpress .htaccess">Wordpress .htaccess</a> </li> <li class="cat-item cat-item-25"><a href="" title="Wordpress actions">Wordpress actions</a> </li> <li class="cat-item cat-item-24"><a href="" title="Wordpress admin">Wordpress admin</a> </li> <li class="cat-item cat-item-38"><a href="" title="Wordpress Ajax">Wordpress Ajax</a> </li> <li class="cat-item cat-item-40"><a href="" title="Wordpress Apache">Wordpress Apache</a> </li> <li class="cat-item cat-item-6"><a href="" title="Wordpress categories">Wordpress categories</a> </li> <li class="cat-item cat-item-22"><a href="" title="Wordpress comments">Wordpress comments</a> </li> <li class="cat-item cat-item-27"><a href="" title="Wordpress css">Wordpress css</a> </li> <li class="cat-item cat-item-11"><a href="" title="Wordpress custom-field">Wordpress custom-field</a> </li> <li class="cat-item cat-item-2"><a href="" title="Wordpress custom-post-types">Wordpress custom-post-types</a> </li> <li class="cat-item cat-item-7"><a href="" title="Wordpress custom-taxonomy">Wordpress custom-taxonomy</a> </li> <li class="cat-item cat-item-15"><a href="" title="Wordpress customization">Wordpress customization</a> </li> <li class="cat-item cat-item-21"><a href="" title="Wordpress filters">Wordpress filters</a> </li> <li class="cat-item cat-item-8"><a href="" title="Wordpress functions">Wordpress functions</a> </li> <li class="cat-item cat-item-26"><a href="" title="Wordpress html">Wordpress html</a> </li> <li class="cat-item cat-item-16"><a href="" title="Wordpress images">Wordpress images</a> </li> <li class="cat-item cat-item-28"><a href="" title="Wordpress javascript">Wordpress javascript</a> </li> <li class="cat-item cat-item-29"><a href="" title="Wordpress jquery">Wordpress jquery</a> </li> <li class="cat-item cat-item-14"><a href="" title="Wordpress loop">Wordpress loop</a> </li> <li class="cat-item cat-item-12"><a href="" title="Wordpress menus">Wordpress menus</a> </li> <li class="cat-item cat-item-41"><a href="" title="Wordpress mod-rewrite">Wordpress mod-rewrite</a> </li> <li class="cat-item cat-item-13"><a href="" title="Wordpress multisite">Wordpress multisite</a> </li> <li class="cat-item cat-item-35"><a href="" title="Wordpress Mysql">Wordpress Mysql</a> </li> <li class="cat-item cat-item-19"><a href="" title="Wordpress pages">Wordpress pages</a> </li> <li class="cat-item cat-item-17"><a href="" title="Wordpress permalinks">Wordpress permalinks</a> </li> <li class="cat-item cat-item-3"><a href="" title="Wordpress PHP">Wordpress PHP</a> </li> <li class="cat-item cat-item-5"><a href="" title="Wordpress plugin-development">Wordpress plugin-development</a> </li> <li class="cat-item cat-item-1"><a href="" title="Wordpress plugins">Wordpress plugins</a> </li> <li class="cat-item cat-item-4"><a href="" title="Wordpress posts">Wordpress posts</a> </li> <li class="cat-item cat-item-39"><a href="" title="Wordpress redirect">Wordpress redirect</a> </li> <li class="cat-item cat-item-23"><a href="" title="Wordpress shortcode">Wordpress shortcode</a> </li> <li class="cat-item cat-item-10"><a href="" title="Wordpress theme-development">Wordpress theme-development</a> </li> <li class="cat-item cat-item-18"><a href="" title="Wordpress themes">Wordpress themes</a> </li> <li class="cat-item cat-item-20"><a href="" title="Wordpress widgets">Wordpress widgets</a> </li> <li class="cat-item cat-item-37"><a href="" title="Wordpress Woocommerce">Wordpress Woocommerce</a> </li> <li class="cat-item cat-item-9"><a href="" title="Wordpress wp-query">Wordpress wp-query</a> </li> </ul> </section> </aside><!-- #secondary --> </div><!-- .inner-wrapper --></div><!-- .container --></div><!-- #content --> <footer id="colophon" class="site-footer" role="contentinfo"> <div class="container"> <div class="copyright"> Copyright © All rights reserved. </div><!-- .copyright --> <div class="site-info"> Business Point by <a href="" rel="designer">Promenade Themes</a> </div><!-- .site-info --> </div><!-- .container --> </footer><!-- #colophon --> </div><!-- #page --> <!-- AdSense Manager v4.0.3 (0.596 seconds.) --><a href="#page" class="scrollup" id="btn-scrollup"><i class="fa fa-angle-up"></i></a><link rel='stylesheet' id='yarppRelatedCss-css' href='' type='text/css' media='all' /> <script type='text/javascript' src=''></script> <script type='text/javascript' src=''></script> <script type='text/javascript' src=''></script> <script type='text/javascript' src=''></script> <script type='text/javascript' src=''></script> <script type='text/javascript' src=''></script> <script type='text/javascript' src=''></script> <script async="async" type='text/javascript' src=''></script> </body> </html>