Hi cupflippr & Susie,
Glad you like the plugin, and thank you for using it!
To change the output you’re seeing, you’ll want to create a custom output template. We touch on this in the FAQ under “How do I change the Output Template?”
- Copy the template file
post_loop_template.php
from the plugin folder to your (parent) theme’s folder. You should find the plugin directory in your wordpress directory under wp-content/plugins/posts-in-page
, and your theme should be in wp-content/themes/
.
- Make sure to add the “template” attribute to your shortcode: template=’post_loop_template.php’.
- Edit your new custom template
If you want to remove the Category section from the output, look for the <!-- This is the output of the META information -->
comment. I’m guessing that you probably don’t want ANY of that meta info, so you can just delete the whole section if you want:
delete the following
<!-- This is the output of the META information -->
<div class="entry-utility">
<?php if ( count( get_the_category() ) ) : ?>
<span class="cat-links">
<?php printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyten' ), 'entry-utility-prep entry-utility-prep-cat-links', get_the_category_list( ', ' ) ); ?>
</span>
<span class="meta-sep">|</span>
<?php endif; ?>
<?php
$tags_list = get_the_tag_list( '', ', ' );
if ( $tags_list ):
?>
<span class="tag-links">
<?php printf( __( '<span class="%1$s">Tagged</span> %2$s', 'twentyten' ), 'entry-utility-prep entry-utility-prep-tag-links', $tags_list ); ?>
</span>
<span class="meta-sep">|</span>
<?php endif; ?>
<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?></span>
<?php edit_post_link( __( 'Edit', 'twentyten' ), '<span class="meta-sep">|</span> <span class="edit-link">', '</span>' ); ?>
</div>
The resulting template will look like the following.
<!-- NOTE: If you need to make changes to this file, copy it to your current theme's main
directory so your changes won't be overwritten when the plugin is upgraded. -->
<!-- Start of Post Wrap -->
<div class="post hentry ivycat-post">
<!-- This is the output of the post TITLE -->
<h2 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
<!-- This is the output of the EXCERPT -->
<div class="entry-summary">
<?php the_excerpt(); ?>
</div>
</div>
<!-- // End of Post Wrap -->
If you JUST want to delete Categories, then delete…
<?php if ( count( get_the_category() ) ) : ?>
<span class="cat-links">
<?php printf( __( '<span class="%1$s">Posted in</span> %2$s', 'twentyten' ), 'entry-utility-prep entry-utility-prep-cat-links', get_the_category_list( ', ' ) ); ?>
</span>
<span class="meta-sep">|</span>
<?php endif; ?>
if you JUST want to delete Comments, then delete…
<span class="comments-link"><?php comments_popup_link( __( 'Leave a comment', 'twentyten' ), __( '1 Comment', 'twentyten' ), __( '% Comments', 'twentyten' ) ); ?></span>
Feel free to experiment. If you mess something up, you can always start over with a fresh copy from the plugin directory. ??
Is that along the lines of what you’re looking for?