/** * Get footer * * @return string HTML code footer */ public static function footer() { return View::make('sections/footer', Main_Model::footer_data()); }
public function __construct($args = array()) { parent::__construct(array('table' => 'posts')); }
<?php /** * Load all assets * * @package photolab */ /** * Enqueue comment reply */ function conf_enqueue_comment_reply() { if (is_singular() && comments_open() && get_option('thread_comments')) { wp_enqueue_script('comment-reply'); } } return array('scripts' => array(array('photolab-navigation', Utils::assets_url() . 'js/navigation.js', array(), '20120206', true), array('photolab-skip-link-focus-fix', Utils::assets_url() . 'js/skip-link-focus-fix.js', array(), '20130115', true), array('photolab-superfish', Utils::assets_url() . 'js/jquery.superfish.min.js', array('jquery'), '1.4.9', true), array('photolab-mobilemenu', Utils::assets_url() . 'js/jquery.mobilemenu.js', array('jquery'), '1.0', true), array('photolab-sfmenutouch', Utils::assets_url() . 'js/jquery.sfmenutouch.js', array('jquery'), '1.0', true), array('photolab-magnific-popup', Utils::assets_url() . 'js/jquery.magnific-popup.min.js', array('jquery'), '1.0.0', true), array('photolab-device', Utils::assets_url() . 'js/device.min.js', array('jquery'), '1.0.2', true), array('photolab-sticky', Utils::assets_url() . 'js/jquery.stickyheader.js', array('jquery'), '1.0', true), array('photolab-custom', Utils::assets_url() . 'js/custom.js', array('jquery'), '1.0', true), array('masonry', 'https://cdnjs.cloudflare.com/ajax/libs/masonry/3.3.2/masonry.pkgd.min.js', array('jquery'))), 'styles' => array(array('photolab-layout', Utils::assets_url() . 'css/layout.css', array(), '1.1.0'), array('photolab-magnific-popup', Utils::assets_url() . 'css/magnific-popup.css', array(), '1.1.0'), array('dashicons'), array('photolab-fonts', Main_Model::fonts_url(), array(), null), array('photolab-style', get_stylesheet_uri(), array(), '1.1.0'), array('photolab-font-awesome', Utils::assets_url() . 'css/font-awesome-4.5.0/css/font-awesome.min.css', array()), array('photolab-layout-ie', Utils::assets_url() . 'css/layout-ie.css', array(), '1.1.0')), 'localize' => array(array('photolab-custom', 'photolab_custom', array('stickup_menu' => Header_Settings_Model::get_stickup_menu())), array('photolab-layout-ie', 'conditional', 'lte IE 8')), 'custom' => array('conf_enqueue_comment_reply'));
/** * Photolab theme init */ function photolab_init() { View::add_data(Main_Model::main()); }
<article id="post-{{ get_the_ID() }}" class="{{ join( ' ', get_post_class() ) }} col-md-12"> <div class="entry-wrapper"> <span class="entry-border"><div class="dashicons dashicons-format-image"></div></span> <div class="entry-content-wrapper"> <header class="entry-header"> @if ( 'post' == get_post_type() ) <div class="entry-meta"> @include('blocks/posted-on') </div><!-- .entry-meta --> @endif {{ the_title( sprintf( '<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>', false ) }} </header><!-- .entry-header --> <?php Main_Model::image_post(); ?> <div class="entry-content"> @if( 'excerpt' == $blog_content ) @include('blocks/excerpt') @else @if( !$is_show_title_on_header ) @include('blocks/title') @endif <?php the_content(__('Continue reading <span class="meta-nav">→</span>', 'photolab')); ?> {{ wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'photolab' ),
public function __construct() { parent::__construct(array('table' => 'comments')); }