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
- How can i link a custom post type thumbnail to intermediate size
- i cant see the max_num_pages of a custom wp query
- Archieve.php not loading for custom post type
- Getting Un Wanted Gallery Shortcode In The Page on Loop
- How to hook WP initialization without modifying functions.php
- How to create multiple editor?
- Custom post type, have only my meta boxes
- detect your custom post type in WordPress
- Add categories to a page with out using Custom Post Types
- New “Custom Types” item in admin menu. Is this a plugin or a new wordpress feature?
- ACF in wordpress
- Display custom post using ID
- Create metaboxes based on custom post type
- How can I have different content for different countries?
- Custom WP_Query doesn’t display all posts
- Specify a particular page to list all custom types
- post_parent in custom post type
- WordPress app page not found error for posts with hyphen in permalink
- Where is the sticky post option?
- Two column layout with alphabetical ordering
- Pods CMS: How to add custom column to Adnvanced Content Type
- Create a comments template for custom post types
- Custom post type permalink sends to 404.php
- WP_Query with custom post type ID
- Api rest_route 404 while building filter for custom posts (filtered by multiple meta keys / custom fields)
- how to get this tax_query working?
- Show Taxonomies with admin area for custom post type?
- Pagination doesnt work in custom post type
- Archive links for custom post types
- Include custom post type custom taxonomies in Categories widget
- Template Hierarchy for custom post type pages
- Should Custom post types and fields be in the theme files or in a custom plugin packed into the theme?
- How To Post WordPress Custom Post Types to Twitter via IFTTT
- Pagination hitting 404 page on /page/4
- Can’t delete a custom post in front end with custom role
- Unable to format dates to put in event calendar
- Post URL based on Custom Post Types variables
- How to Use Custom Meta Field Instead of CPT Title in Post URL
- custom permalink for post only not custom post types
- Filter content in shortcode
- Get image from external URL
- Add custom field to admin area witthout using a metabox
- Getting only one post per category
- CMB2 metabox create select with list of post from CPT
- Override Plugin Custom Post Type ‘single’ view
- Update Post Status On Woocommerce Payment Complete
- Modify Posts from Custom_Post_Type within the plugin
- Create a simple Testimonial page
- Assign a template to a custom post type when displayed by the main loop on the home page
- Custom Post type content within a slider
- If Post type use sidebar (‘tree’)
- Can I assign a theme to a custom post type?
- Custom pages missing on “front page” setting
- Custom post type in Custom widget – $listItem
- Add custom columns in custom post type browse page
- Create Custom Post type that uses Page.php template
- Custom Post Type – after disable ‘Add New’, I can’t edit and delete post
- Overriding Plugin Function in Child Theme
- Validate Custom Post Type fields
- Custom post types, disable fields
- Send post changes to set email addresses (not users or subscribers)
- How can I modify a custom post type and custom page template for a child theme if all content seams to be handled by theme’s ‘native’ plugin?
- Types plugin custom post add_action hooks
- Having Issue on Getting Metabox Checkbox Value
- Accessing a protected property of a post
- Custom Plugin – Query CPT – Display Results
- Multiple archives to display parent and subcategories content
- Plain links in single-class.php and archive-class.php not working
- Searching post types
- wordpress post_where set only for my costum post type
- Custom meta box in custom post type not working
- Add admin script to several post types
- how can i show a google map in custom post type
- Custom post type 404 error on “default” or “numeric” permalinks
- Custom post type archive – error in nav-menu-template.php
- 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 – Main page for certain posts
- Adding a Custom Field to be used by Posts 2 Posts
- Custom post type posts wont show in wp_nav_menu()
- Posts 2 Posts plugin: best way to change connection field value?
- How to exclude categories from a sidebar with active widgets in it?
- How can I tell if I’m on a custom post type archive page?
- How does one go about converting custom post type to post format?
- How to display magic field’s custom write panel in wordpress theme?
- Creating an option for writing a post without an author attribution for a group blog on WordPress
- Front end create custom post types
- WordPress giving me the index
- Not Able to Add New Class To CPT Attachment Image
- How to Enable Ascending or Descending In WordPress Default Built-in Loop
- Custom post category name showing empty
- How to store the third party script with HTML code in the wordpress custom input field?
- Getting Same Description in All the Custom Taxonomy Posts
- How to display posts from a certain category in a bootstrap 5 carousel loop with multiple items?