16 reputation
5
bio website karunin.com
location
age
visits member for 1 year
seen Jun 6 at 14:45

Sep
15
awarded  Popular Question
Jun
17
awarded  Student
Apr
7
awarded  Scholar
Apr
7
accepted Exclude recently updated post from custom WP_Query using multiple loops
Mar
6
revised Remove nav menu item by script
added 801 characters in body
Mar
6
comment Remove nav menu item by script
I'm sorry it seems like i haven't described very well what I need. I am using an existing theme and I'm coding a plugin to create a menu as part of a setup routine. See my edit above
Mar
6
asked Remove nav menu item by script
Jan
10
awarded  Teacher
Dec
23
asked update_post_meta() whenever custom post type is updated
Dec
19
answered Exclude recently updated post from custom WP_Query using multiple loops
Dec
19
revised Exclude recently updated post from custom WP_Query using multiple loops
deleted 1087 characters in body
Dec
19
answered wp_insert_category() setting the 'cat_ID' gives not array error
Dec
19
comment wp_insert_category() setting the 'cat_ID' gives not array error
I tried this, but it doesn't work either. You are not supposed to give id's when creating new stuff. The codex is not so clear on this and I didn't know. I have a solution now and will post as soon as the system lets me.
Dec
19
comment wp_insert_category() setting the 'cat_ID' gives not array error
Yeah I actually realized that it is not possible to give an id if you create a new category. The codex is not so clear on this and I didn't know. I have a solution now and will post as soon as the system lets me.
Dec
19
comment wp_insert_category() setting the 'cat_ID' gives not array error
what i found out so far: when i use 'cat_ID' => array(3352), it doenst give me the error msg but it creates a category with the ID 1. Probably because there is one value in the array. Any ideas?
Dec
19
asked wp_insert_category() setting the 'cat_ID' gives not array error
Dec
19
revised Exclude recently updated post from custom WP_Query using multiple loops
deleted 101 characters in body
Dec
19
awarded  Editor
Dec
19
revised Exclude recently updated post from custom WP_Query using multiple loops
added 1070 characters in body
Dec
19
comment Exclude recently updated post from custom WP_Query using multiple loops
I'm not able to use offset, because the posts are ordered in a custom way to show UPCOMIG events and i want to exclude the 2 most recently updated events. I think the best way to do it actually is to run the query the other widget is running before and just paste the post IDs into an array without displaying anything. then running the actually query and excluding the posts in the array. can someone tell me how the code for that should look like? I should use 'post__not_in' => $events_already_displayed but how can i paste post Ids in this array using a loop?