<div class="mix <?php echo esc_attr($filters_class); ?> col-md-4 col-sm-6 col-xs-12"> <a href="<?php the_permalink(); ?>" class="thumbnail"> <?php if (has_post_thumbnail()) : ?> <?php the_post_thumbnail('portfolio', array('class' => "img-responsive")); ?> <?php else: ?> <img src="<?php echo get_template_directory_uri(); ?>/img/no_image.png" class="img-responsive" alt="No image"> <?php endif; ?> </a> <div class="portfolio-item-caption hide"> <h4><?php the_title(); ?></h4> <p><?php the_excerpt(); ?></p> </div> </div> <?php endwhile; ?> <?php else: ?> <p><?php _e('No Entries', 'artificial_reason'); ?>.</p> <?php endif; ?> <?php wp_reset_postdata(); ?> </div> </div> <!-- col-md-9 --> </div> </div> <!-- container --> <?php include_scripts(array('portfolio')) ?> <?php get_footer(); ?>
<!-- Scripts --> <script src="<?php echo get_template_directory_uri(); ?>/js/jquery.min.js"></script> <script src="<?php echo get_template_directory_uri(); ?>/js/jquery.cookie.js"></script> <script src="<?php echo get_template_directory_uri(); ?>/js/bootstrap.min.js"></script> <script src="<?php echo get_template_directory_uri(); ?>/js/bootstrap-switch.min.js"></script> <script src="<?php echo get_template_directory_uri(); ?>/js/wow.min.js"></script> <script src="<?php echo get_template_directory_uri(); ?>/js/slidebars.js"></script> <script src="<?php echo get_template_directory_uri(); ?>/js/jquery.bxslider.min.js"></script> <script src="<?php echo get_template_directory_uri(); ?>/js/holder.js"></script> <script src="<?php echo get_template_directory_uri(); ?>/js/buttons.js"></script> <script src="<?php echo get_template_directory_uri(); ?>/js/jquery.mixitup.min.js"></script> <script src="<?php echo get_template_directory_uri(); ?>/js/jquery.countdown.min.js"></script> <script src="<?php echo get_template_directory_uri(); ?>/js/circles.min.js"></script> <script src="<?php echo get_template_directory_uri(); ?>/js/app.js"></script> <?php include_scripts(NULL); ?>
<?php // Global define('THEME_DIR', __DIR__); define('THEME_URI', get_template_directory_uri()); // Assets define('ASSETS_DIR', __DIR__ . '/assets'); define('ASSETS_URI', THEME_URI . '/assets'); // Bower Components define('BOWER_DIR', __DIR__ . '/app/bower_components'); define('BOWER_URI', THEME_URI . '/app/bower_components'); // Required Plugins define('REQUIRED_PLUGINS_DIR', __DIR__ . '/lib/Plugins/vendor'); define('REQUIRED_PLUGINS_URI', THEME_URI . '/lib/Plugins/vendor'); include_scripts(); function include_scripts() { $locations = scandir(__DIR__ . '/lib/', 1); foreach ($locations as $dir) { if ($dir == '..') { continue; } foreach (glob(__DIR__ . "/lib/" . $dir . "/*.php") as $filename) { include_once "{$filename}"; } } }