huntlyc
Forum Replies Created
-
Forum: Plugins
In reply to: [Hotscot Events] Is there some documentation / how to I display eventsYour very welcome! I just wish that one day WordPress would notify me when someone starts a new forum topic on a plugins I contribute to!
Forum: Plugins
In reply to: [Hotscot Events] Is there some documentation / how to I display eventsHi ben,
I’ve pushed an update to the plugin that can show a table of events with a link to the individual event pages. The shortcode is
[ht_list_events numevents=1]
where num events is optional to limit the amount of events being shown.If you’re comfortable with code and want to customize the output then then the following function may be of use to you:
/** * getEvents - get events as object * * Will print a list of events either from the current date or one specified. The end range can be specified or left blank to * show everything ending in the future. * * @param date start_date (yyyy-mm-dd) - Leave blank for today * @param date end_date (yyyy-mm-dd) [OPTIONAL] * @param limit - limit the number of posts * @return object of posts that relate to this query **/ ht_getEvents($start_date = "", $end_date = "", $limit = 0)
Here’s an example of how to show the title with start and end dates in a h1 tag using the default wordpress date format with the event excerpt:
<?php $events = ht_getEvents(); ?> <?php if($events): ?> <?php foreach($events as $event): ?> <h1><?php echo $event->post_title; ?>(<?php echo date(get_option('date_format', 'd/m/Y'), strtotime($event->sdte)) . ' - ' . date(get_option('date_format', 'd/m/Y'), strtotime($event->edte)); ?>)</h1> <?php echo apply_filters( 'the_content', $event->post_excerpt ); ?> <?php endforeach; ?> <?php else: ?> <p>No upcoming events.</p> <?php endif; ?>
Hope this helps!!
Cheers,
HuntlyForum: Plugins
In reply to: [Really Simple Events] After update to 1.3.2No worries, thanks again for pointing that out! ??
Forum: Plugins
In reply to: [Really Simple Events] After update to 1.3.2Hey keskodubstep, thanks for letting me know! I’ve just released a fix for this and you should see an update for the plugin within the next hour or so!
Cheers!
Huntly
Forum: Plugins
In reply to: [Really Simple Events] Adding ImagesNo worries, marking as resloved. If you’ve any more issues, give us a shout!
Forum: Plugins
In reply to: [Really Simple Events] Adding ImagesHey Kenyon,
The “Extra Event Info” allows you to upload/insert pictures
Cheers,
Huntly
Forum: Plugins
In reply to: [Really Simple Events] Remove Date from Tablemarking as resolved as v1.2.7 fixes your issue
Forum: Plugins
In reply to: [Really Simple Events] [Plugin: Really Simple Events] IE ProblemThanks for the heads up Roway ??
Marking this thread as resolved
Forum: Plugins
In reply to: [Really Simple Events] [Plugin: Really Simple Events] IE ProblemHey, can you test and see if the problem still persists on the new version? (v1.2.7)
Cheers,
HuntlyForum: Plugins
In reply to: [Really Simple Events] Remove Date from TableThanks for the screenshot, that was a nice catch! I’ve uploaded a fix for this (v1.2.7) which should be appearing as an update shortly. Just to let you know as I meant to post back here and tell you that you can now select the columns you wish to show as well as choose the order by doing this:
[hc_rse_events columns="title,date,moreinfo"]
See the help page in the plugin menu for a full list of columns.
If this solves your problem can you let me know?
Much appreciated,
HuntlyForum: Plugins
In reply to: [Really Simple Events] [Plugin: Really Simple Events] IE ProblemHi mpurdy,
Not as yet ?? I’ve been unable to recreate the issue! If you’re using this on a live website can I get a link?
I do have a theory which I will try out as an update along with some new functionality as requested by someone else, so look out for that in the next few days! ??
In the mean time if you can provide any info that may help to test this: theme used, plugins used, IE plugins that you’ve got e.t.c, it may help to finally fix this issue.
Cheers,
HuntlyForum: Plugins
In reply to: [Really Simple Events] Remove Date from TableHi Mookiefat,
That’s a nice idea, I’ll add in an advanced feature to pick which columns show up.
Cheers,
Huntly
Forum: Plugins
In reply to: [Really Simple Events] [Plugin: Really Simple Events] Repeating eventsHi there Jack, seems like a nice idea! I’ll have a bit of a play with this and see what happens! ??
Forum: Plugins
In reply to: [Really Simple Events] [Plugin: Really Simple Events] IE ProblemHi there Roway, apologies for not getting back to you sooner, but I didn’t seem to get any emails when people posted about the plugin… :C
Anyhow, thanks for taking the time to post! Do you have a link to an example of it not working? I can’t replicate this issue using a base vanilla WordPress and the twenty-eleven theme with IE9.
Any more info or an example would be appreciated!
Cheers!