b2evolution PHP Cross Reference Blogging Systems

Source: /blog7.php - 36 lines - 1409 bytes - Text - Print

Description: This is a stub file for displaying a b2evolution blog. A stub file is used to anchor a particular blog in a particular location of your website. More info: {@link http://b2evolution.net/man/stub-file}

   1  <?php
   2  /**
   3   * This is a stub file for displaying a b2evolution blog.
   4   *
   5   * A stub file is used to anchor a particular blog in a particular location of your website.
   6   * More info: {@link http://b2evolution.net/man/stub-file}
   7   *
   8   * b2evolution - {@link http://b2evolution.net/}
   9   * Released under GNU GPL License - {@link http://b2evolution.net/about/license.html}
  10   * @copyright (c)2003-2014 by Francois Planque - {@link http://fplanque.com/}
  11   */
  12  
  13  # First, select which blog you want to display here!
  14  # You can find these numbers in the back-office under the Blogs section.
  15  # You can also create new blogs over there. If you do, you may duplicate this file for the new blog.
  16  $blog = 7;
  17  
  18  # You could *force* a specific skin here with this setting: (otherwise, default will be used)
  19  # $skin = 'custom';
  20  
  21  # This setting retricts posts to those published, thus hiding drafts.
  22  # You should not have to change this.
  23  $show_statuses = array();
  24  
  25  # Additionnaly, you can set other values (see URL params in the manual)...
  26  # $order = 'ASC'; // This for example would display the blog in chronological order...
  27  
  28  /**
  29   * That's it, now let b2evolution do the rest! :)
  30   * Note: if you put this file in a subdirectory, you will need to adjust the path below, for example:
  31   * require_once dirname(__FILE__).'/../conf/_config.php';
  32   */
  33  require_once dirname(__FILE__).'/conf/_config.php';
  34  
  35  require $inc_path.'_blog_main.inc.php';
  36  ?>

title

Description

title

Description

title

Description

title

title

Body