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:
‘post_type’ => ‘bwps’,
‘posts_per_page’ => 12
Read more here:: <a href=https://wordpress.stackexchange.com/questions/307191/prevent-title-change-with-new-query-posts target="_blank" title="Prevent