Reputation
Top tag
Next privilege 200 Rep.
See reduced ads
Badges
8
Impact
~4k people reached

  • 0 posts edited
  • 0 helpful flags
  • 4 votes cast
Apr
29
comment How to store widget fields data as an array?
If i am just smart as you think. I understand that i am supposed to get it to save in database as field[0][price] and field[0][destination] and so on? but somehow i don't get it done right.
Apr
29
comment How to store widget fields data as an array?
Great answer on multiple fields, but is it possible some update on having 2 fields in a row? i am trying to use this on my widget but i need to have 2 fields in a row like price / destination, but i can't figure out how to get it, i always get some kind of error.
Apr
20
comment Add aditional class to get_avatar when showing image
Nothing that can make a problem to the function, i searched through the whole project and only plugin that uses get_avatar is jetpack plugin but i doubt that this can make a problem. What combination did you tried and works?
Apr
20
asked Add aditional class to get_avatar when showing image
Dec
4
comment get_post_type() in in_array doesn't work for some reason
I thought this would work, but it's not. I guess i can't call add_meta_boxes when i have a class for metaboxes. I have updated my question so you can see what class vivid_framework_metaboxClass is firing.
Dec
4
revised get_post_type() in in_array doesn't work for some reason
added 128 characters in body
Dec
4
revised get_post_type() in in_array doesn't work for some reason
added 212 characters in body
Dec
4
comment get_post_type() in in_array doesn't work for some reason
As i said everything works if i don't use in_array( $post_type, $value['screen'] ) combination. I already said get_post_type() returns 'page' the consturctor of class works good it shows and saves everything as it should. and metabox keys is just a typo here in post. foreach loop is activated inside function which is called by add_action( 'load-post.php', 'call_vivid_framework_metaboxClass' ); I did made a workaround by using in_array in class constructor instead a function but i am still curious why it doesn't work inside function here.
Dec
3
asked get_post_type() in in_array doesn't work for some reason
Jun
19
awarded  Popular Question
Mar
8
awarded  Autobiographer
Jul
17
comment Connecting multiple post types? Or linking “News” posts with “Game” posts how?
i was thinking about that too stoopkid1 but than i have to make that "game" categori a bit different and fill up with some info like tags, release date, screenshot... which will make it really hard to do if it's category.
Jul
16
comment Connecting multiple post types? Or linking “News” posts with “Game” posts how?
From what i seen on plugin page this might help, ill go and install it and check out what i can do with a plugin.
Jul
16
comment Connecting multiple post types? Or linking “News” posts with “Game” posts how?
I was thinking something like that, just other way around. Each game have it's own category and sub category news tutorials etc... just im not sure how would i link that into one post.
Jul
16
asked Connecting multiple post types? Or linking “News” posts with “Game” posts how?
Mar
7
comment wp_schedule_event won't accept args
Im on local server xampp on linux. ill checkout log files, i just don't know where they are.
Mar
7
comment wp_schedule_event won't accept args
im adding everyhour and interval is set to one minute because of testing, i can't wait whole hour between every change. Once everything is working ill switch to hourly. What doesn't work is firing schedule when array() values are set. I tried debug but don't get any errors. Dont know where to look for error logs.
Mar
7
asked wp_schedule_event won't accept args
Mar
2
comment Get categories list with category name in custom WP_List_Table class
No, sorry i just jumped into conclusions too early, one of my grandchildren category was empty so i just added 'hide_empty' => 0 into get_categories to show missing category.
Mar
2
comment Get categories list with category name in custom WP_List_Table class
Well you see the code i posted in my question with foreach loop i used it in themes many times, there was theme recently i built where i had to pull specific categories by their id's and worked perfectly to display name and description. But for some reason it doesn't work in walker at least not from what i was trying. Anyway i have a problem when there are 2 or more children categories it doesn't display them in the list now.