Hi guys,
I love this forum, lot of useful stuff in here.
However, I hope you could help me out with a small modification: I would like to remove the element that displays the date in single.php (around line 36-50) in certain posts. Here's the code I'm talking about:
<div class="date_container"><br />
<span class='day'><?php the_time('d') ?></span><br />
<span class='month'><?php the_time('M') ?></span><br />
<span class='year'><?php the_time('Y') ?></span><br />
<?php if($k_option['single']['acc_tw'] != '') { ?><br />
<div class="tweetmeme"><br />
<script type="text/javascript"><br />
tweetmeme_source = '<?php echo $k_option['single']['acc_tw']; ?>';<br />
tweetmeme_url = '<?php echo get_permalink() ?>';<br />
</script><br />
<script type="text/javascript" src="http://tweetmeme.com/i/scripts/button.js"></script><br />
</div><br />
<?php } ?><br />
<span class='date_container_bottom'></span><br />
</div><!-- end date --><br />
I suspect this could be easily done through wrapping the date element in some conditional php code and then use the custom fields to call for the function, much like method 2 does on this page: http://www.nannygoatsinpanties.com/how-tos/wordpress-how-to-remove-the-sidebar-for-specific-pages , only my skills with php are fairly limited.
Do any of you guys have a suggestion as to how I could go about it? Thanks in advance!














