PHP Classes

File: index.php

Recommend this page to a friend!
  Classes of Mostafa Soufi  >  LibWP  >  index.php  >  Download  
File: index.php
Role: Example script
Content type: text/plain
Description: Wordpress index.php
Class: LibWP
Provide additional functionality within Wordpress
Author: By
Last change:
Date: 9 years ago
Size: 391 bytes
 

Contents

Class file image Download
<html>
    <head>
        <title><?php echo $lib->Title(); ?></title>
        <meta name="keywoard" content="<?php echo $lib->Keywoard(); ?>">
    </head>

    <body>
        <?php $recent = new WP_Query("showposts=5"); while ($recent->have_posts()) : $recent->the_post(); ?>
<p><img src="<?php echo $lib->Thumbnail('large', 'large.png'); ?>"/></p>
        <?php endwhile; wp_reset_query(); ?>
</body>
</html>

For more information send a message to info at phpclasses dot org.