-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 535769f
Showing
3 changed files
with
126 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
<?php | ||
/** | ||
* Custom Header content | ||
* | ||
* @package Auberge | ||
* @copyright 2014 WebMan - Oliver Juhas | ||
* @version 1.0 | ||
*/ | ||
|
||
?> | ||
|
||
<div class="site-banner-content"> | ||
|
||
<?php | ||
|
||
/** | ||
* Media | ||
*/ | ||
|
||
?> | ||
|
||
<div class="site-banner-media"> | ||
|
||
<figure class="site-banner-thumbnail"> | ||
|
||
<?php | ||
|
||
if ( function_exists( 'meteor_slideshow' ) ) { | ||
meteor_slideshow(); | ||
} else { | ||
|
||
$image_url = (get_header_image()) ? (get_header_image()) : (wm_get_stylesheet_directory_uri('images/header.jpg')); | ||
|
||
echo '<img src="' . esc_url($image_url) . '" width="' . esc_attr(get_custom_header()->width) . '" height="' . esc_attr(get_custom_header()->height) . '" alt="" />'; | ||
} | ||
|
||
?> | ||
|
||
</figure> | ||
|
||
</div> | ||
|
||
<?php | ||
|
||
|
||
|
||
/** | ||
* Custom Header text | ||
*/ | ||
|
||
?> | ||
|
||
<div class="site-banner-header"> | ||
|
||
<h1 class="entry-title"><span class="highlight"><?php | ||
|
||
if ( | ||
get_option( 'page_on_front' ) | ||
&& $custom_title = trim( get_post_meta( get_the_ID(), 'banner_text', true ) ) | ||
) { | ||
|
||
//If there is a front page, display 'banner_text' custom field if set | ||
echo $custom_title; | ||
|
||
} else { | ||
|
||
//Display site description | ||
bloginfo( 'description' ); | ||
|
||
} | ||
|
||
?></span></h1> | ||
|
||
</div> | ||
|
||
</div> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<?php | ||
/** | ||
* Created by PhpStorm. | ||
* User: ryagudin | ||
* Date: 3/24/15 | ||
* Time: 6:04 PM | ||
*/ | ||
|
||
add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' ); | ||
function theme_enqueue_styles() { | ||
wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' ); | ||
wp_enqueue_style( 'child-style', | ||
get_stylesheet_directory_uri() . '/style.css', | ||
array('parent-style') | ||
); | ||
} | ||
|
||
/** | ||
* Appends | ||
* @param $nav_output | ||
* @return string | ||
*/ | ||
function append_html_post_nav( $nav_output ){ | ||
|
||
|
||
$html = '<div style="margin-left: 10px; float: left; font-size: 15px;">Recreational & Medicinal | 920 W 104th Ave, Northglenn CO | <a href="tel:303-379-9526">303.379.9526</a></div>'; | ||
|
||
return $nav_output . $html; | ||
|
||
} | ||
|
||
add_filter('wmhook_wm_navigation_output', 'append_html_post_nav', 10, 1 ); |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/** | ||
* Theme Name: Auberge-Child | ||
* Template: auberge | ||
* Theme URI: http://www.webmandesign.eu/auberge-wordpress-theme/ | ||
* Author: RafiLabs | ||
* Author URI: http://www.webmandesign.eu/ | ||
* Description: <strong>Auberge</strong> is responsive, retina-ready, modern restaurant and café WordPress theme. Supports Jetpack plugin to create a food menu, Schema.org markup, Theme Hook Alliance action hooks, translation-ready code, header slideshow, customizable colors and layout, and other cool features. The theme is compatible with Chrome, Safari, Opera, Firefox, Internet Explorer 9+ browsers. Thank you for using one of WebMan's themes (more cool WordPress themes can be found at www.webmandesign.eu). Theme demo at http://themedemos.webmandesign.eu/auberge/ | ||
* Version: 1.2.5 | ||
* License: GNU General Public License v2 or later | ||
* License URI: http://www.gnu.org/licenses/gpl-2.0.html | ||
* Tags: black, gray, green, silver, white, light, dark, one-column, two-columns, three-columns, four-columns, right-sidebar, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-image-header, featured-images, flexible-header, full-width-template, microformats, sticky-post, theme-options, threaded-comments, translation-ready | ||
* Text Domain: wm_domain | ||
* | ||
* This theme, like WordPress, is licensed under the GPL. | ||
* Use it to make something cool, have fun, and share what you've learned with others. | ||
* | ||
* @todo Try using improved WordPress 4.1+ page templates body classes. | ||
*/ |