tanmccuin
Forum Replies Created
-
Forum: Meetups
In reply to: Burlington Vermont, WP MeetupHey everyone –
Just stumbled onto this group. Nice to see there’s a bit of WP in Burlington. I’d also be interested in a meetup. I’m a fairly knowledgeable WP developer/designer – i build most of my sites in WP these days. Always interested in networking, i’m also interested partnering w/ the right graphic designer web-focused, but print work is a plus.
Pilgrim, maybe we should talk more.
-Tm
Forum: Plugins
In reply to: [The Events Calendar] Querying Events for page templatesHi guys – below is some code i and a co-developer put together to create a little upcoming events widget on the homepage of a client site.
The long short of it is that i query the events category (category 5, in this case.) but in order to not get everything (including passed events) and to keep it to only events that are upcoming or current, i had to dig into the post meta keys, and do a meta compare against the date. You can disregard the the thumbnail code, that’s just there because i’m pulling event thumbnails as well. Hope this helps a bit.
-T
<!--UPCOMING EVENTS--> <div id="upcoming_events" class="homepage_element"> <h4>Upcoming Events</h4> <ul> <?php $current_date = date("Y-m-d"); $cat5 = new WP_Query(array('cat' => 5, 'showposts' => 6, 'meta_key' => '_EventEndDate', 'meta_value' => $current_date, 'meta_compare' => '>=')); if($cat5->have_posts()) : while($cat5->have_posts()) : $cat5->the_post(); ?> <li style="clear:both;"> <?php echo the_post_thumbnail(array(70,50), array('class' => 'alignleft')); ?> <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"> <?php the_title(); ?> </a> </li> <?php endwhile; endif; ?> <li><a class="more" href="/events-ticket/events/">Full Schedule</a></li> </ul> </div> <!-- END UPCOMING EVENTS-->
I also have this issue – Debug Console gives No errors and i’m using the default theme, all i see is the jQuery spinning wheel. Works in all other browsers.
Forum: Plugins
In reply to: [WP-Cycle] [Plugin: WP-Cycle] OutstandingI’d really appreciate knowing how you added the alt tags to wp-cycle – thank you!
I’m also confused by this – the author log says it was setup in 1.6 – i have 1.64 and can’t seem to get subcats to work. Anyone out there have an explanation?
Forum: Plugins
In reply to: Display one Category and it’s Posts in sidebar.Great idea. thanks – i also finally found this little gem that does exactly what i was looking for.
Forum: Fixing WordPress
In reply to: Posts not showing up in order…aaaaaaaaaaaaaaaand i fixed it, only took….um, 14 seconds. My client for some reason set those 6 posts as sticky, and then promptly forgot about doing it. go figure.