How to create a page and assign a page template automatically in WordPress

10 thoughts on “How to create a page and assign a page template automatically in WordPress”

  1. Thats pretty cool !!! Hasin vai, is it possible to Put specific Data in those page? Like most of the time clients ask for Terms of Condition page or DMCA kinda page. I was thinking about writing a simple plugin for it. There are already plugin for that job, but to heavy. So If i put any data in ‘post_content’ => “MY DATA”, is that have to formatted as HTML or plain text?

  2. Thanks Sir,,, But,, Sir.. I just finished Primary level of PHP and mysql .. Those code you write above .. That is good.. But I don’t know where and how to implement it in wordpress… Because I didn’t Work with it by PHP. I just know how to crate a blog in wordpress and simple knowledge of theme customization… Hope Your tutorial about wordpress help me … Thanks.. —

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s