Just remove query_posts("post_type=shorts"); from your code.
Related Posts:
- What are the differences between custom post type and custom page templates?
- Setting a custom sub-path for blog without using pages?
- Add Content to Page without shortcodes
- Post formats “audio” and “video” only showing in index.php
- Ordering Posts List By Taxonomy Terms?
- Creating a Custom Post Type for Inserting Preset Content into Post & Pages?
- How to quickly switch custom post type singular template?
- Add a Template to a custom post type
- WordPress calls archive page instead of Custom Page Template
- How do I Make a custom post type get a custom post template in a plugin
- Assign Page Template Within A Custom Post Type
- Dynamic page.php template for custom post types
- Page Templates – this code only works for one Custom Post Type
- Pagination on a custom page template
- Custom Post Type – Archive page title
- Multiple templates for custom post type
- How do I create a custom post type for a training CMS in WordPress?
- Custom Post Types, Page Templates and Pagination. Why do I get a 404 Error?
- How do I create a page template to display a custom post type?
- How to make an archive page displaying posts in a date range
- Display Posts of a Category in Alphabetical Order (Custom Post Type)
- is_page_template not working as expected
- Child page in custom post throws 404 page not found
- CPT: archive-cpt.php VS custom page template
- Multiple portfolios with one custom post type?
- Take Variables Set in Functions.php and Echo Them Inside My Custom Post Template
- Including Custom Post Type posts in a page template contextually (or should I widget?)
- Custom Blog Post Listing in Genesis Sample Child Theme
- After updating a page, all pages on the site used the index.php template
- Page Templates Drop Down Select for Custom Post Types
- Pull in custom content types into page template
- Editable content on a Custom Archive page
- Using custom page templates with plugin [duplicate]
- Troubles with making a custom template for posts
- Creating a Page to View the List of Posts for a Custom Post Type?
- Change archive page template using pre_get_post
- Custom Page that comes with preloaded content for the user
- Custom-Posttype & Custom Taxonomy WP_Query
- Page template with different page and post content
- redirect automatic page that serves custom posttype content
- Adding sidebar to template creates horizontal gap the size of the side bar
- WordPress showing archive.php instead page
- Show Custom Post Type meta boxes only on Page Edit
- Adding the_content() in custom template email
- Creating a Page Template to display all items from a Custom Post Type
- Filter widget outputs
- Why does my content disapear when I make a page to match an archive name?
- Custom Post Type Template Alternative
- General advice on addressing content-centric pages
- next_/previous_post_link() `in_same_category` appears to fail when true
- WordPress Custom Search by post_type
- Custom post type pages return 404 page?
- Include php on a specific page template
- Page Template Dropdown For Custom Post Types
- providing access to post_id or post inside functions.php
- wp_get_canonical_url showing first url of the post for custom page
- How to get the current category with custom posts
- How to add page under a custom post type?
- Enabling permalinks disables custom page template
- Custom Post Type Specific Post Template
- Mixing Custom Post Types and Page Templates in WordPress 3.7.1
- Custom Post Type Template Insert not working properply
- Loop and add Specific Categories and Products Images
- custom post template ignored after altering permalinks
- Custom Post Type page template doesn’t show up
- How can I allow users to edit text that will be displayed on a custom post type archive page?
- Using get_terms() to list terms from one custom taxonomy AND from one specific built-in category
- Display ONE taxonomy and its assigned pages
- How To Display Posts Of Custom Post Type At Page Template
- Modify Custom Post Type Slug
- WordPress Page hierarchy ( parent is singular of custom post types slug ) is returning not found
- How can I create a button that when clicked populates a div with a list of foods that are checked as a certain type of ACF?
- Custom post type not pulling CSS
- How can I use a custom template to load custom post type posts based on a post_meta value
- Showing Custom Post Type with his templates on a custom page template
- Displaying posts inside table having issues
- Show index and not the archive for “Dog Custom Post” with default slug
- Ordering Posts List By Taxonomy Terms?
- Loading a template for a URL pattern
- custom fields not showing before get_header
- Custom Homepage As Single Page or Custom Post Type?
- Page Template For Custom Post Type doesn’t work on URL containing CPT name, other URL’s work
- Custom Post Type Pagination Not Working or Single Posts Displaying?
- Templates list in “Page Attributes” metabox is inaccurate
- Custom Post Type & Page Template
- Query custom post type and showing its content
- Modifying and Displaying URL’s in a Post Template using parse_url
- Display Custom Taxonomy of custom post type
- Custom page template not recognized with permalinks on
- Multiple search template with separate stylesheets
- Using custom post types within a section of a template
- Custom Post Type order Title ASC
- get tags from custom post type
- Dynamically change Custom Post Type Template OR Change Permalink?
- Page templates for custom post types
- using a template for more then 1 page
- Adding custom theme template to custom post type [duplicate]
- Can you programme the selected page template to display block patterns automatically?
- display related posts based on the PAGE TITLE
- Multiple search forms and respective results page templates?