This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| add_theme_support( 'automatic-feed-links' ); | |
| add_editor_style(); | |
| //add_custom_image_header(); | |
| /** | |
| * Set the content width based on the theme's design and stylesheet. | |
| */ | |
| if ( ! isset( $content_width ) ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Frontend Theme Functions. | |
| * | |
| * @package magplus | |
| * @subpackage Template | |
| */ | |
| /** | |
| * Theme Loader | |
| * @param string $logo_field |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Frontend Theme Functions. | |
| * | |
| * @package magplus | |
| * @subpackage Template | |
| */ | |
| /** | |
| * Theme Loader | |
| * @param string $logo_field |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * Partial Template for Single Post "Modern Layout" - called from single.php | |
| */ | |
| $props = array_replace( | |
| [ | |
| 'layout' => 'modern-a', | |
| 'header_outer' => false, | |
| 'centered' => false, | |
| 'cat_style' => Bunyad::options()->post_meta_single_cat_labels, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // Here is a sample of the URLs this regex matches: (there can be more content after the given URL that will be ignored) | |
| // http://youtu.be/dQw4w9WgXcQ | |
| // http://www.youtube.com/embed/dQw4w9WgXcQ | |
| // http://www.youtube.com/watch?v=dQw4w9WgXcQ | |
| // http://www.youtube.com/?v=dQw4w9WgXcQ | |
| // http://www.youtube.com/v/dQw4w9WgXcQ | |
| // http://www.youtube.com/e/dQw4w9WgXcQ | |
| // http://www.youtube.com/user/username#p/u/11/dQw4w9WgXcQ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php get_header(); ?> | |
| <div class="container"> | |
| <div class="row"> | |
| <div id="content" class="col-md-9"> | |
| <?php if ( of_get_option( 'gomedia_featured_posts', '1' ) ) { ?> | |
| <section id="featured-content" class="row clearfix"> | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html <?php language_attributes(); ?>> | |
| <head> | |
| <meta charset="<?php bloginfo( 'charset' ); ?>"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <link rel="profile" href="http://gmpg.org/xfn/11"> | |
| <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>"> | |
| <?php wp_head(); ?> | |
| </head> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // Get the customizer value. | |
| $title = beginner_mod( PREFIX . 'page-title' ); | |
| ?> | |
| <article id="post-<?php the_ID(); ?>" <?php post_class(); ?> <?php hybrid_attr( 'post' ); ?>> | |
| <?php if ( $title ) : ?> | |
| <?php the_title( '<h1 class="page-title" ' . hybrid_get_attr( 'entry-title' ) . '>', '</h1>' ); ?> | |
| <?php endif; ?> |