Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 1.06 KB

File metadata and controls

39 lines (26 loc) · 1.06 KB

Pronamic Domain Mapping plugin allows you to map domains to custom domain name pages.

Built with Grunt

Installation

WordPress Network

If you work with an WordPress Network and want to enable domain pages you have to add the following line to your /wp-content/sunrise.php file.

$file = WP_CONTENT_DIR . '/plugins/pronamic-domain-mapping/sunrise.php'; 
if ( is_readable( $file ) ) {
	include $file;
}

Additionally, in order for sunrise.php to be loaded, you must add the following to your wp-config.php:

define( 'SUNRISE', true );

Post type support

Aside from the custom post type included in this plugin, domain mapping support can also be added to other post types. For example, to add support to the page post type:

add_post_type_support( 'page', 'pronamic_domain_mapping' );

Links