Tagged Questions
0
votes
1answer
58 views
Hook to be used when creating a database table
I read the Codex and some other tutorials describing the process of creating a new table for WordPress.
I thing that the steps are pretty straightforward; however, I'm encountering a small problem.
...
0
votes
1answer
44 views
How to modify post content?
I still haven't figured this out yet.
Is this the right way? I tried $_POST['content'] = "nothing" and $_POST['content'] = 0 neither work for me. I'm using following way
function changeContent() {
...
1
vote
2answers
115 views
How to modify post content before writing to database?
Hi~ I'm back again and I'm trying to add another function to the script I was working on a plugin that notify my friends of new post that mentions(@) them. Now I want to change the plain text of my ...
1
vote
0answers
42 views
Copy post to separate database with “add_action(…)”
I'm basically trying to have a copy of a post be sent to another database's table when it's published. I've gotten it to add a new row in the new table, with my own static arguments, but I'm not sure ...
0
votes
1answer
145 views
How to change database values on theme update
I have a theme released into the wild but have not prefixed the post type appropriately. Yes, I know, it's a shame and I regret it :(
So, I am currently using acme as the post type name, but I' like ...
0
votes
1answer
435 views
INSERT in table row fatal error
I just discovered this wonderful message board :-) Hopefully someone can help me with a Wordpress issue I can't figure out..
I added a hook to my plugin file to insert the post id of the immediate ...