219 reputation
120
bio website
location Belgium
age 23
visits member for 2 years, 4 months
seen Oct 10 at 15:05

Thank you for stopping by! Here is some information about me. But first: here is my Twitter @BramVanroy!


Drummer! You can find some drum covers on my youtube channel. Please like, share and subscribe if you like them! My latest (24st of August 2013) is C2C's Happy.


Web design and web developing hobbyist. Especially enthusiastic about CSS(3), HTML(5) and jQuery.


Oct
1
comment Is “Featured Content” in Twenty Fourteen done with a plugin, or is it native in WP4.0?
@birgire If you post your comment as an answer I can accept it. ;-)
Sep
30
comment Is “Featured Content” in Twenty Fourteen done with a plugin, or is it native in WP4.0?
@birgire With your post in mind I did some digging, and I found that Twenty Fourteen uses a modified version of Jetpack's Featured Content, which can be found in TwentyFourteen/inc/featured-content.php (Hence the last snippet in my OP). I do wonder what 'plugins.php' !== $GLOBALS['pagenow'] does though. Any ideas?
Sep
30
comment Is “Featured Content” in Twenty Fourteen done with a plugin, or is it native in WP4.0?
As I stated in my post, I know that Jetpack offers this functionality but I'm not sure where Twenty Fourteen is getting it. This seems more suitable as a comment.
May
14
comment Get URL of current post but not the page number
Well, that's a newbee mistake of mine. Thanks!
Feb
3
comment Get author meta of all writers
My bad, forgot to upload the changes I made to the function in functions.php, silly me. Thanks again!
Feb
3
comment Get author meta of all writers
@TheDeadMedic See my edit.
Feb
3
comment Get author meta of all writers
Thank you, I used the first option. Strangely enough though, it does not work. The function is called, but it doesn't seem to have looped. Only the author (me) is displayed (twice, because I am an administrator and a writer?). No other profiles seem to be put in the function.
Jan
8
comment Excluding iPad from wp_is_mobile
@kevin tested this on an iPAD 3, which worked.
Oct
1
comment Google Analytics post views in WordPress?
You might want to make this compatible with 3.6.
Sep
17
comment Get users with different roles and call function on each of them (user_meta)
True, and I definitely will Google all those terms, but it doesn't answer my original question. "I have tried this, but it doesn't work. Maybe this is the problem. How do I make this work?" So, an answer would also cover how I should implement this. I don't need the explanation of everyting (it's useful though, but I can google one thing and another) but I need to know how to implement it.
Sep
17
comment Get users with different roles and call function on each of them (user_meta)
Well that's a disappointing answer.
Sep
17
comment Get users with different roles and call function on each of them (user_meta)
Could you elaborate a little on what this var_dump does? And how would I implement this?
Sep
17
comment Excluding iPad from wp_is_mobile
@tf That's what my comment was about! But, I am going to accept my own answer because I know this one works and I haven't tested your code. I don't want anybody to read this and use your answer if I haven't tested it. I feel sort of responsible for this thread. I hope you understand. Thanks for the effort though!
Sep
16
comment Excluding iPad from wp_is_mobile
Figured it out (see my own answer). Thank you for the ideas though!
Sep
16
comment Excluding iPad from wp_is_mobile
And what I meant by my comment is that I thought that the function checks "if user agent is NOT empty AND if it is false that user agent is iPad" return false. But I would say that I need "if user agent is NOT empty and if it is true that user agent is iPad"? Maybe it has to do with that you run the actual core function after the custom function as well? And then $_SERVER['HTTP_USER_AGENT'], 'Mobile') will return true for iPad.
Sep
16
comment Excluding iPad from wp_is_mobile
Unfortunately I don't have an iPad myself, so I have to rely on information I get from friends. But currently I have a design which loads a sidebar if a user agent "!is_mobile" (is not mobile), but this is not necessary for the iPad because its resolution is large enough. My friends tell me that even though I used if(!my_wp_is_mobile() ) the sidebar is still not being displayed. From which I deduct that the function doesn't work.
Sep
16
comment Excluding iPad from wp_is_mobile
This doesn't seem to work. But shouldn't the user agent for iPad return true?
Sep
16
comment Excluding iPad from wp_is_mobile
So, I can just put this inside my functions.php file and it will automatically overwrite the core function?
Sep
14
comment Which template holds what to display when search returns nothing
Thanks. Completely looked over content-none.php!
Sep
13
comment How do I stop a widget from displaying on mobile site?
This would not render the sidebar at all. TS wants to hide a single widget, not the whole thing.