SPACES Portfolio Mode Installation Guide
This guide walks you through the exact steps to configure SPACES Portfolio Mode on a WordPress site.
Requirements (Before You Start)
- Minimum Site Memory: 1024MB
- Add this to your wp-config.php:
- php
- define('WP_MEMORY_LIMIT', '1024M');
- Your hosting provider must actually allocate this much memory.
- If your Market needs to show more than 2,000 units, you’ll need more memory (example: 8192MB for very large sites).
Timber 2.0+ Required
- SPACES ships with Timber 2.x.
- If your site already has Timber 1.x as a plugin, you must remove or upgrade it to avoid conflicts.
Terminology
- Spaces Asset ("Asset") Represents a single property. Holds data like unit availability, floorplans, phone numbers, and location.
- Spaces Market ("Market") A group of Assets. Each Market appears as a Portfolio. Created via [Spaces >
Spaces Markets] in the WordPress admin.
Setup Procedure
STEP 1: Install the PluginIf not already installed:
- Follow the Spaces Installation & Configuration Guide.
STEP 2: Configure Spaces Assets for each property:
- Import Pricing Data. Go to [Spaces > SightMap API] and import the property.
- Create the Asset. Go to [Spaces > Assets] → Add New. Fill out:
Required Fields:
- SPACES > SPACES SightMap Asset: Choose the correct asset.
- SPACES > Portfolio Mode
- Main Website CTA: Link to the property’s site.
- SPACES Page URL: Link to its SPACES embed page.
- SPACES > Contact
- Phone Number
- Map Location (crucial for map display)
SPACES Markets
- Search Bar: Add to an existing Market or type to create new.
Set Featured Image
- Click Update to save changes.
STEP 3: Global Settings
- Go to [SPACES > Global Settings > SPACES Portfolio Support]
SPACES Google Maps API Key
- Provided by Engrain or generate your own: Google Maps Docs
- SPACES Google Map JSON Style
Optional: paste JSON styling here. To use the default map, enter []
Click Update to save.
STEP 4: Create SPACES Markets
- Go to [SPACES > SPACES Markets]
- Left side = create new Market
- Name: e.g., “Arizona Senior Living”
- Don’t use commas — they cause issues in the search bar.
- Slug: lowercase, hyphenated, e.g., arizona-senior-living
- Description: Optional
- Click Add New SPACES Market
- Assets → Markets
- Add relevant properties to this Market.
STEP 5: Embed Portfolio Mode on a Page
- Go to [SPACES > SPACES Markets]
- Copy the shortcode next to your desired Market.
Format:
csharp
[spaces_inventory market_id="XXX"]
Go to [Pages]
- Paste the shortcode where you want the Portfolio to appear.
- Click Update
- Preview the page to confirm Portfolio Mode displays correctly.
Troubleshooting Tips
- Critical error after install? Likely a Timber 1.x conflict.
- Missing map or pin? Check the Google Maps API key and “Map Location” field in the Asset.
- Can’t see a Market? Make sure Assets are assigned to it and the memory limit isn’t exceeded.
Updated about 2 months ago