takannaka
Forum Replies Created
-
ok, thank you
Forum: Plugins
In reply to: [Event post] Display begin date in templateHi,
i have found how to ??$key_date_begin_value = get_post_meta( get_the_ID(), ‘event_begin’, true );
$key_date_end_value = get_post_meta( get_the_ID(), ‘event_end’, true );// Check if the custom field has a value.
if ( ! empty( $key_date_begin_value )||! empty( $key_date_end_value ) ) {
$output .= ‘<span class=”post-date”>’ .$key_date_begin_value.’ ‘.$key_date_end_value;
}else{
$output .= ‘<span class=”post-date”>’. get_the_date() .'</span>’;
}but to add the format I continue to search…
if someone knows the solution, I’m interestedAnne
Forum: Plugins
In reply to: [Event post] Display begin date in templateHi,
is it possible to have nothing written instead of 01/01/1970?
i’m using this way:
<?php echo date(‘m/d/Y H:i’ , strtotime(get_post_meta( get_the_ID(), ‘event_begin’, true )) ); ?>
AnneHi,
Thank you, but
i want to use default categories insted of custom categories
and i have found it in the documentation extremely well written of the plugin ??
https://wp-events-plugin.com/tutorials/using-additional-custom-taxonomies/function my_em_own_taxonomy_register(){
register_taxonomy_for_object_type(‘category’,EM_POST_TYPE_EVENT);
register_taxonomy_for_object_type(‘category’,EM_POST_TYPE_LOCATION);
register_taxonomy_for_object_type(‘category’,’event-recurring’);
}
add_action(‘init’,’my_em_own_taxonomy_register’,100);for who is interrested by the solution
- This reply was modified 6 years, 4 months ago by takannaka.
Forum: Plugins
In reply to: [Knight Lab Timeline] Possible to set initial zoom?Hi,
you change start_zoom_adjust by initial_zoom in knightlab-timeline.php line 49 and 82Forum: Plugins
In reply to: [Knight Lab Timeline] Initial ZoomHi,
you change start_zoom_adjust by initial_zoom in knightlab-timeline.php line 49 and 82ok thank you
Forum: Reviews
In reply to: [Simple Tooltips] PHP errorthank you for your answer
Have a nice day!Forum: Reviews
In reply to: [Simple Tooltips] PHP errorHello Shanna,
would you please share how you fixed it
i have the same probleme and i don’t know how to resolve it
Help! ‘^_^Forum: Fixing WordPress
In reply to: Can't access my blog!! Helphello, go in your database in the detail of the table wp-options you can change the way