mouseuser
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Job Manager] Job meta data after job content?Marked as solved – by myself lol
Forum: Plugins
In reply to: [WP Job Manager] Job meta data after job content?Answering my own question here, doh. I noticed that the theme I am using is already doing an overwrite so when I tried the overwrite in my child theme it all fell apart. All good now, I copied the overwrite from the parent theme into my child theme, made the change I needed an now all is fine.
Forum: Plugins
In reply to: [Simple Image Sizes] wrong image size when insertedYou are dead right, thank you – only question now is what that means for the theme in combination with the plugin, will do some more googling but thanks for the hint
Forum: Plugins
In reply to: [Events Made Easy] confirmation email on paymentOK, thank you, I think I’ve got this now
Forum: Plugins
In reply to: [Events Made Easy] Avoid pending booking email?OK, great, thank you
Forum: Plugins
In reply to: [Events Made Easy] Avoid pending booking email?thank you, could do that but that would be hacking the plugin which I’m not so keen on. I take it no way to achieve this via the interface?
Forum: Plugins
In reply to: [CMB2] CMB2 and custom post type?thanks for following up – it’s OK, I have resolved the issues although the issue with date display is still there see other thread
Forum: Plugins
In reply to: [CMB2] Limit query by CMB2 time?ah, genius, that’s brilliant, I hadn’t quite got that bit, thanks very much, I think that will solve it, brilliant!
Forum: Plugins
In reply to: [CMB2] Limit query by CMB2 time?Thank you for your reply. I thought about that but then I have to manually enter the time, rather than a nice select (which thankfully is already ‘built in’). As it is, I have a date with a calendar popup and a time with a time selector which is pretty handy. Ideally I would either combine them both in one field or have two fields like I have but a time that’s comparable via a query. In one field, though, I can’t see how I’d combine the time in a user friendly interface?
Forum: Plugins
In reply to: [CMB2] Date formats…Hi Michael,
Thanks for your reply – sorry, I used ‘front end’ here by which I meant the admin screen (i.e. not the code site of things). For that I believe what would need to be able to set a jqueryui parameter. I just noticed a problem with this. I entered a date via the date picker, 3rd December 2014 which is displayed as 12/03/2014. Here are the field settings
array(
‘name’ => __( ‘Route date’, ‘cmb2’ ),
‘id’ => $prefix . ‘date’,
‘type’ => ‘text_date_timestamp’,
‘date_format’ => ‘d/m/Y’
)When this is displayed after saving and then reloading the post, it shows up as 03/12/2014. This then obviously causes a problem with the date picker as it the shows 3rd March. Any solution to this?
Forum: Plugins
In reply to: [CMB2] Date formats…Just to add to this, it would be nice if one could determine the display date on the front end. In my case, being in the UK, we display the date as d/m/Y. I use the text_date_timestamp and the display is m/d/Y regardless of setting ‘date_format’ => ‘d/m/Y’ for the field which can be confusing to editors.
Forum: Plugins
In reply to: [CMB2] CMB2 and custom post type?Sorry, not solved for me, not an issue of case. Michael, I can arrange for you to have access but there is no pm option here, so trying to get in touch with you via g+
Forum: Plugins
In reply to: [CMB2] CMB2 and custom post type?Yes, it is a dev site. Have disabled all plugins and never had a copy of CMB1. Still no joy ?? Data gets written into the post mneta table but when loading the custom post again, it’s not loading in ??
Forum: Plugins
In reply to: [CMB2] CMB2 and custom post type?Hi,
thought about the comma but you have that in your example, too ??
No, definitely looking at the right rows as I can see it changing in the database but just not showing up in the editor screen. Have tried removing the _ , no joy either ??
Forum: Plugins
In reply to: [CMB2] CMB2 and custom post type?Hi,
Thanks for your reply, yes, I am using it correctly, pretty much like your code, see below
function cmb2_metaboxes( array $meta_boxes ) { $prefix = '_cmb2_'; $meta_boxes['my_metabox'] = array( 'id' => 'route_details_metabox', 'title' => __( 'Route details', 'cmb2' ), 'object_types' => array( 'myroutes',), 'context' => 'normal', 'priority' => 'high', 'show_names' => true, 'fields' => array( array( 'name' => __( 'Route date', 'cmb2' ), 'desc' => __( 'date for the route', 'cmb2' ), 'id' => $prefix . 'test_textdate', 'type' => 'text_date', 'date_format' => 'd/m/Y' ), array( 'name' => __( 'Start time', 'cmb2' ), 'desc' => __( '', 'cmb2' ), 'id' => $prefix . 'test_time', 'type' => 'text_time', ) ), ); return $meta_boxes; }
Any ideas?