37 reputation
18
bio website studio4nea.it
location Torri di Quartesolo, Italy
age 31
visits member for 2 years, 9 months
seen 2 days ago

Jun
7
comment Saving metadata of related post on save_post
I'm online of course... I'm sending you an hangout message. When you're about to start just let me know! Thanks!
Jun
6
comment Saving metadata of related post on save_post
Hi @boscho sorry for the delay and thanks for your patience! So: 1. yes the code is in the functions.php file and 2. wp_debug il already "true" since I'm in a development stage. I edit the function as you said and I get the die display message on "add new review" click... I think it's a bit earlier than expected... ain't it?
May
31
comment Saving metadata of related post on save_post
Hi @boscho . Thanks for your comment. Well actually I don't know if save_show_rating() is firing at the right time... for sure I check the database "wp_postmeta" table and not find any record for "average_rating" saved. The "Reviews" post type, as the "Shows", are created with WP-Types plugin and the slug I set for them has been checked several times to avoid ordinary mistakes. The average_rating_num_func() is returning a numeric value with 2 decimals and I already tried it inside a template file. What I don't say is the code I'm using is a sort of mod of the one you can find in the WP codex
May
30
asked Saving metadata of related post on save_post
Jan
11
comment Extract array from custom field
Great man! thank you very much! I was trying something like add_shortcode('bundled_ids','bundled_ids_func'); function bundled_ids_func() { $meta_values = get_post_meta( get_the_ID() , '_bundled_ids', true ); foreach ($meta_values as $key => $value) { $ids .= $value.', '; } return $ids; } but yuor code is far way better! Thanks again
Jan
11
accepted Extract array from custom field
Jan
11
comment Extract array from custom field
Even setting the third parameter to true I get nothing. Maybe setting a foreach could help?
Jan
11
comment Extract array from custom field
Hi @s_ha_dum with this code I get nothing. :(
Jan
11
revised Extract array from custom field
added 339 characters in body
Jan
11
comment Extract array from custom field
Hi @s_ha_dum, thanks for your comment. I'm trying to get a list of values stored in the array separated by comma.
Jan
11
revised Extract array from custom field
added 462 characters in body
Jan
11
asked Extract array from custom field
Jun
14
comment fetch_feed showing only first item
Thank you for making my day, man!
Jun
14
accepted fetch_feed showing only first item
Jun
14
asked fetch_feed showing only first item
Apr
11
awarded  Notable Question
Sep
14
awarded  Popular Question
May
16
awarded  Commentator
Mar
31
comment How to make a Thumbs Mosaic
Well Masonry it's absolutely a great thing that I didn't know until now but my goal is something simpler. I'm talking about grabbing only the images crop'em or resize'em in little tiles and putting them one close to the other in three or four rows with a "category title" over this composition... and then a loop of post of that category.
Mar
30
asked How to make a Thumbs Mosaic