Ask about general coding issues or problems here.
Moderators: macek, egami, gesf
in wordpress i have a page called user page -i want to create a post in that user page with all the usual title,add post,tag,category and then "submit for review " button .the posted material from the user page has to arrive at my admin from there i need to publish
i do not want any plug in for this ;none is working fine.this is my exact requirement .
what is the code for this ? where should i paste it ? plz tell me the code and the exact path
- New php-forum User
- Posts: 1
- Joined: Sat Nov 17, 2012 6:17 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 Active User
- Posts: 300
- Joined: Sun Dec 11, 2011 12:51 am
- Location: Shrewsbury, Shropshire
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.
- php-forum Fan User
- Posts: 838
- Joined: Mon Oct 01, 2012 12:32 pm
Return to PHP coding => General
Who is online
Users browsing this forum: No registered users and 3 guests