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 | |
genesis_widget_area( 'front-page-1', array( | |
'before' => '<div id="front-page-1" class="front-page-1 flexible-widget-area bg bg-scrim" style="background-image: url(' . $front_page_image_1 . ')">', | |
'after' => '</div>', | |
) ); |
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 | |
<header class="site-header" itemscope="" itemtype="http://schema.org/WPHeader"> | |
<div class="wrap"> | |
<div class="title-area"> | |
<h1 class="site-title" itemprop="headline"><a href="https://victorfont.com/">Victor Font Consulting Group, LLC</a></h1> | |
<p class="site-description" itemprop="description">IT Consulting | WordPress/Genesis/Formidable Pro | Publishing</p> | |
</div> | |
<div class="widget-area header-widget-area"> | |
<h2 class="genesis-sidebar-title screen-reader-text">Header Right</h2> |
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_filter( 'comment_form_default_fields', 'comment_form_fields' ); | |
function comment_form_fields( $fields ) { | |
unset($fields['url']); | |
return $fields; | |
} |
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_filter( 'infinity_images', 'add_infinity_pro_widget_images'); | |
function add_infinity_pro_widget_images($images) { | |
$images = array( '1', '2', '3', '4', '5', '6', '7' ); | |
return $images; | |
}; |
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_filter('frm_field_type', 'hide_admin_only_fields_on_front_end', 10, 2); | |
function hide_admin_only_fields_on_front_end($type, $field) { | |
global $wpdb; | |
$frm_fields = $wpdb->prefix . 'frm_fields'; | |
$regexp = '"admin_only";s:13:"administrator"'; | |
$field_ids = $wpdb->get_results("SELECT id FROM $frm_fields where field_options REGEXP '" . $regexp . "'", ARRAY_A); | |
$admin_field_ids = array(); | |
foreach( $field_ids AS $row ) { |
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_filter( 'genesis_structural_wrap-header', 'add_additional_container_to_structural_wrap', 10, 2); | |
function add_additional_container_to_structural_wrap( $output, $original_output ) { | |
if ( 'open' == $original_output ) | |
$output .= '<div class="wrap-inner">'; | |
elseif ( 'close' == $original_output ) | |
$output .= '</div>'; |
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 | |
/** | |
* This file adds the custom portfolio post type archive template to the Executive Pro Theme. | |
* | |
* @author StudioPress | |
* @package Executive Pro | |
* @subpackage Customizations | |
*/ |
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
<!-- Copyright (C) 2008 The Android Open Source Project | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
<a href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</a> | |
Unless required by applicable law or agreed to in writing, software | |
distributed under the License is distributed on an "AS IS" BASIS, |