wp-content/themes/church/functions.php:95: if(is_front_page() && is_active_sidebar( 'banner' ) ) {
wp-content/themes/church/functions.php:96: dynamic_sidebar( 'banner' );
wp-content/themes/church/functions.php:97: } elseif ( !is_front_page() && get_theme_mod( 'church_header_home' ) ) {
wp-content/themes/church/functions.php:109: church_get_header_image();
wp-content/themes/church/functions.php:114: church_get_header_image();
wp-content/themes/church/functions.php:119: church_get_header_image();
wp-content/themes/church/functions.php:124:
wp-content/themes/church/functions.php:155: 'color' => 'h1.site-title a, .site-description, .entry-meta, .header-right',
wp-content/themes/church/functions.php:187: 'id' => 'banner',
wp-content/themes/church/functions.php:203:function church_header_image_option() {
wp-content/themes/church/functions.php:219: />
wp-content/themes/church/functions.php:229:function church_header_image_option_save() {
wp-content/themes/church/functions.php:239: if ( isset($_POST['church_header_home'])) {
wp-content/themes/church/functions.php:240: set_theme_mod( 'church_header_home', $_POST['church_header_home'] );
wp-content/themes/church/functions.php:242: set_theme_mod( 'church_header_home', 0 );
wp-content/themes/church/functions.php:270:function church_admin_header_image() {
wp-content/themes/church/functions.php:271: $header_image = get_header_image();
wp-content/themes/church/functions.php:274:
wp-content/themes/church/functions.php:275: ';
wp-content/themes/omega/partials/title-area.php:6: if ( $logo = get_theme_mod( 'custom_logo' ) ) {
wp-content/themes/omega/partials/title-area.php:7: $title = sprintf( '
', home_url(), esc_attr( $title ), esc_attr( $title ), $logo );
wp-content/themes/omega/partials/title-area.php:10: $title = sprintf( '
', home_url(), esc_attr( $title ), $title );
wp-content/themes/omega/partials/title-area.php:12: $title = sprintf( '
', home_url(), esc_attr( $title ), $title );
wp-content/themes/omega/lib/functions/context.php:166: if ( get_header_image() || ( display_header_text() && get_header_textcolor() ) )
wp-content/themes/omega/lib/functions/attr.php:21:add_filter( 'omega_attr_site-title', 'omega_attr_site_title', 5 );
wp-content/themes/omega/lib/functions/attr.php:134: $attr['role'] = 'banner';
wp-content/themes/omega/lib/functions/attr.php:241: $attr['id'] = 'site-title';
wp-content/themes/omega/lib/functions/hooks.php:150: if ( $footer_insert = get_theme_mod( 'custom_footer' ) ) {
wp-content/themes/omega/lib/extensions/custom-logo.php:26: /* Add the 'custom_logo' setting. */
wp-content/themes/omega/lib/extensions/custom-logo.php:28: "custom_logo",
wp-content/themes/omega/lib/extensions/custom-logo.php:43: 'custom_logo',
wp-content/themes/omega/lib/extensions/custom-logo.php:47: 'settings' => "custom_logo",
wp-content/themes/omega/lib/extensions/custom-footer.php:73: "custom_footer",
wp-content/themes/omega/lib/extensions/custom-footer.php:91: 'settings' => "custom_footer",
wp-content/themes/omega/lib/extensions/custom-footer.php:162: 'custom_footer',
exec
/bin/bash -lc 'curl -L -s https://ridgecrestchurch.com/wp-content/uploads/imports/logo.gif -o /tmp/ridgecrest-logo.gif && file /tmp/ridgecrest-logo.gif && identify /tmp/ridgecrest-logo.gif 2>/dev/null || true' in /home/ubuntu/apps/ridgecrestchurch.com
succeeded in 0ms:
/tmp/ridgecrest-logo.gif: GIF image data, version 89a, 428 x 150
exec
/bin/bash -lc "sed -n '1,180p' wp-content/themes/church/functions.php" in /home/ubuntu/apps/ridgecrestchurch.com
succeeded in 0ms:
false,
'flex-width' => true,
'uploads' => true,
'default-image' => get_stylesheet_directory_uri() . '/images/header.jpg' ,
'admin-head-callback' => 'church_admin_header_style',
'admin-preview-callback' => 'church_admin_header_image'
));
/* Custom background. */
add_theme_support(
'custom-background',
array( 'default-color' => 'e8e4dc' )
);
add_theme_support( 'color-palette', array( 'callback' => 'church_register_colors' ) );
add_theme_support( 'woocommerce' );
add_filter( 'loop_pagination_args', 'church_loop_pagination_args' );
add_action( 'widgets_init', 'church_widgets_init', 15 );
remove_action( 'omega_home_before_entry', 'omega_entry_header' );
//add_filter( 'theme_mod_theme_layout', 'church_theme_layout', 15 );
add_action( 'omega_after_header', 'church_banner' );
add_action('init', 'church_init', 1);
add_action('custom_header_options', 'church_header_image_option');
add_action('admin_head', 'church_header_image_option_save');
}
add_action( 'after_setup_theme', 'church_setup', 11 );
function church_loop_pagination_args( $args ) {
/* Set up some default arguments for the paginate_links() function. */
$args = array(
'end_size' => 5,
'mid_size' => 4
);
return $args;
}
function church_header_right() {
get_template_part( 'header', 'right' );
}
function church_theme_layout( $layout ) {
//global $post;
//echo (get_post_layout( get_queried_object_id() ));
if ( is_front_page() && !is_home() )
$layout = '1c';
return $layout;
}
function church_get_header_image() {
if (get_header_image()) {
if (get_theme_mod( 'church_header_link' )) {
echo '
';
} else {
echo '';
}
}
}
function church_banner() {
?>
add_color(
array( 'id' => 'primary', 'label' => __( 'Primary Color', 'church' ), 'default' => '211b1a' )
);
$color_palette->add_color(
array( 'id' => 'secondary', 'label' => __( 'Secondary Background', 'church' ), 'default' => '050505' )
);
$color_palette->add_color(
array( 'id' => 'link', 'label' => __( 'Link Color', 'church' ), 'default' => 'B75343' )
);
/* Add rule sets for colors. */
$color_palette->add_rule_set(
'primary',
array(
'color' => 'h1.site-title a, .site-description, .entry-meta, .header-right',
'background-color' => '.tinynav, .nav-primary .wrap, .omega-nav-menu li ul li:hover, .footer-widgets .wrap, button, input[type="button"], input[type="reset"], input[type="submit"]'
)
);
$color_palette->add_rule_set(
'secondary',
array(
'background-color' => '.site-footer .wrap, .omega-nav-menu li:hover, .omega-nav-menu li:hover ul'
)
);
$color_palette->add_rule_set(
'link',
array(
'color' => '.site-inner .entry-meta a, .site-inner .entry-content a, .entry-summary a, .pagination a, .site-inner .sidebar a'
)
);
}
/**
* Register widgetized area and update sidebar with default widgets
*/
function church_widgets_init() {
register_sidebar( array(
'name' => __( 'Header Right', 'church' ),
'id' => 'header-right',
'before_widget' => '
';
-?>
\ No newline at end of file
+?>
diff --git a//home/ubuntu/apps/ridgecrestchurch.com/.htaccess b//home/ubuntu/apps/ridgecrestchurch.com/.htaccess
index 5eba884ebb703f4b1b289c2604124353cb1c606d..83c5ef855f9423dfd50635f72c0b7e3bded522fa
--- a//home/ubuntu/apps/ridgecrestchurch.com/.htaccess
+++ b//home/ubuntu/apps/ridgecrestchurch.com/.htaccess
@@ -1,6 +1,35 @@
# BEGIN WordPress