0
votes
3answers
125 views

Odd functions.php issue in Wordpress

I'm using More Fields plugin, and when I use my functions.php to embed the custom field, I get an odd issue. The field value is followed by a "1" I use this code: //Address add_action( ...
0
votes
1answer
377 views

Help on conditional statement to accompany wp_insert_post function please?

I'm trying to programatically insert posts from an external MySQL database as posts on my wordpress blog, I've got something that works, but there is no way of wordpress checking to see if the post ...
0
votes
1answer
274 views

WordPress - using sessions?

http://diovo.com/2009/10/using-sessions-in-wordpress/ This is working on one blog,but not on other,what could be the problem? How to find what is a problem? Tnx in advance
0
votes
1answer
523 views

Different profile page by role

I'm trying to set it so that when you view somebody's profile page you see a different template based on their role. So, everybody gets a regular "profile" page but if your also a author you also get ...
1
vote
1answer
594 views

Access post meta in future_to_publish function

Why am I having trouble accessing post meta data in a future_to_publish add action in functions.php? I have tried: function post_to_twitter() { global $post; $url = ...
1
vote
2answers
2k views

Best way to pass arguments to another page in Wordpress

What is the best way to pass arguments to another page in wordpress. I did it this way : <a href="get_permalinka(id_of_page).'/&i=2&j=3&k=4'">Link/a> I get this arguments with ...
0
votes
1answer
2k views

simple wp_insert_post example

i've spent way too much time trying to use the wp_insert_post() function a <form> and i do not know why it is not working. // Create post object $my_post = array( 'post_title' => 'My ...
2
votes
1answer
431 views

Wordpress change author email notify message?

just want to change a little bit author email notify message(wp_notify_postauthor - pluggable.php),and I'm applying filters on comment_notification_text function myfunction(){ return "<div ...
1
vote
1answer
109 views

Author Tracking Code!

I need help with coding this piece. Basically i want with someone click on my author page. It stored a cookie of that author name and email. I want the cookie to stay in place untill the person close ...
0
votes
1answer
396 views

Add array of post id's to a category?

Is there a function to add array of post id's to a category,something like this array(2,3,5,6) to put in some category,not looking for update post. Tnx in advance.
2
votes
2answers
486 views

Set user loggin status?

I create user with wp_create_user,after succesfully creating a user I need to set his status to be logged in?How to set his status to be logged in ?
4
votes
2answers
2k views

Enabling Sessions in WordPress 3.0

Im using a wfcart in my WordPress site but for some reason on certain pages WordPress drops the session I'm wondering if there is a way to enable sessions in WordPress 3?