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
<div class="fl-page-footer-text fl-page-footer-text-1"> | |
<span>© <?php echo date('Y'); ?> Copyright Brian Elder Roofing</span> | |
<span> | </span> | |
<span id="fl-site-credits">Website Design by <a href="https://hnhmarketing.com" target="_blank" title="HNH Marketing">HNH Marketing</a>.</span> | |
</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
<?php | |
/* | |
Plugin Name: Custom Post Type Plugin | |
Description: Properties Custom Post Type. | |
*/ | |
/* Start Adding Functions Below this Line */ | |
// Our custom post type function | |
function create_posttype() { | |
register_post_type( 'Properties', |
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_action( 'wp_enqueue_scripts', 'agency_enqueue_backstretch_scripts' ); | |
function agency_enqueue_backstretch_scripts() { | |
//* Load scripts only if custom background is being used | |
if ( ! get_background_image() ) //Do I add something here? | |
return; | |
wp_enqueue_script( 'agency-pro-backstretch', get_bloginfo( 'stylesheet_directory' ) . '/js/backstretch.js', array( 'jquery' ), '1.0.0' ); | |
wp_enqueue_script( 'agency-pro-backstretch-set', get_bloginfo( 'stylesheet_directory' ).'/js/backstretch-set.js' , array( 'jquery', 'agency-pro-backstretch' ), '1.0.0' ); |
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
//* Load Backstretch script and prepare images for loading | |
add_action( 'wp_enqueue_scripts', 'themename_enqueue_scripts' ); | |
function themename_enqueue_scripts() { | |
// Load scripts only if custom background is being used | |
if ( ! get_background_image() ) | |
return; | |
wp_enqueue_script( 'themename-backstretch', get_bloginfo( 'stylesheet_directory' ) . '/js/backstretch.js', array( 'jquery' ), '1.0.0' ); | |
wp_enqueue_script( 'themename-backstretch-set', get_bloginfo('stylesheet_directory').'/js/backstretch-set.js' , array( 'jquery', 'converge-backstretch' ), '1.0.0' ); |