b2evolution PHP Cross Reference Blogging Systems

Source: /skins/_postidx.disp.php - 33 lines - 1163 bytes - Text - Print

Description: This is the template that displays the post index for a blog

   1  <?php
   2  /**
   3   * This is the template that displays the post index for a blog
   4   *
   5   * This file is not meant to be called directly.
   6   * It is meant to be called by an include in the main.page.php template.
   7   * To display the archive directory, you should call a stub AND pass the right parameters
   8   * For example: /blogs/index.php?disp=postidx
   9   *
  10   * b2evolution - {@link http://b2evolution.net/}
  11   * Released under GNU GPL License - {@link http://b2evolution.net/about/license.html}
  12   * @copyright (c)2003-2014 by Francois Planque - {@link http://fplanque.com/}
  13   *
  14   * @package evoskins
  15   */
  16  if( !defined('EVO_MAIN_INIT') ) die( 'Please, do not access this page directly.' );
  17  
  18  // --------------------------------- START OF POST LIST --------------------------------
  19  skin_widget( array(
  20          // CODE for the widget:
  21          'widget' => 'coll_post_list',
  22          // Optional display params
  23          'block_start' => '',
  24          'block_end' => '',
  25          'block_display_title' => false,
  26          'order_by' => 'title',
  27          'order_dir' => 'ASC',
  28          'limit' => 1000,
  29          'page' => param( 'coll_post_list_paged', 'integer', 1 ),
  30      ) );
  31  // ---------------------------------- END OF POST LIST ---------------------------------
  32  
  33  ?>

title

Description

title

Description

title

Description

title

title

Body