5,973 reputation
1621
bio website ulrichsossou.com
location Cotonou, Benin
age 26
visits member for 4 years
seen Apr 24 at 14:04

Dec
5
answered Is it possible to change the attributes of a registered style or script before it fires?
Nov
29
comment Why would switch_to_blog stop working?
do you have a caching plugin installed?
Nov
27
answered how do I force a single column layout in screen layout
Nov
27
answered How can I make all subcategories use the template of its category parent?
Nov
26
comment WP_Query with the “offset” argument
You are welcome!
Nov
26
answered WP_Query with the “offset” argument
Nov
23
comment if statement on database query
@user1613: $voter_ip is a string while $post_id is an integer.
Nov
23
comment Authors list Pagination : result set from $wpdb->get_results()
@syed: also, verify you put the line $page = isset( $_GET['cpage'] ) ? abs( (int) $_GET['cpage'] ) : 1; before the query.
Nov
15
answered Get the latest taxonomy/category?
Nov
15
comment Conditional PNG Overlay in Custom Post Type Loop Depending on Post Type
Yes, you can put it in functions.php. Add global $post; at the top of the function where you put it.
Nov
15
comment Script to get a list of all images that are detached?
@Scott B: I edited my answer.
Nov
15
revised Script to get a list of all images that are detached?
added 169 characters in body
Nov
15
comment Script to get a list of all images that are detached?
@t31os: Sorry, I did not know that 'be able to' could be interpreted as 'always'. I am not a native english speaker. :)
Nov
14
answered Conditional PNG Overlay in Custom Post Type Loop Depending on Post Type
Nov
14
comment How To Activate Plugins via Code?
As Rarst wrote, this is not very "safe". You should make sure the plugins you activate this way are safe / will not break your site.
Nov
14
answered How To Activate Plugins via Code?
Nov
14
comment Script to get a list of all images that are detached?
@t31os: based on your explanation, I don't see how what I said is not true. I did not say that only one field will always be returned. What is the difference between "only one field can be returned" and "allow selection of given fields" (if I can select only one field e.g.)? Am I missing something?
Nov
14
comment Script to get a list of all images that are detached?
In WP 3.1, you will be able to get only one field with get_posts: core.trac.wordpress.org/ticket/14777. In the meanwhile, you can use the filter posts_fields.
Nov
14
comment Script to get a list of all images that are detached?
I would not recommend using the guid as it was not meant to be used as link. The guid format may change in the future (core.trac.wordpress.org/ticket/6492). You should use the_attachment_link($post->ID, false), e.g., to get the link to the image.
Nov
14
answered Any plugin out there that uses WP's internal image uploader?