steve_eh
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Posts Calendar] ResponsiveThanks for your response.
I’d be very grateful if this could be looked into when you get the chance. I have another couple of sites that I could use this plugin on, but I would need the responsive aspect to work to implement it on those.
Thanks again for your help on this.
Forum: Plugins
In reply to: [WP Posts Calendar] Start DatePerfect, that’s brilliant.
Thanks for your responses, I’ve previously had very little luck in getting responses to my enquiries, but you’ve been great!
Forum: Plugins
In reply to: [WP Posts Calendar] Start DateThanks again for your response to this issue.
I tried that, and the result was that it shows the same date, no matter what, which is:
Thursday 01st of January 1970 12:33:34 AM
Although there doesn’t seem to be, is there something in that code which is specifying this date/time? The result isn’t related to the start date of the event, or even the published date of the post (thought I’d double check that too as it’s the only other place a date/time value is located). What could be casuing this?
Forum: Plugins
In reply to: [WP Posts Calendar] Start DateThat’s great, that has worked.
Sorry to bother you further, but is there a way that I can change the format that this displays?
At the moment, the date/time echoes out as 2014-12-24 00:00, is there a way I can change this to display like Saturday 24th Dec, 12:00am?Forum: Plugins
In reply to: [WP Posts Calendar] Start DateOK, I’m obviously doing something wrong here, although I am slightly closer I think, I’ve used:
<?php echo get_post_meta($post->ID, ‘_jm_calendar_event_start’); ?>
This however, just returns the word “ARRAY” on the page.
I think I may not be using this correctly, so here is my code from the start of the content, so would you be able to tell me what I’m doing wrong so that I can get the Start/End date returned? Currently, I’m just trying to Start date in this code, but I do need both.<?php
$my_query = new WP_Query(‘post_status=future&order=ASC’);
while ($my_query->have_posts()) : $my_query->the_post();
$do_not_duplicate = $post->ID;
?><div class = “row”>
<div class = “col-md-2 col-buffer”>
<?php if ( has_post_thumbnail() ) { ?>
” title=”<?php the_title_attribute(); ?>”>
<?php the_post_thumbnail(‘post-thumbnail’, array( ‘class’ => “img img-responsive pull-center”)); ?>
<?php } else { ?>
” title=”<?php the_title_attribute(); ?>”>
<img class = “img img-responsive pull-center” src=”<?php echo get_template_directory_uri(); ?>/images/logo.png” /><?php
} ?>
</div>
<div class = “col-md-10”>
<h2>” rel=”bookmark” title=”Permanent Link to <?php the_title_attribute(); ?>”><?php the_title(); ?></h2><h3><?php echo get_post_meta($post->ID, ‘_jm_calendar_event_start’); ?></h3>
<?php the_excerpt(); ?>
</div>
</div><?php endwhile;?>
Forum: Plugins
In reply to: [WP Posts Calendar] Start DateThank you for your response.
So, does that mean this line of code should return the start date:
<?php echo get_post_meta(‘_jm_calendar_event_start’); ?>
Because I must be missing something because it doesn’t return anything.