WordPress.org

Ready to get started?Download WordPress

Forums

unusual structure; where to put postmetadata? (1 post)

  1. storyfirst
    Member
    Posted 6 years ago #

    I'm using Vertigo Blue 3-column and I have it set up the way I want it, with one exception. I want to use a postmetadata div -- which I have intact from my last theme (edited to add: I can't get the div class to show up even using code ticks, so this is truncated):

    <div class="postmetadata">
    rosina and/or sara posted this on <?php the_time('jS F Y') ?> with the tag(s) <?php the_tags(': ') ?>. Look: lots of ways to keep track of what interests you: <script src="http://feeds.feedburner.com/~s/Storytelling2?i=<?php the_permalink() ?>" type="text/javascript" charset="utf-8"></script></div>

    The problem is that in the template list for vertigo blue there is no obvious "loop" or "post" template. I believe that the postmetadata box would have to go in the index.php file:

    <?php get_header(); ?>
    <div id="content">
    <div id="contentleft">
    	<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    	<h1><?php the_title(); ?></h1>
    	<?php the_content(__('Read more'));?><div style="clear:both;"></div>
    <?php edit_post_link('Edit', ' | ', ''); ?>
    </div></div>
    <?php endif; ?>
    
    </div>
    	<!--
    	<?php trackback_rdf(); ?>
    	-->
    
    	<?php endwhile; else: ?>
    
    	<?php _e('Sorry, no posts matched your criteria.'); ?>
    <?php endif; ?>
    
    	<h3>Comments</h3>
    	<?php comments_template(); // Get wp-comments.php template ?>

    But I haven't been able to make it work. Originally the postmetadata was just under the title, and I was able to take that out without a problem.

    My site is: http://www.rosinalippi.com/weblog

    The reason I switched to this theme is that I'm having terrible cpu overload problems and I'm going through the list of things that may be hogging the cpu. So I've got rid of most plugins and reduced the size of index.php, cut out all ajax, etc etc. Unfortunately the cpu problem is not resolving itself, but in the meantime, I like this theme and I would like to solve this last little issue.

    Any help much appreciated.

Topic Closed

This topic has been closed to new replies.

About this Topic