b2evolution PHP Cross Reference Blogging Systems

Source: /a_stub.php - 38 lines - 1528 bytes - Text - Print

Description: THIS IS ACTUALLY A DUPLICATE OF blog1.php . We leave this file here because some ancient doc still refers to it. This is a stub file for displaying a b2evolution blog.

   1  <?php
   2  /**
   3   * THIS IS ACTUALLY A DUPLICATE OF blog1.php . We leave this file here because some ancient doc still refers to it.
   4   *
   5   * This is a stub file for displaying a b2evolution blog.
   6   *
   7   * A stub file is used to anchor a particular blog in a particular location of your website.
   8   * More info: {@link http://b2evolution.net/man/stub-file}
   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  
  15  # First, select which blog you want to display here!
  16  # You can find these numbers in the back-office under the Blogs section.
  17  # You can also create new blogs over there. If you do, you may duplicate this file for the new blog.
  18  $blog = 1;
  19  
  20  # You could *force* a specific skin here with this setting: (otherwise, default will be used)
  21  # $skin = 'custom';
  22  
  23  # This setting retricts posts to those published, thus hiding drafts.
  24  # You should not have to change this.
  25  $show_statuses = array();
  26  
  27  # Additionnaly, you can set other values (see URL params in the manual)...
  28  # $order = 'ASC'; // This for example would display the blog in chronological order...
  29  
  30  /**
  31   * That's it, now let b2evolution do the rest! :)
  32   * Note: if you put this file in a subdirectory, you will need to adjust the path below, for example:
  33   * require_once dirname(__FILE__).'/../conf/_config.php';
  34   */
  35  require_once dirname(__FILE__).'/conf/_config.php';
  36  
  37  require $inc_path.'_blog_main.inc.php';
  38  ?>

title

Description

title

Description

title

Description

title

title

Body