133 reputation
323
bio website bramvanroy.be
location Belgium
age 23
visits member for 3 years, 3 months
seen Apr 24 at 16:44

Twitter Twitter @BramVanroy | Homepage


Web design and web developing hobbyist. Especially enthusiastic about CSS(3), HTML(5) and jQuery. I do my best to help where I can.

I'm also interested in a couple of other things, such as


Apr
24
comment Looping through posts per category gives same posts for each category
Ah I see. Thanks again!
Apr
24
comment Looping through posts per category gives same posts for each category
Tested and approved! I wish I could give you more than only an accept, but SE doesn't allow for donations or tips unfortunately. :D Thanks a lot! I am reading through the code and I wonder about one thing, what's the advantage of apply_filters( 'the_title', get_the_title() ) over echo get_the_title()?
Apr
23
comment Looping through posts per category gives same posts for each category
No, I'll only be excluding by slug. Thanks for your efforts so far
Apr
23
comment Looping through posts per category gives same posts for each category
I really appreciate your efforts! Especially your way of commenting everything thoroughly. It really helps a beginner like myself! I am a little confused on how to use this though. As you might have guessed I'd liked to use this in combination with my other question. How would I go about doing that? Should the exclusion of the terms happen in get_term_post_list()? Or should the two functions be merged somehow? (As I don't need them seperately.)
Apr
22
comment Exclude category by slug for for each loop
@PieterGoosen Cheers, thanks in advance!
Apr
22
comment Exclude category by slug for for each loop
@PieterGoosen I'm aware of that, but because I am working with multiple sites that have different cat IDs but the same slug, I need to filter by slug rather than by cat ID.
Apr
17
comment Understanding and altering the structure of posted images
Well I simply used the code under "A better shortcode" in my functions.php and expected things to work by themselves. As I commented, the output of a figure tag and the figcaption tag doesn't work unfortunately.
Apr
17
comment Understanding and altering the structure of posted images
Just letting you know that the bounty will end tomorrow but that your current answer doesn't solve my problem.
Apr
17
comment Understanding and altering the structure of posted images
@Vikram What page. I can't be more clear than my examples so I don't see the point.
Apr
16
comment Understanding and altering the structure of posted images
@Vikram What do you mean by "post the url"? I can't be more clear than my example.
Apr
15
comment Let author add field to metabox by pressing a button
Does this mean that you only need one nonce field per metabox? I always thought you would need one per input field?
Apr
15
comment Understanding and altering the structure of posted images
Hi there, so I got around to testing this and the first part works as expected: the unnecessary classes and such are removed! A big problem, however, is that there is no figure wrapper to the elements (see my examples above). Even when I add a caption, the figure-tags don't output, nor the caption itself. It's left out. Subsequently the align classes are nowhere to be found either.
Apr
13
comment Let author add field to metabox by pressing a button
Thanks, +1. Will test in the next days!
Apr
13
comment Let author add field to metabox by pressing a button
Thanks, this looks promising! (Not tested yet.) Could you give an example how I would output this in a template file? Only one element from the array, as well as all of them?
Apr
9
comment Let author add field to metabox by pressing a button
@s_ha_dum Could you give me a hand putting that into code?
Mar
10
comment Stop Wordpress Wrapping Images In A “P” Tag
Note that this won't work with HTML5 default img markup, i.e. <img ...> without the closing slash. It's better to make that optional in your regex. Or better yet, you can leave it out as .* will take care of it.
Mar
2
comment Metabox of one post influence setting on other
If you want you can always check it out here.
Mar
2
comment Metabox of one post influence setting on other
Ah yes, something I should've been able to figure out by myself. Thanks for the tips as well! 1 was caused because I quickly translated my actual file which is in Dutch, I must have overlooked to escape the characters here. Thanks for number 2. I had seen those fields starting with _ in plugins but I never knew what they were. 3: a coincidence that you should mention it. I posted a topic on CodeReview this morning for just that: making the code more compact.
Mar
2
comment Add field to posts (checkbox) that only one post can have
Hi there David, after adding some functionality I have run into some problems with saving the posts. Could you take a look if you have some time? Thanks. wordpress.stackexchange.com/questions/179918/…
Feb
27
comment How can I fetch loop of post titles via AJAX?
I know that this is an old answer, but it's still relevant to me. I do wonder why the return false is necessary, as you are calling it on the click event of a button, to which there's no form related. I think you could leave it out. Also, how does check_ajax_referer know what to check, as you are not using any nonce fields? And what is wp-ajax-response?