Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: My first plugin (post count)

I put the plugin code under the username. Compare the following code to your post.php in your templates. Make sure you are editing post.php and placing it in /my-templates/post.php.

<div class="threadauthor">

<p><strong><?php post_author_link(); ?></strong><br />

<small><?php post_author_type(); ?></small><br />

<small><?php post_count(); ?></small></p>

</div>

<div class="threadpost">

<div class="post"><?php post_text(); ?></div>

<div class="poststuff"><?php _e('Posted:'); ?> <?php bb_post_time(); ?> <a href="<?php post_anchor_link(); ?>">#</a> <?php post_ip_link(); ?> <?php post_edit_link(); ?> <?php post_delete_link(); ?></div>

</div>

This is the entire post.php, but obviously where I have the code is near the top.

Trent

Skip to toolbar