How to create pages programmatically?
-
Hi all,
I would like to know how to create a WordPress page programmatically. I would like to set the page title, the desc and the template to use, and create the page with PHP code. I tried to hack and directly insert rows in WordPress tables, but it failed to work properly.
Any idea is welcomed ??
Thanks in advance,
Nicolas
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘How to create pages programmatically?’ is closed to new replies.