Custom post type settings
By default, the plugin is configured to work on the core page post type. It is possible, however, to activate support for the core post type and you can also enable support for any custom post types that are configured as public.
To enable support for post types
- Head to
Settings > WP Landing Kit. - Check the post types you want to support next to the
Mappable Post Typessetting. - Hit
Save Changes.
The following things will happen once a post type is enabled:
- The
Mapped Domainadmin column will be added to the admin post list screen for that type. - The custom post type will be available for selection on the single domain edit page inside the
Mappingsmeta box. - The post type will be searchable within the Mapped Page setting when editing a domain's settings directly in
Domains.
If you disable support for a given post type
- Requests made to any domain that is mapped to an unsupported custom post type will be redirected back to the main site's domain. The redirect will maintain any path and query string.
Mapped domain post titles are limited to domains
When entering a domain as the post title, the protocol, path, and query string are removed so it is only possible to enter the domain host. e.g. If you enter a post title of http://example.com/some/page?with=query, the URL will be stripped down to example.com on post save.
