You need to include post_type=
.
Your query would be an array of post types since you want 2 'post_type' => array( 'post', 'property')
http://codex.wordpress.org/Class_Reference/WP_Query#Type_.26_Status_Parameters
Related Posts:
- Pagination not working with custom loop
- How to use a custom post type as front page?
- Am unable to reset a query properly
- Get next and previous 3 posts in a term in single post page
- Listing custom post types on archive page with array
- How to conditionally add Custom Post Type to Front Page
- Custom Post Type not showing in main loop
- Custom Post type showing up in loop, regular posts are not showing up
- Changing WordPress sort order for returned child pages
- Update query based on CPT / Post Type, show all sorted by date
- Shortcode with loop stacks output
- How can I group by Taxonomy on Custom Post Type while filtering out based on custom Meta
- Is it possible to add query parameters on the archive page?
- $post breaking container loop
- Multiple Queries and Loops within CPT Archive
- Pagination not working with custom loop
- Pagination not working with custom loop
- Pagination not working with custom loop
- Pagination not working with custom loop
- Listing custom post type items from a couple of custom taxonomies
- Pagination not working with custom loop
- Query Multiple Post Types and Paginate Newly Created List
- Post ID randomly printing on page
- A custom post within a custom post
- Display Custom Taxonomy Alphabetically
- Full Custom Post Type List Organised by two Taxonomies
- Displaying Custom Posts on a Page
- Shortcode not working with post counter
- Problem: wp_query outputs all images on site
- Display post content with respect to its title?
- Get custom post type’s fields in a while loop as variables
- Custom Post Type within the Loop on Homepage (Page Template)
- First custom field value (out of several) displayed twice after query
- The loop seems stuck to a single (now deleted) post
- Prioritize posts in query by meta keys?
- Posts per row on archive page (custom post type)
- What’s the equivalent of Hide From Menus on MODX on WordPress?
- How do I know the ‘meta_key’ for ordering my custom post type
- WP_Query orderby and tax_query
- Custom Theme With Custom Loops
- I am trying to hide a custom post type category to logged in users with Pre_Get_Posts
- Displaying Posts from Custom Post Types
- Custom Post Types strange pagination problem
- Different Ways to Query Custom Post Types?
- Custom post type conditional in loop
- Listing all term items alphabetically / sorting loop
- How to organise this data within WordPress
- Display related custom taxonomy posts in sidebar
- pagination not working for category.php (custom post types in categories)
- Only show posts with date of today or in the future (i.e don’t show past posts)?
- How do I control the output of a custom post type in the loop?
- Display custom post type posts first, then default posts
- Custom post type posts don’t show in archive widget
- Custom Post Type Category Link
- Custom Post type category pages template and loop
- Three Most Recent Posts, One Per Term
- Targeting custom post type
- Does WP have a global of $id?
- WordPress Loop if/else
- Showing specific post in order of array wp_query
- get_the_title() is returning results from previous loop
- Custom Post Loop pulling all custom posts, not just one
- Conditional for a Single Post That Belongs to a Category?
- Wrapping x posts in html without leaving empty html
- WP Query post__in not returning correct results
- Custom Post Type single.php template only shows the latest post
- Sort posts in loop by the WooCommerce Membership of the author
- Including all post id’s of a custom post type into an array
- How to include custom post type posts on a page?
- 4 column-loop ordered alphabetically with entries grouped (and labeled) by their first letter
- Tag page only display 10 posts
- Number of posts in the archive
- Query of custom post types only shows first post
- Custom query for custom post_type
- Adding custom field values to wp_list_pages
- Query multiple taxonomies with pre get posts
- How to query 2 custom post types that need to share a slug?
- How can I group posts by months and years?
- Pagination Error : Duplicate argument being outputted
- get_post_type is always post
- Multiple Custom Post Type queries, how to DRY it up
- Custon Content within WordPress Loop
- Trying to Create a PHP Variable for post_type that can be referenced Site Wide
- Bootstrap accordion looping through posts incorrectly
- Main query not querying any posts in custom taxonomy template
- Loop increase number
- Custom post type showing same Post on all Pages
- get_post_meta is not working inside shortcode
- Using wp_query to modify the loop in index.php for a CPT
- the_post() is printing titles in page footer
- Query Custom Post Types with checkboxes
- Custom WP_Query doesn’t display all posts
- WP_Query() with custom post type and taxonomy — get all terms?
- Query & the_content() is showing in the header
- show all custom posts types in home page
- Create Array from custom post type to display a slider
- List of child custom post types lists all custom post types
- Move Genesis Single Page/Single Post Title
- get parent content inside child posts
- 3 random images from custom post type, each in a div with a diffrent class