[wp-hackers] Full-page Plugins

Mike Wendell theapparatus at gmail.com
Tue Aug 1 19:34:37 GMT 2006

That's how I do it.  Find below an example of a Page Template for one
of my blogs.  The header and the footer are called (The sidebar is
called by the header in this theme) and then you have the function

Hope this helps,

Template Name: Complete List of Blogs


<?php if (have_posts()) : while (have_posts()) : the_post(); ?>

<?php the_date('','<h2>','</h2>'); ?>
<div class="post">
	 <h3 class="storytitle" id="post-<?php the_ID(); ?>"><a href="<?php
the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h3>
	<div class="meta"><?php edit_post_link(__('Edit This')); ?>
	</div><!-- end META -->
	<div class="storycontent">
<?php list_all_wpmu_blogs('', 'name', '<br />', '', 'last_created'); ?>
	</div><!-- end STORYCONTENT -->

</div><!-- end POST -->

<?php endwhile; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
<?php endif; ?>

<?php get_footer(); ?>

On 8/1/06, Mike Purvis <mike at uwmike.com> wrote:
> sure about how to proceed with the rest. Will I need to create my own
> "page template" that contains a callback to the plugin's content
> function? If so, is there a straightforward way to package such a
> thing?

Blog: http://tdjc.be
Kim Possible: Remixed: http://kpremixed.tdjc.be
Get your own free hosted WordPress Blog today: http://daria.be

More information about the wp-hackers mailing list