Skip to content

Instantly share code, notes, and snippets.


Edward Edwardtonnn

  • Los Angeles Web Club
  • South Gate, CA
Block or report user

Report or block Edwardtonnn

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
Edwardtonnn / custom_jquery-script.js
Last active Jan 26, 2018
Adding jQuery to WordPress Avada Child Theme
View custom_jquery-script.js
(function($) {
$(document).ready(function() {
jQuery( "a", this).toggleClass("white");
Edwardtonnn / index.html
Created Mar 21, 2018
Module for Lazone Morgan
View index.html
<div class="lzmProcess">
<i class="fa fa-phone fa-icon-edit" aria="true"></i>
<p class="lzmProcessParagraph">
Contact Our Team of Professionals
Edwardtonnn / date.js
Created Apr 2, 2018
jquery and javascript date function
View date.js
var monthNames = [
Edwardtonnn / functions.php
Created May 9, 2018
Adding Favicon to Genesis Theme functions.php file
View functions.php
/** Adding custom Favicon */
add_filter( 'genesis_pre_load_favicon', 'custom_favicon' );
function custom_favicon( $favicon_url ) {
return '';
Edwardtonnn / functions.php
Created May 9, 2018
Removes the edit links on Genesis Theme
View functions.php
//* Do NOT include the opening php tag
//* Remove the edit link
add_filter ( 'genesis_edit_post_link' , '__return_false' );
Edwardtonnn / functions.php
Created May 17, 2018
Genesis Custom Footer
View functions.php
//* 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="">Admin</a></p>
Edwardtonnn / wordpress-change-domain-migration.sql
Created Jun 15, 2018 — forked from chuckreynolds/wordpress-change-domain-migration.sql
Use this SQL script when changing domains on a WordPress site. Whether you’re moving from an old domain to a new domain or you’re changing from a development domain to a production domain this will work. __STEP1: always backup your database. __STEP2: change the ‘’ and ‘’ variables to your own. __STEP3: make sure your databa…
View wordpress-change-domain-migration.sql
SET @oldsite='';
SET @newsite='';
UPDATE wp_options SET option_value = replace(option_value, @oldsite, @newsite) WHERE option_name = 'home' OR option_name = 'siteurl';
UPDATE wp_posts SET post_content = replace(post_content, @oldsite, @newsite);
UPDATE wp_links SET link_url = replace(link_url, @oldsite, @newsite);
UPDATE wp_postmeta SET meta_value = replace(meta_value, @oldsite, @newsite);
/* only uncomment next line if you want all your current posts to post to RSS again as new */
#UPDATE wp_posts SET guid = replace(guid, @oldsite, @newsite);
Edwardtonnn / A.markdown
Created Jun 19, 2018 — forked from larrybotha/A.markdown
Export multiple artboards in Adobe Illustrator to png, or pdf
View A.markdown

Export multiple Adobe Illustrator artboards to png, jpg, pdf

This is a reference to Matthew Ericson's article Export Illustrator Layers and/or Artboards as PNGs and PDFs in case something happens to happen to the article, and if I just forget where to find the exporter online.


  • Drop MultiExporter.js into /Applications/Adobe\ Illustrator\ CS6/Presets.localized/en_GB/Scripts
  • Restart Illustrator
Edwardtonnn / functions.php
Last active Jul 11, 2018
Genesis Enqueue Styles Function
View functions.php
//Do not include opening <?php tag
//* Load custom style sheet
add_action( 'wp_enqueue_scripts', 'load_styles' );
function load_styles() {
get_stylesheet_directory_uri() . '/css/custom.css',
Edwardtonnn / custom.js
Last active Jul 11, 2018
wp_enqueue script
View custom.js
(function($) {
// $ Works! You can test it with next line if you like
console.log("I'm alive!");
})( jQuery );
You can’t perform that action at this time.