Skip to content

Instantly share code, notes, and snippets.



Last active Jul 11, 2018
What would you like to do?
Holy Grail of All Genesis
//Only Code Below This Line
//* Customize the entire footer
remove_action( 'genesis_footer', 'genesis_do_footer' );
add_action( 'genesis_footer', 'custom_footer' );
function custom_footer() {
<p>&copy; Copyright 2012 <a href="">My Domain</a> &middot; All Rights Reserved &middot; Powered by <a href="">WordPress</a> &middot; <a href="">@Edwardtonnn</a></p>
//* Remove the edit link
add_filter ( 'genesis_edit_post_link' , '__return_false' );
/** Adding custom Favicon */
add_filter( 'genesis_pre_load_favicon', 'custom_favicon' );
function custom_favicon( $favicon_url ) {
return '';
// Adds Custom Header with Conditional Logic
add_action ('genesis_after_header' , 'custom_hero_header', 20);
function custom_hero_header(){
// conditional logic for header background image
echo '
<div class="hero-container">
<div class="hero-content-wrapper">
<div class="hero-content">
<h1 class="text-lead text-light">One Focus.</h1>
<h1 class="text-lead text-reg">One Practice.</h1>
<h1 class="text-lead text-semi-bold">One Passion.</h1>
<h1 class="text-lead text-bold">Immigration Law.</h1>
// Family Based Immigrant Visas
echo '<div class="page-header-container">
<div class="page-content-wrapper">
<a class="btn-call" href="tel:562-432-6227">Give Us A Call</a>
// Enable shortcodes in widgets
add_filter( 'widget_text', 'shortcode_unautop' );
add_filter('widget_text', 'do_shortcode');
// Add Google Fonts Links
//Add Font Awesome
add_action( 'genesis_meta', 'custom_meta' );
function custom_meta() {
<link href=",900" rel="stylesheet">
<link href="" rel="stylesheet">
// Adds Logo in Site Title Area
function custom_logo(){
<a href="http://localhost/dev-aml/">
<img src="http://localhost/dev-aml/wp-content/uploads/2018/07/Logo-Final.png" alt="Angela Nova McGill Logo" height="80px" width="400">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment