View archive-testimonial.php
<?php
add_action ( 'get_header', 'tt_remove_post_info_archive' );
// Remove Post Info, Post Meta from CPT
function tt_remove_post_info_archive() {
remove_action( 'genesis_entry_header', 'genesis_post_info', 12 );
remove_action( 'genesis_entry_footer', 'genesis_post_meta' );
}
add_action('genesis_before_loop','tt_cpt_change_all');
View dont-update.php
<?php
/*
Plugin Name: Don't Update Some Plugins
Plugin URI: https://wpbeaches.com
Description: This doesn't update some plugins
Author: Neil Gowran
Author URI: https://wpbeaches.com
License: GPL2
*/
View filter-meta-footer-taxonomy-term.php
View package.php
<?php
add_action( 'genesis_entry_content', 'themeprefix_color_content' );
// ACF Values
// themeprefix_colors Main Repeater Field
// themeprefix_color sub-field - list of color values in a single radio button field
// Other Sub fields
// themeprefix_session
View nodules.css
/* Codepen - http://codepen.io/neilgee/pen/LxXJrE */
.content {
position: relative;
background: #20988f;
}
.content:after, .content:before {
View scroll-reload.js
;(function($){
/**
* Store scroll position for and set it after reload
*
* @return {boolean} [loacalStorage is available]
*/
$.fn.scrollPosReload = function(){
if (localStorage) {
var posReader = localStorage["posStorage"];
View acf-js.js
(function($) {
/*
* new_map
*
* This function will render a Google Map onto the selected jQuery element
*
* @type function
* @date 8/11/2013
* @since 4.3.0
View addClass-to-element-on-scroll.js
jQuery(document).ready(function($){
// Add white class to site header after 50px
$(document).on( 'scroll', function() {
if ( $(document).scrollTop() > 50 ) {
$( '.site-container' ).addClass( 'white' );
} else {
$( '.site-container' ).removeClass( 'white' );
View function.php
<?php
// Enqueue scripts and styles
add_action( 'wp_enqueue_scripts', 'themeprefix_enqueue_scripts_styles' );
function themeprefix_enqueue_scripts_styles() {
wp_enqueue_style( 'themeprefix-ionicons', '//code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css', array(), CHILD_THEME_VERSION );
wp_enqueue_script( 'themeprefix-offscreen', get_stylesheet_directory_uri() . '/js/offscreen.js', array( 'jquery' ), '1.0.0', true );
}
View extend-walker-class-with-fields.php
<?php
class WPB_Custom_Walker extends Walker {
/**
* What the class handles.
*
* @since 3.0.0
* @access public