17,986 reputation
31130
bio website xlino.com
location Reykjavik, Iceland
age
visits member for 2 years
seen 7 hours ago

Developer from Iceland

Just another Earthling cruising the Milky Way galaxy

----- ]=|>


11h
reviewed Close Change an option string to a function
11h
reviewed Close How to add icon “play” to “video image thumbnail”
11h
reviewed Close Mobile Website Images Distorted
12h
comment Delivering a file instead of wordpress page
Yes there are plenty of useful information on that blog post (ps: this blog is unrelated to myself). I sometimes wish SE would allow attachments to answers or keep a service like the WayBackMachine ... hey let me check, ... found the archived blog post here ... just in case ;-)
1d
comment Add attribute to link tag that's generated through wp_register_style?
You're welcome.
1d
comment Add attribute to link tag that's generated through wp_register_style?
10 stands for the filter priority and 2 is the number of input arguments we want to use in the callback function. The default is 10, 1.
1d
comment why nl2br() is adding an extra <br>?
You have two new-line characters in your string, test\n\ntest, so therefore you got two <br> from nl2br(). It looks normal to me.
1d
comment SQL to check how many sites a user is a member of
Do you mean something like this: meta_key REGEXP '^wp([_0-9]*)capabilities$' or meta_key REGEXP '^wp_{0,1}[0-9]*_{0,1}capabilities$' ? Not sure how effective that would be.
1d
revised SQL to check how many sites a user is a member of
edited body
1d
answered SQL to check how many sites a user is a member of
1d
comment Loop through all posts in a certain year
@user49869 I think Robert has solved your problem and provided you with a link that explains the the_date() issue, so please accept the answer to close the question, thanks.
1d
comment Custom Login Form - Redirect user to login page if not logged in
Maybe if ( ! is_user_logged_in() && ! is_page( 'login' ) ) will avoid the redirect loop.
2d
answered Add attribute to link tag that's generated through wp_register_style?
2d
comment Add #anchor to next/previous_post_link
You're welcome, sure no problem ;-)
2d
revised Add #anchor to next/previous_post_link
deleted 34 characters in body
2d
revised Add #anchor to next/previous_post_link
Some minor edits + added a tag
2d
revised Add #anchor to next/previous_post_link
added 141 characters in body
2d
answered Add #anchor to next/previous_post_link
2d
revised Delivering a file instead of wordpress page
added 23 characters in body
2d
answered Delivering a file instead of wordpress page