6,043 reputation
1623
bio website ulrichsossou.com
location Cotonou, Benin
age 27
visits member for 4 years, 4 months
seen Apr 24 at 14:04

Jun
18
comment Should I use add_filter for functions in function.php of the theme?
Please can you give more details?
Feb
28
comment Changing attachment urls?
add it to your theme functions.php file
Jan
2
comment how do I force a single column layout in screen layout
Comment on the other answer then, so that it can be corrected.
Jan
2
comment how do I force a single column layout in screen layout
See here wordpress.stackexchange.com/questions/25793/…
Nov
22
comment using custom taxonomies on non wp table?
Yes, you will everything that comes with the 'normal' taxonomies. You will need to add the taxonomy edit screen to the admin menu yourself though (you can access the screen at /wp-admin/edit-tags.php?taxonomy=your_taxonomy but it won't be automatically added to the admin menu). Most queries don't need to be custom as you can use the generic WordPress functions get_objects_in_term, is_object_in_term, wp_get_object_terms, wp_set_object_terms, etc.
Jan
24
comment Can you install / activate the multisite when the install is in a subfolder?
@Yukihana, see @andrea_r reply.
Jan
24
comment How do I retrieve multiple values from a multidimensional array in wp_options?
You are welcome. ;)
Jan
23
comment Javascript Solution Remove Specific Tag but leave the rest in a specific DIV
I modified the code so that the link removal runs after html is loaded. It is better to put it right before the closing </body> tag
Jan
23
comment Convert User ID's to User Names in a single.php file
You are welcome.
Jan
23
comment Can you install / activate the multisite when the install is in a subfolder?
Uploading a backed-up multisite will work too. You will just need to replace all the occurrences of the old domain name by the new one in the database and wp-config.php
Jan
23
comment Can you install / activate the multisite when the install is in a subfolder?
Yes, if you activate the multisite on addondomain.com, it will work.
Dec
27
comment switch theme on fly
The location of the theme does not matter. If the theme is called Mobview e.g., you will use 'mobview' instead of 'twentyten'.
Dec
22
comment Using OOP in themes
@Ambitious Amoeba: yes, I find it justified in that example. I can see that the class you pointed out is part of Hybrid Core which is actually the framework meant to be reused by several themes. In that case (a system which purpose is to be extended and not used as is), using OOP is the best way to ensure flexibility, readability and all the other things @toscho mentioned in its answer.
Dec
22
comment Using OOP in themes
Replacing a class is easier than replacing 20 functions, because a well written class has a clearly defined API. +1
Dec
7
comment How to use query_posts() with a date filter on a custom field?
Yes, you are right.
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.
Nov
29
comment Why would switch_to_blog stop working?
do you have a caching plugin installed?
Nov
26
comment WP_Query with the “offset” argument
You are welcome!
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.