Title: Help Me Develop a Plugin
Last modified: August 18, 2016

---

# Help Me Develop a Plugin

 *  [coolkarthik88](https://wordpress.org/support/users/coolkarthik88/)
 * (@coolkarthik88)
 * [19 years, 9 months ago](https://wordpress.org/support/topic/help-me-develop-a-plugin/)
 * Hey guys i just wanted to develop a simple plugin for my personal use. I want
   to have an additional field in the Create New Post/Page page that inputs an url
   for that particular post.. Basically every differant post should have a differant
   url but they needn’t be unique..
 * And in the single.php or page.php I want to display this url.. As simple as that..
   But I am not used to coding plugins for wordpress so I have just asked you guys..
 * Please help…

Viewing 3 replies - 16 through 18 (of 18 total)

[←](https://wordpress.org/support/topic/help-me-develop-a-plugin/?output_format=md)
[1](https://wordpress.org/support/topic/help-me-develop-a-plugin/?output_format=md)
2

 *  Thread Starter [coolkarthik88](https://wordpress.org/support/users/coolkarthik88/)
 * (@coolkarthik88)
 * [19 years, 8 months ago](https://wordpress.org/support/topic/help-me-develop-a-plugin/page/2/#post-429412)
 * well everything is ok for now. I moved the plugin to its own folder and after
   activating it doesen’t create the new database column. I think there is something
   wrong actvate_digg_this.php hook…
 *  [yoshi](https://wordpress.org/support/users/yoshi/)
 * (@yoshi)
 * [19 years, 8 months ago](https://wordpress.org/support/topic/help-me-develop-a-plugin/page/2/#post-429413)
 * Is your plugin file digg_this.php?
    ‘activate_filename.php’ in the hook must 
   meets the actual file name.
 * Try echo something in the function to see if the function is really being called.
 * `function diggurl_addcolumn () {
    die ('hook called'); ...
 *  [qwerios](https://wordpress.org/support/users/qwerios/)
 * (@qwerios)
 * [19 years, 5 months ago](https://wordpress.org/support/topic/help-me-develop-a-plugin/page/2/#post-429448)
 * I’ve been struggling a bit with the activate hook as well. I found that changing
   my plugin file to all lowercase and with no underscores in the name made the 
   activation hook work.
 * So instead of myPlugin.php or my_plugin.php I had to use myplugin.php and then
   the add_action( “activate_myplugin.php”, “install_function” ) worked.
 * I couldn’t find it in the documentation that this was required so I discovered
   it with trial and error. Granted I’m quite new at this plugin writing stuff so
   maybe I just missed it being mentioned somewhere.

Viewing 3 replies - 16 through 18 (of 18 total)

[←](https://wordpress.org/support/topic/help-me-develop-a-plugin/?output_format=md)
[1](https://wordpress.org/support/topic/help-me-develop-a-plugin/?output_format=md)
2

The topic ‘Help Me Develop a Plugin’ is closed to new replies.

## Tags

 * [url](https://wordpress.org/support/topic-tag/url/)

 * 18 replies
 * 6 participants
 * Last reply from: [qwerios](https://wordpress.org/support/users/qwerios/)
 * Last activity: [19 years, 5 months ago](https://wordpress.org/support/topic/help-me-develop-a-plugin/page/2/#post-429448)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
