<?php
the_ID();
?>
the_ID();
?>
I forgot to sign in on the post above! I think I found a solution using the future post feature in WP described here
http://wphackr.com/publish-future-posts-as-events-...
The problem is I get the following error:
Parse error: parse error in C:\wamp\www\wp-content\themes\EntrepreneurPro\archive.php on line 36
Looks like I'm not closing one of my loops properly?
Here is my archive.php code with line 36 in bold. The modifications are in italics
<?php
get_header();
?><?php
<em>if(is_category('events-list'))
query_posts($query_string . '&order=ASC&
post_status=future,publish');</em>
while (have_posts()) : the_post();
<em>if(is_category('events-list')) {
if(strtotime($post->post_date) < time())
continue;
}</em>
?>">
<?php
the_ID();
?><?php" rel="bookmark" rel="nofollow">
the_permalink()
?><?php
the_title();
?><?php
the_content(__('(more...)'));
?><?php
wp_link_pages();
?>
<?php
comments_popup_link(__('Comments (0)'), __('Comments (1)'), __('Comments (%)'));
?><?php
comments_template(); // Get wp-comments.php template
?>
<?php
endwhile; else:
?><?php
_e('Sorry, no posts matched your criteria.');
?><?php
endif;
?><?php
posts_nav_link(' — ', __('« Previous Page'), __('Next Page »'));
?><?php
get_footer();
?>
We use Events Calendar (http://wpcal.firetree.net/) for www.gracecc.net. You can see that we're using the top 3 upcoming events and then can list all future events as well. The usage is very easy.
Let me know if you want more details and i'll try to help you out.
Peace,
J
Not sure whether have you got it resolve, hope this helps.
You need to make a page template. Make a copy of a basic page template and add some php code to display the upcoming events -list.
To create a new Custom Page Template : refer the link below
http://codex.wordpress.org/Pages#Creating_Your_Own...
Once you've created your page template, then you may add the following codes u posted in your page template by pasting after the edit_post_link coding closed by
.
<?php
ec3_get_events(10);
?>
Greetings!
I've been bitten by the wordpress bug! For years I wouldn't use it because it was just a blog to me. I decided to give it a try and I LOVE it! I'm redesigning my site in WP and I have it mostly set up, but I am having trouble finding a calendar / events list to do exactly what I want.
* I would like to have a posts category "Upcoming Events" that sorts the events by date of event (not date created)
* I then want to list the dates / Event Name of the upcoming events on my front page so people can click on it and go directly to that event.
* Auto move to past events category the day after event
Similar to the functionality I have on my current page:
http://panehpraise.com/cms/index.php?page=upcoming...
I've tried several calendar, events, and gigs plugins but nothing is giving me what I want. I don't think what I'm asking for is too difficult. Perhaps I don't need a plugin? Can this be sorted with a custom field? Or is there a plug-in that does what I want?
I'm using WP2.7.1 The template I am using is not widget ready. I'm developing locally so I don't have a URL for you to view exactly what I'm talking about
Thanks!
Lakita