PRO FEATURE
The Pro version includes a built-in “Locations” custom post type that’s specifically designed for managing map locations. This provides a user-friendly way to create and organize locations without needing any third-party plugins.
Enabling the Locations CPT
- Navigate to TC Locations → Settings in WordPress admin
- Click the Locations CPT tab
- Add Display Name
- Add Slug
- Click Creat Location CPT
CPT Configuration Options
CPT Name
Customize the display name of the custom post type. Default is “Locations”.
Examples:
- Stores
- Offices
- Properties
- Branches
CPT Slug
The URL-friendly version of the name. Default is “locations”.
Example URLs:
yoursite.com/locations/london-office
yoursite.com/stores/manchester-branch
CPT Icon
Choose a custom Dashicon for the admin menu. Available options include:
dashicons-location(default – map pin)dashicons-location-alt(alternative pin)dashicons-admin-site(building)dashicons-store(storefront)
View all Dashicons at: developer.wordpress.org/resource/dashicons
Creating a Location
Once the CPT is enabled:
- Click Your New CPT → Add New in WordPress admin
- Enter a title (e.g., “London Office”)
- Optionally add content, featured image, or excerpt
- Scroll down to the Location Coordinates metabox
- Set the location coordinates (see Location Metabox section)
- Click Publish
Managing Locations
Location List View
The locations list includes a custom “Coordinates” column that shows:
- Location pin icon if coordinates are set
- Latitude and longitude values
- Quick link to view on Google Maps
Supported Features
The Locations CPT supports:
- Title and editor (description)
- Featured image
- Excerpt
- Custom fields via metabox
- Gutenberg block editor
- Public archive pages
Using with Elementor
To display locations on a map:
- Add the TC Locations Pro widget to your page
- Set Location Source to
Posts - Set Post Type to
Locations - Field names auto-populate to
_lmfe_latitudeand_lmfe_longitude - Your locations appear on the map automatically!
Disabling the CPT
If you no longer need the built-in CPT:
- Navigate to TC Locations → Settings → Locations CPT
- Uncheck Enable Built-in Locations CPT
- Click Save Changes


