create post in page and publish from page

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
User avatar
php-forum Active User
php-forum Active User
Posts: 300
Joined: Sun Dec 11, 2011 12:51 am
Location: Shrewsbury, Shropshire

Sun Nov 18, 2012 3:20 am

You can't - in Wordpress, a page is a page and a post is a post - you can't create a post within a page. If you have a posts category called User then you can obviously link your post to that category. Or if you want to add text to your existing User page and link through to a more detailed poast, you can do that as well.

php-forum Fan User
php-forum Fan User
Posts: 974
Joined: Mon Oct 01, 2012 12:32 pm

Mon Nov 19, 2012 1:23 pm

You can, but no one is going to just up and write the code for you. In the mysql database that drives wp, there is a posts table. Contained therein are your posts. Creating a post is as simple as creating a valid record in that table. Writing to a mysql database is trivial and there are a lot of examples on these forums.

Post Reply