WordPress plugin intelligence profile

Domain Name Autoswitch

Add a domain name field to the posts’ edit pages you have selected (through category and/or post type identifiers). Allow each post to have its own do …

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 3.9
Current version1.2.4
WordPress coverageTested up to WordPress 3.9
Minimum stackWP — · PHP —
Directory statusactive
Last directory update14 Jun 201412y ago
Active installations10Adoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Domain Name Autoswitch version 1.2.4 as active, updated 12y ago and tested up to WordPress 3.9.

Overview

About this plugin

Here is a useful method you should use any where you need it dnas_get_post_ID().

It returns the post ID (if any) related to the current domain name.

For instance, if you would like to display URL of the fake home page:

You can check the plugin development on github.

Pros:

  • since the plugin does not modify nor use your.htaccess file,

it works with every permalink formats.

  • allow you to manage your domain names directly through your

post edit forms.

Cons:

  • since it hacks the query variables, some template tags like is_home()

could not work as expected if a dedicated domain name is triggered.

  • be aware there is no conflict support: you can fill the same domain

for several posts. Only a single one will win the game, without

any control from your part (but it will be easy to see which one have

to be checked… if you ever notice it). Be careful!

Configuration

The plugin works with both custom post types and classic post type.

You have to edit a configuration file in order to indicate on which

posts the plugin should add its domain name field. You can indicate

Categorie identifiers or/and Post Types slugs. For instance, to make

the plugin showing its domain field on any posts of the categories #4

and #8, then:

$dnas_categories_ID = array( 4, 8 );

Dependency

The Advanced Custom Fields

plugin is required.

License

This program is free software. It comes without any warranty, to

the extent permitted by applicable law. You can redistribute it

and/or modify it under the terms of the Do What The Fuck You Want

To Public License, Version 2,

as published by Sam Hocevar. net/) for more details.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • front page
  • multi domain name
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 3.9

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 3.9.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to3.9
Minimum requirementsWordPress not listed · PHP not listed
Update activity14 Jun 201412y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.