MrConn
Forum Replies Created
-
Thanks! ??
Forum: Plugins
In reply to: [Advanced Custom Fields: Extended] Fields in form not getting savedHi,
And sorry for late reply. (Crazy at work…)No meta where saved anywhere! But I made a dirty fix by mapping all fields in my functions.php and using the ‘acfe/form/submit/post’-action to save on submit
Forum: Developing with WordPress
In reply to: Count posts and metavaluesThank you for your response!
I’ve been fiddeling with a second get_posts(), but I only manage to get the count from the post with the highest count…?function antall_deltakere_mnd($avdeling = ALL, $korr = '0', $mnd = 'm') { $posts = array( 'post_type' => 'ta5', 'numberposts' => - 1, 'tax_query' => array( array( 'taxonomy' => 'ta5_avdeling', 'field' => 'slug', 'terms' => $avdeling ) , ) , 'date_query' => array( array( 'year' => date('Y') , 'month' => date($mnd) - $korr, ) , ) , 'meta_query' => array( array( 'key' => 'meta_deltakere', ) , ) , ); $words = get_posts($posts); if ($words) { foreach ($words as $word) { $meta = strip_tags($word->meta_deltakere); //$meta = explode(' ', $meta); $meta = explode(",", str_replace(" ", "", $meta)); $count = count($meta); $totalcount = $count; } return $count; } else { return $totalcount = 0; } }
Can anyone please point me in the right direction? ??
Mail sent. ??
PS: If others are following this thread:
I’ve solved the mails not being sent issue! It was because of a typo in admin/from-mail address. :-SYeah, I probably should… But I’ve customized the plugin so that you can upload PDFs from the frontend, and it’s hard-coded in the plugin… :-S
Do you have a extension for custom upload in the new versions? I would pay for that ??
Also, the listings doesn’t disappear when they’re expired…
Sure thing! You’ve earned it writing such a good plugin ??
Works great! Thank you! ??
Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] Make instance_id prettyOhh… So all my hours researching this has been a waste of time… Good to know ??
Well, I’ll post it as an idea! ??Different question, same topic: Is it (atleast) possible to remove the instance_id when the event i single (non-recurring)?
Forum: Hacks
In reply to: How to get a sticky facebook-like bar?Thanks! But I get a error…
E_ERROR : type 1 — Call to undefined function add_filter()
Bump…