Skip to content
- WordPress just adds a new entry, the title is not unique, but there is a field guid which is. Permalinks do get an incremental number.
- Yes, you should remove it from your theme, you’d better write your own plugin for this kind of stuff.
- I don’t totally understand what you mean, is there no menu entry in the admin? That’s because it’s not a plugin. Does it not show up in the theme editor? Then the file probably doesn’t have an appropiate header, is not in the correct place or not correctly named.