I’m not that familiar with the posts-to-posts Plugin, but your main problem may be that the category page doesn’t know which building you chose in the step before if you don’t transmit it in a parameter or save it in a session or cookie.
Maybe it would be better to output the connected items on the buildings page, like this:
Building (description etc)
- category 1
-item 1
- category 2
-item 2
-item 3
...
Related Posts:
- Custom post type’s posts are not showing anywere but in xml sitemap
- Methods for development wordpress themes [closed]
- Custom post type that lets users create a set of posts?
- Loop carousel slider in wordpress
- Author profile comments system
- Retrieve a post with its ACF repeater fields in wordpress
- Where to put my code: plugin or functions.php?
- How to put custom post types on front page
- How to set a fall back template for a custom post type in a plugin?
- Allow User to Edit Page Based on their Email
- Separating Search Results By Post Type
- Date query for a custom meta field
- Custom Search form not working in localhost
- Group search results by post type, but hide post types with no results
- Change plugin’s has_archive = true to false?
- Change upload_dir folder at a certain cpt but cant change back
- Multiple Content Block
- Message on Custom Posts Type admin page
- How do I create an archive page for standard posts?
- How to have the right design for a custom post type without accessing themes
- Remove parent from custom post type
- How to add the post ID (or any other post data) to a Contact Form 7 mail?
- need advice on how to do a lists using custom post types – taxonomy vs postmeta
- How to Get Current Custom Post Type Selected Taxonomy Term (Not All Terms)
- How to quickly reorder posts in the admin panel that will persist for the wp-api
- Displaying a custom post types custom taxonomy value?
- check if post title in a custom post type exists in page
- How to hack YARPP plugin to find related posts for custom post type?
- Custom posts don’t work
- What template files do I need to customise custom-category-term-links rather than fall back on archive.php?
- Custom Post Types. Are there any disadvantages/advantages in using a plugin to develop them?
- Get term name and term parent into custom post type permalink
- All of my custom posttypes are 404’ing
- How to change the post type a theme shows by default?
- Send notifications to custom post author when custom post is edited
- Custom Post Type + Categories
- Custom Post Type slug same as page name
- How to Get WordPress custom post data in WooCommerce product meta panel? [closed]
- Shortcode for CPT post content in a page
- WebP Fallback for Inline Background Image in Style Attribute
- How to specify a template for a path like http://example.com/something?
- To use custom post types, or not to use
- Autocomplete or suggest from post titles inside plugin
- i cant see the max_num_pages of a custom wp query
- Archieve.php not loading for custom post type
- Display custom post using ID
- Specify a particular page to list all custom types
- Where is the sticky post option?
- Pods CMS: How to add custom column to Adnvanced Content Type
- Custom post type permalink sends to 404.php
- WP_Query with custom post type ID
- How to Use Custom Meta Field Instead of CPT Title in Post URL
- Override Plugin Custom Post Type ‘single’ view
- Add custom columns in custom post type browse page
- Custom Post Type – after disable ‘Add New’, I can’t edit and delete post
- Validate Custom Post Type fields
- Custom Plugin – Query CPT – Display Results
- Plain links in single-class.php and archive-class.php not working
- Add admin script to several post types
- how can i show a google map in custom post type
- Why does my URL keep returning 404 error code?
- Make Next and Previous on single-$posttype.php use the same order as archive-$posttype.php
- Custom post type posts wont show in wp_nav_menu()
- Posts 2 Posts plugin: best way to change connection field value?
- Creating an option for writing a post without an author attribution for a group blog on WordPress
- How to search through all child taxonomies using WP_Query?
- Custom Post Taxonomy Template Not Loading Properly
- Why is this function so slow?
- Permalink URL connection between two custom types
- Taxonomy counter on Taxonomy List(plugin)
- Is it possible to arrange Custom Post Types from CPTUI into a Folder?
- Create dynamic logo carousel without using any plugin
- Custom Post Type single post type shown in theme single.php
- Include images from pages in wp search.php results in default wp search
- Why get_posts() returns empty array while I am trying to get posts from some specific taxonomies and work properly with others?
- Populate metabox dropdown with post title from another Custom Post Type (issues with wp_reset / global $post)
- Enable shortcodes on custom post type
- Best Plugins for Complex Index of Resources [closed]
- How to display all custom fields associated with a post type – IN THE ADMIN AREA?
- Display subcategories in the filter on CPT
- How to display custom post type in a submenu?
- Plugin Error on activating
- Cant insert wrapper div into index.php
- Function that get ACF fields value before saving
- Custom Post Types in plugins?
- Plugins for putting Custom Post Types into the Menu
- Create custom post order (with custom post type meta)
- Change position of Post Formats box?
- Posts 2 Posts: query connected — orderby problem
- Plugin – read post into blank page [duplicate]
- Single page for Custom Post Type not found
- How to Create Short Code Using Custom Post type
- How to hide home title on pages and posts?
- WP_Query is getting the post but the_post() not rendering any Post
- Custom Post Type to Plugin
- Woocommerce product page is not showing custom css [closed]
- Need some hints for my own WP theme development
- Show custom post type on post category page doesn’t work / breaks navigation
- Default WordPress Query for a Specific Custom Post Type URL
- How to make content as required in custom post type?