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
<?php | |
/*-----------------------------------------------------------------------------------*/ | |
/* Start WooThemes Functions - Please refrain from editing this section */ | |
/*-----------------------------------------------------------------------------------*/ | |
// Set path to WooFramework and theme specific functions | |
$functions_path = get_template_directory() . '/functions/'; | |
$includes_path = get_template_directory() . '/includes/'; |
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
<?php | |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly | |
/** | |
* Sensei Frontend Class | |
* | |
* All functionality pertaining to the frontend of Sensei. | |
* | |
* @package WordPress | |
* @subpackage Sensei |
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
<?php | |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly | |
/** | |
* Sensei Frontend Class | |
* | |
* All functionality pertaining to the frontend of Sensei. | |
* | |
* @package WordPress | |
* @subpackage Sensei |
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
<?php | |
/*-----------------------------------------------------------------------------------*/ | |
/* This theme supports WooCommerce, woo! */ | |
/*-----------------------------------------------------------------------------------*/ | |
add_action( 'after_setup_theme', 'woocommerce_support' ); | |
function woocommerce_support() { | |
add_theme_support( 'woocommerce' ); | |
} |
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
<?php | |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly | |
/** | |
* Sensei Messages Class | |
* | |
* All functionality pertaining to the Messages post type in Sensei. | |
* | |
* @package WordPress | |
* @subpackage Sensei |
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
// Add custom slider url field to Function Settings Post Meta Box | |
function woo_metaboxes_add( $woo_metaboxes) { | |
// Check for post type = portfolio | |
if ( get_post_type() == "post" || !get_post_type() ) { | |
$woo_metaboxes['custom_field'] = array( | |
"name" => "url", | |
"label" => "Slider URL", | |
"type" => "text", |
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
<?php get_header();?> | |
<?php global $woo_options; ?> | |
<div id="content" class="col-full"> | |
<div id="main" class="col-left"> | |
<?php if ( isset($woo_options[ 'woo_breadcrumbs_show' ]) && $woo_options[ 'woo_breadcrumbs_show' ] == 'true' ) { ?> | |
<div id="breadcrumbs"> | |
<?php woo_breadcrumbs(); ?> |
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
<?php | |
/** | |
* Single Portfolio Item Template | |
* | |
* This template is the default portfolio item template. It is used to display content when someone is viewing a | |
* singular view of a portfolio item ('portfolio' post_type). | |
* @link http://codex.wordpress.org/Post_Types#Post | |
* | |
* @package WooFramework | |
* @subpackage Template |
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
<?php | |
if ( ! defined( 'ABSPATH' ) ) exit; | |
/** | |
* Template Name: Contact Form | |
* | |
* The contact form page template displays the a | |
* simple contact form in your website's content area. | |
* | |
* @package WooFramework | |
* @subpackage Template |
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
<?php | |
/** | |
* Content wrappers | |
* | |
* @author WooThemes | |
* @package Sensei/Templates | |
* @version 1.0.0 | |
*/ | |
if ( ! defined( 'ABSPATH' ) ) exit; |