You’re nearly there, you just need to tell WP that you want to query posts as well as your Press CPT.
So:
query_posts( array( 'post_type' => array('posts', 'portfolio'), ...);
where portfolio is the name of your custom post type.
The relevant Codex page
[Update]
So this is how the query should look
<?php
$args = array('post_type'=>array('posts', 'portfolio'));
query_posts($args);
if ( have_posts() ) : while ( have_posts() ) : the_post();
?>
Related Posts:
- what is the correct way to compare dates in a WP query_posts meta_query
- How to get post content by calling ajax?
- How to show all posts of the category in wordpress?
- Display a query with multiple post types and same relationship on a single page
- Fail to compare dates in meta_query
- How to filter custom posts by tags and custom fields?
- Order by & include array by specific post ids
- How to call a custom post with get_posts() instead of query_posts()?
- Custom post type archive 404’s with paginate_links
- Retrieving 3 latest post from each of 5 different custom post types
- How to hook get_terms() to only show count of posts that have custom meta
- Using Offset in Custom Post Type Query
- how to group custom post type posts by custom taxonomy terms
- Using Query Posts With Multiple Post Types And A Taxonomy
- Query posts by custom post type and custom taxonomy
- Query post types with multiple keys
- posts_nav_link on single post template
- pre get posts changing the query
- Prevent change with new query_posts()
- Get permalink and title by post name?
- How to get current post id of a custom post type in a loop using template singel-{custom type}.php?
- Custom Post Type sorted by Title
- Get all posts WHERE custom_field is LIKE value
- ‘category__and’ for custom taxonomy?
- Post the content of a specific “Custom Post Type” post within a post using a shortcode
- Conditionally Query Custom Post Types by Post Meta for Blog Home Page?
- reference the current category being used in the category.php page
- Setting posts per page in query_posts
- How to insert content from another Custom Post type into Post?
- Pagination is not working on single-{slug}.php but works fine on page-{slug}.php
- Sort by custom field is not working
- Custom query works but returns “Undefined Offset: 0”
- Sorting multiple custom post types without a meta key/value pair by sort order
- Custom post types instead of regular post’s categories in a page template
- Change or update WordPress loop based on dropdown selection
- How to query custom post types posts filtered by multiple custom taxonomies through a form selection
- Display custom post type from dynamic custom field
- Archive for custom taxonomy lists all posts instead of current taxonomy
- List children on child post
- child of post type (custom)
- Page template with different page and post content
- Order query using custom meta data
- Get latest 3 posts from multiple CPT in one query
- will post_id ever change? Can I safely use post_id for custom queries?
- Custom Post Type Query for Sidebar Doesn’t Work on Front Page
- Custom fields (wp_post_meta) vs Custom Table for large amount of data
- Query posts based on the meta key values of logged-in users?
- BBPress Search results in WordPress search
- pagination not working for category.php (custom post types in categories)
- query_posts adding extra code to homepage
- 3 random images from custom post type, each in a div with a diffrent class
- Why are some of my custom posts not showing up on my page?
- post-per-page and offset not working
- Control content before and after custom post type loop
- Custom post type, custom taxonomy, query posts only from taxonomy (children of)
- Getting all ID’s matching a title in a custom post type
- Count custom post type based on two meta data
- attach CPT data to a taxonomy
- Targeting custom post type via functions.php doesn’t work
- postsperpage value not being applied
- Incorrect ordering of custom post type based on time
- Custom Post type showing up in loop, regular posts are not showing up
- Query Custom Post Type based on text input
- Custom Post Types Not Showing Up In query_posts Result
- Custom Post Type ‘Event’: Chronological list of recurring events from meta_values in array
- Sorting the Loop by Taxonomy Value
- Custom Query: Multiple CPTs and a taxonomy filter
- Sticky posts limit query and pagination for a custom post type
- Custom wp-query display post only today
- Custom post type archive page filters
- Filling custom post type posts from a rest api
- Trying to list years (for a filter) but not all years display
- custom post type and user post count shortcode
- Modify default Related Posts Code to Custom Post Type
- Use WP_query to match post types based on custom field values
- minimize wp_query call to database
- Group Custom Posts Types in a Relation field of ACF
- Can I show some specific post rather than latest post?
- update a posts of other custom post type
- How to set class to “current-page” on the currently viewed single post within a CPT
- Imported Content Doesnt Show Up On Frontend
- Optimise custom post type queries
- How to get Last post Id of custom post type in wordpress
- Display 2nd category, only once, as sub-heading, in the loop
- display news with pictures 3 small and one large (loop)
- Filter RSS feed for custom post type to events for next 7 days only
- query_post causes the posts to be loaded twice on load more posts
- Ordering custom post type by custom field without a title
- Custom post type blog pagination conflict
- How can I list custom post by custom category?
- Query Posts From Multiple Post Types
- Return only custom post types for the page, not all
- WP Build-In Post selector for CPT
- How to apply order on custom taxonomy and custom meta key on custom post type
- send user to first page of results when reposting to page?
- Query custom type posts by array of IDs
- Render a loop in Timber (twig for WordPress)
- show custom post’s post in two different divs [duplicate]
- Trying to set up a range filter for related custom post types
- Display ACF object field data using Elementor Custom Query