Title: saving in wp_posts how??
Last modified: August 20, 2016

---

# saving in wp_posts how??

 *  [VijayalakshmiRaghavan](https://wordpress.org/support/users/vijayalakshmiraghavan/)
 * (@vijayalakshmiraghavan)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/saving-in-wp_posts-how/)
 * I have hosted wordpress locally in WAMP in my system. I find that one PHP file
   calls many other PHP files just to load the home page. So, I find it difficult
   to understand which part of the html page is generated from which php file.
 * I want to know the name of the PHP file from which the search bar in the upper
   left corner of the home page is generated.
 * I want to know the name PHP file saves the new blog submitted by the user into
   the wp_posts table. And also, which PHP file updates the wp-postmeta table accordingly???
 * I have no knowledge about PHP. So, please help…

Viewing 8 replies - 1 through 8 (of 8 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/saving-in-wp_posts-how/#post-2637005)
 * > I want to know the name of the PHP file from which the search bar in the upper
   > left corner of the home page is generated.
 * Probably searchform.php. If that file is not present in your theme, then `<?php
   get_search_form();?>` will call the default search form from WordPress core. 
   You can over-ride this by creating your own searchform.php template file.
 *  Thread Starter [VijayalakshmiRaghavan](https://wordpress.org/support/users/vijayalakshmiraghavan/)
 * (@vijayalakshmiraghavan)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/saving-in-wp_posts-how/#post-2637008)
 * Its present in my theme. Which file saves the blogs into the database??
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/saving-in-wp_posts-how/#post-2637015)
 * That’s part of WordPress core and shouldn’t be touched. Why do you need to know?
 *  Thread Starter [VijayalakshmiRaghavan](https://wordpress.org/support/users/vijayalakshmiraghavan/)
 * (@vijayalakshmiraghavan)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/saving-in-wp_posts-how/#post-2637019)
 * There are certain modifications that I have to make as part of my project. Whenever
   a user submits a blog, two programs have to be invoked.
 * Program 1: user rating
    This program has to increment a field called “expert_points”
   in the “wp_usermeta” table by 2. ** I created the “expert_points” field.
 * Program 2: Creating RDF
    This program has to save the title, keywords and the
   author’s ID in a file in RDF format.
 * To do these, I have to first find out which PHP file in invoked when a user submits
   a blog.
 * Also, where should I put the new programs so that they will update the database
   properly?? Should it be inside wp-content\themes\twentyeleven??
 * VJ.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/saving-in-wp_posts-how/#post-2637029)
 * This kind of additional functionality is best provided via 1 or more plugins.
   It might be worth searching first to see if there are any existing plugins that
   meet (or come close to) your specifications. with luck, you might be able to 
   hack some existing plugins rather than re-inventing the wheel. Other than that,
   I’d suggest that you start with [Writing_a_Plugin](http://codex.wordpress.org/Writing_a_Plugin).
 *  Thread Starter [VijayalakshmiRaghavan](https://wordpress.org/support/users/vijayalakshmiraghavan/)
 * (@vijayalakshmiraghavan)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/saving-in-wp_posts-how/#post-2637032)
 * I am not doing it on a large scale. I just have to do this for my college project.
   I want to finish this with the minimum amount of tweaking or coding.
 * I find it difficult because I dont know PHP. If there is an easy way, it will
   be helpful.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/saving-in-wp_posts-how/#post-2637035)
 * The scale does not matter. This is still best handled via plugins.
 *  Thread Starter [VijayalakshmiRaghavan](https://wordpress.org/support/users/vijayalakshmiraghavan/)
 * (@vijayalakshmiraghavan)
 * [14 years, 5 months ago](https://wordpress.org/support/topic/saving-in-wp_posts-how/#post-2637037)
 * okay… thanks a lot…

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘saving in wp_posts how??’ is closed to new replies.

## Tags

 * [search bar](https://wordpress.org/support/topic-tag/search-bar/)
 * [wp_posts](https://wordpress.org/support/topic-tag/wp_posts/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 8 replies
 * 2 participants
 * Last reply from: [VijayalakshmiRaghavan](https://wordpress.org/support/users/vijayalakshmiraghavan/)
 * Last activity: [14 years, 5 months ago](https://wordpress.org/support/topic/saving-in-wp_posts-how/#post-2637037)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
