eighty0ne
Member
Posted 7 months ago #
hey all - I have been playing around with Custom Fields, to try and get a 'Basic Info' box to display on each post, such as:
http://swift-half.co.uk/pubs/the-temple-bar
however, I have two problems:
how do I position the Basic Info box so it displays top right of every post? (with a border ideally)
why have I got a duplicate 'singlePost' and 'respond' div hanging around in my footer?
thanks muchly, eighty0ne
ps. i'd also like to be able to drop the MapPress into a custom field but it doesn't seem to register the shortcode - any ideas?
eighty0ne
Member
Posted 7 months ago #
perhaps there is an error in my single.php...?
<?php get_header(); ?>
<!-- Begin #colleft -->
<div id="colLeft">
<?php
if (in_category('pubs')) {
include 'singlePubs.php';}
else {include 'singleOriginal.php';}
?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div id="singlePost">
<h1><?php the_title(); ?></h1>
<div class="meta">
<?php the_time('M j, Y') ?> by <?php the_author_posts_link()?> <img src="<?php bloginfo('template_directory'); ?>/images/ico_post_comments.png" alt="" /> <?php comments_popup_link('No Comments', '1 Comment ', '% Comments'); ?> <img src="<?php bloginfo('template_directory'); ?>/images/ico_post_date.png" alt="" /> Posted under: <?php the_category(', ') ?>
</div>
<?php the_content(); ?>
<div class="postTags"><?php the_tags(); ?></div>
</div>
<?php comments_template(); ?>
<?php endwhile; else: ?>
<p>Sorry, but you are looking for something that isn't here.</p>
<?php endif; ?>
</div>
<!-- End #colLeft -->
<?php get_sidebar(); ?>
<?php get_footer(); ?>