The popular open-source contract for web designers and developers by Stuff & Nonsense
- Originally published: 23rd December 2008
- Revised date: October 8th 2015
- Original post
<?php | |
/* | |
* Override Settings Option for Full Height & Behind Header | |
*/ | |
add_filter('hero4genesis_class', 'hero_below_header'); | |
function hero_below_header($class){ | |
if( is_page() ){ | |
$key = array_search('hero4genesis-behind', $class); | |
unset($class[ $key ]); |
.hero4genesis-behind-header .hero4genesis-behind{ padding: 0px; } |
Hosting | |
We provide hosting for our own built websites on our preferred hosting provider <hosting provider name>. | |
Based on their SLA we endeavor to have 99.9% uptime on our servers measured annually. | |
There may of course be times when the server will not be available, this can be scheduled or unscheduled. | |
Scheduled downtime is when we know it is going to happen and tell you about it in advance. Scheduled downtime will wherever possible, almost certainly be outside of normal office hours. We’ll do our stuff in the evening or at weekend to minimize impact on your business. | |
There may be very rare occasions when we need to restart the server during normal office hours and it is not possible to inform you before hand. We don’t make these decisions lightly and if this does happen we apologise. |
.widget_search#search-4{ | |
background-color: #19a87d; | |
color: #fff; | |
} | |
.widget_search#search-4 .widget-title{ | |
color: #fff; | |
border: 1px solid #fff; | |
} |
.widget.newsletter-green{ | |
background-color: #19a87d; | |
color: #fff; | |
} | |
.widget.newsletter-green input{ | |
border: 1px solid #fff; | |
} | |
.widget.newsletter-green input[type="submit"], .widget.newsletter-green button{ | |
background-color: #ea6a1b; | |
color #fff; |
<?php | |
//Create CPT for testimonials | |
add_action( 'init', 'testimonials_CPT', 0 ); | |
function testimonials_CPT() { | |
$labels = array( | |
'name' => __( 'Testimonials', 'focuswp' ), | |
'singular_name' => __( 'Testimonials', 'focuswp' ), | |
'menu_name' => __( 'Testimonials', 'focuswp' ), | |
'name_admin_bar' => __( 'Testimonials', 'focuswp' ), |
<?php | |
//remove date meta display | |
add_action( 'focuswp_before_slide', 'focuswp_before_custom', 40 ); | |
function focuswp_before_custom( $params ){ | |
if( $params['item']->post_type == 'testimonials' ){ | |
remove_action( 'focuswp_content_meta', array( $params['this'], 'slide_meta' )); | |
} | |
} |
.testimonial-wrap{ | |
color: #fff; | |
padding-top: 50px; | |
padding-bottom: 50px; | |
margin-bottom: 50px; | |
background: rgba(118, 184, 82, 0.9); /** Change to your preferred color **/ | |
text-align: center; | |
} | |
.testimonial-wrap span.above-title{ | |
display: block; |