6,211 reputation
1823
bio website ulrichsossou.com
location Cotonou, Benin
age 27
visits member for 5 years
seen Apr 24 '14 at 14:04

Dec
6
comment Add filter on html tags,attributes on specific function in wordpress
You can use the argument 'type' => 'array' to return the pagination links as an array and use a replace function on each element to change the markup. But I would not recommend that for this function because I think it is too much processing. If you have other functions, you should deal with them on a case by case basis and use str_replace, or preg_replace, or copy the function, or use a filter included in the function. You should find the best solution performance-wise for each function, not a one-size fit-all solution. And I think a copy is the best for this, not a regex or other replace.
Dec
6
revised Replace the Post Excerpt Meta Box with a Field in My Custom Meta Box
added 159 characters in body
Dec
6
answered Replace the Post Excerpt Meta Box with a Field in My Custom Meta Box
Dec
6
answered Add filter on html tags,attributes on specific function in wordpress
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?