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: 10 years ago
Size: 391 bytes


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

        <?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(); ?>