How Do I Create a Client Page in WordPress?

Creating a client page in WordPress is a relatively simple process. First, you will need to create a new folder inside the WordPress site where you will store your client pages.

Next, you will need to create a new file called client.php and populate it with the following code:.

* @see http://codex.WordPress.org/Client_Page

class ClientPage extends WP_Page {

* The main WordPress template file.

* @see http://codex.org/WordPress_Templates

public function init() {

parent::init();

}

* Construct the page.

* @param array $args

* @return void

public function __construct(array $args) {

$this->title = $args[‘title’];

* Display the page.

public function render() {

$this->content = ‘‘;

You will need to include the WordPress Client Page Template file in your theme. To do this, you will need to locate the file in your theme folder and include it using the following code: