dannym
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Forum: Themes and Templates
In reply to: Using custom fields in the templateThanks esmi, unfortunately, that solution didn’t work either. Does it matter that I’m using a WPMU codebase?
Forum: Themes and Templates
In reply to: Using custom fields in the template<div id="content" class="widecolumn clearfix"> <div id="left"> <div id="headlines"> <h3>Top Headlines</h3> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <!-- If the post is in the category we want to include it --> <?php if (!(in_category('3'))) continue; if($i == 0){ $imgSrc = get_post_meta($post_id, 'news-image', true); ?> <div class="post"> <img src="<?php echo $imgSrc[0] ?>"> <h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2> <small><?php the_time('F jS'); ?> - By <?php the_author(); ?></small> <hr /> <div class="entry"> <?php the_excerpt(); ?> </div> <p class="postmetadata">Posted in <?php the_category(', '); ?></p> </div> <!-- closes the first div box --> <div class="clearfix"></div> <?php } else if($i < 3 && $i > 0){ ?> <h2 class="clearfix"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2> <?php } $i++; endwhile; else: ?> <p>Sorry, no posts matched your criteria.</p> <?php endif; ?> ...
This doesnt seem to work either. Thank you for your helpp, I’m very gracious!
Forum: Plugins
In reply to: [Plugin: LeagueManager] No Fixtures ShowingI cant seem to get the shortcodes for a specific match to work, all i keep getting is plain text like so:
[leaguematch id=2]
Anyone know what the deal with this is?
Viewing 3 replies - 1 through 3 (of 3 total)