5,517 reputation
1219
bio website ulrichsossou.com
location Cotonou, Benin
age 25
visits member for 2 years, 8 months
seen May 9 at 17:45
stats profile views 315

Nov
4
comment Archive sorting functions by custom fields (front-end)
See here for how to post code: wordpress.stackexchange.com/editing-help
Nov
3
comment How do I display a tag cloud with both post tags AND a custom taxonomy?
I modified my answer.
Nov
3
revised How do I display a tag cloud with both post tags AND a custom taxonomy?
added 1282 characters in body
Nov
3
comment How can I tell what category I'm in?
No problem! You are welcome.
Nov
2
answered How can I tell what category I'm in?
Nov
2
comment How can I pass $post object to 'save_post' add_action?
Thanks @Denis! I always thought that $post was the latest version depending on the priority order.
Nov
2
comment How do I display a tag cloud with both post tags AND a custom taxonomy?
You are welcome.
Nov
2
answered How do I display a tag cloud with both post tags AND a custom taxonomy?
Nov
2
comment Set user loggin status?
You are welcome
Nov
1
comment Schedule cron event from widget
Yes, it will continue to run. You will have to clear it. I updated my answer with a sample code.
Nov
1
revised Schedule cron event from widget
added 325 characters in body
Nov
1
comment Function returns different value when called from 'save_post' than when called on page load
Try using $post = get_post($post_ID); as @Denis previously pointed out.
Nov
1
answered Schedule cron event from widget
Nov
1
comment Function returns different value when called from 'save_post' than when called on page load
Glad it works now. Does that code solve your previous question: wordpress.stackexchange.com/questions/3514/…? If yes, you may want to post it there so that the question does not remain unsolved.
Nov
1
comment Function returns different value when called from 'save_post' than when called on page load
@Scott B: why don't you just pass the post_content to your word count function word_count($post->post_content); instead of using a global $text?
Nov
1
comment How can I pass $post object to 'save_post' add_action?
@Denis, I think I get it: $post does not contain the modifications done by all the other functions hooking in to 'save_post', right?
Nov
1
comment How can I pass $post object to 'save_post' add_action?
@Scott B, you can submit you code in another question and we will help you troubleshoot the issue.
Nov
1
comment How can I pass $post object to 'save_post' add_action?
@Denis, the $post object passed to do_action('save_post', $post_ID, $post); is actually the results of a $post = get_post($post_ID);. How can it be staled?
Nov
1
comment How can I pass $post object to 'save_post' add_action?
I am not sure, but I think it has something to do with the post revision. Are the values of $post->post_content and $post->post_title correct?
Nov
1
comment How can I pass $post object to 'save_post' add_action?
Do you mean echo $post_ID and echo $post->ID return different results?