WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

is it possible to insert data through a script or HTML site into the wpdb and this will show up as normal article in the, the same as when I use the 'create new post' page?

Which tables are affected or should I care about?

BR, mybecks

share|improve this question
up vote 1 down vote accepted

Yes its possible but why go over the trouble when you can use the native functions like wp_insert_post that will take care of the interaction with the database.

If you are still looking to do it directly by $wpdb then the post data is saved in the posts table, the meta data for posts is saved in the postmeta table.

share|improve this answer
actually I use a plugin 'Custom Field Template'. With this I can attach extra information to a post. This don't work in a mobile browser. So I think about to develop a mobile page which has the same imput fields as my Custom Field Template and Post. – mybecks Feb 16 '12 at 10:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.