Ejemplo n.º 1
0
 /**
  * Main DivStarter Instance
  *
  * Ensures only one instance of DivStarter is loaded or can be loaded.
  *
  * @since 1.0
  * @static
  * @see DS()
  * @return DivStarter - Main instance
  */
 public static function instance()
 {
     if (is_null(self::$_instance)) {
         self::$_instance = new self();
     }
     return self::$_instance;
 }
Ejemplo n.º 2
0
 /**
  * Output the navigation logo
  * @access public
  * @subpackage  Framework/Head
  * @return void
  */
 function df_nav_logo($s)
 {
     return apply_filters('df_nav_logo', DF::nav_logo() . $s);
 }
Ejemplo n.º 3
0
 *
 * @see df_title_output() - 10
 * @see df_post_info() - 15
 * @see the_content() - 20
 * @see df_post_meta() - 25
 * @see df_clear() - 30
 */
DF::add_action('df_post_content', array('df_title_output' => 10, 'df_post_info' => 15, 'the_content' => 20, 'df_post_meta' => 25, 'df_clear' => 30));
/**
 * End Content Container
 *
 * @see df_end_main_container() - 10
 * @see get_sidebar() - 15
 * @see df_end_content_container() - 20
 */
DF::add_action('df_end_content', array('df_end_main_container' => 10, 'get_sidebar' => 15, 'df_end_content_container' => 20));
/*=====// LOOP //======================*/
/**
 * Loop not found output
 *
 * @see df_404_message() - 10
 */
DF::add_action('df_post_not_found', array('df_404_message' => 10));
/*====// FOOTER //=====================*/
/**
 * Footer tag
 *
 * @see df_copyright() - 10
 */
DF::add_action('df_footer', array('df_copyright' => 10));