742 reputation
1923
bio website mikkelbreum.com
location Gothenburg, Sweden
age
visits member for 4 years, 6 months
seen Jun 17 at 14:27

Apr
2
awarded  Popular Question
Feb
23
comment Get menu item data from menu item ID
After giving this some extra thought, I've come to the conclusion that it would be a better architecture to utilize a custom field attached directly to the menu items, rather than using a custom field fetched from a page that a menu item might or might not link to. for now, I've created a custom walker and simply override the title with the value of the custom field. I actually just use the readily available 'Description' field for now..
Feb
23
asked Get menu item data from menu item ID
Feb
17
awarded  Notable Question
Jan
5
awarded  Notable Question
Oct
1
comment How to rename default posts-type Posts
I think this is not a good solution to this particular case. $translated might contain a string like 'click on the post man' or 'se om du har fået post' (danish), in which case you would NOT want to replace 'post' with 'news'
Oct
1
comment How to rename default posts-type Posts
How will this affect performance? Are the above filters only used in the backend?
Sep
24
comment Upload media to WordPress through a web service
WordPress has a RESTful API build in: developer.wordpress.com/docs/api
Sep
24
comment getting all values for a custom field key (cross-post)
Kudos to @t31os for this detailed answer!
Sep
24
accepted Add custom option to Standard Page Attributes Meta Box
Sep
8
awarded  Notable Question
Jul
17
awarded  Famous Question
Jul
2
awarded  Curious
May
28
comment How to hook wp_list_pages?
the correct answer should be that of @AlxVallejo. To change the titles using the 'wp_list_pages' filter hook would be a hack. You'd need to search for all original titles and replace them one by one with custom titles, using an array as a reference map or something. Use a custom Walker instead.
Apr
21
awarded  Popular Question
Apr
5
awarded  Popular Question
Mar
10
awarded  Popular Question
Jan
17
awarded  Nice Question
Jan
12
awarded  Nice Question
Dec
20
awarded  Yearling