Skip to content

Instantly share code, notes, and snippets.

William Beeler gofishwbeeler

Block or report user

Report or block gofishwbeeler

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
gofishwbeeler / functions.php
Last active Apr 2, 2019
Loads all your Javascript files in Wordpress
View functions.php
function gfd_theme_scripts() {
wp_enqueue_script( 'all-my-scripts', get_template_directory_uri() . '/js/all.js', array(), '1.0.0', true );
add_action( 'wp_print_scripts', 'gfd_theme_scripts' );
gofishwbeeler / functions.php
Last active Apr 2, 2019
Loads a specific stylesheet for your Wordpress theme
View functions.php
function gfd_stylesheets()
wp_enqueue_style('my-theme-css', get_template_directory_uri() . '/styles.css', array(), '1.0.0', 'all');
add_action('wp_print_styles', 'gfd_stylesheets', PHP_INT_MAX);
gofishwbeeler / functions.php
Created Apr 2, 2019
De-register all Styles from Wordpress
View functions.php
function gfd_remove_all_styles() {
global $wp_styles;
$wp_styles->queue = array();
add_action('wp_print_styles', 'gfd_remove_all_styles', 100);
gofishwbeeler / functions.php
Created Apr 2, 2019
De-registers all scripts in Wordpress
View functions.php
function gfd_remove_all_scripts() {
global $wp_scripts;
$wp_scripts->queue = array();
add_action('wp_print_scripts', 'gfd_remove_all_scripts', 100);
gofishwbeeler / wp-footer
Created Apr 2, 2019
Wp footer hook example
View wp-footer
gofishwbeeler / wp-head
Last active Apr 2, 2019
Wphead hook example
View wp-head
<?php wp_head(); ?>
gofishwbeeler /
Created Aug 14, 2018 — forked from lukas-h/
License Badges for your Project

Markdown License badges

Collection of License badges for your Project's README file.
This list includes the most common open source and open data licenses.
Easily copy and paste the code under the badges into your Markdown files.


  • Badges are made with
  • This badges do not fully replace the license informations for your projects, they are only emblems for the README, that the user can see the License at first glance.  
  • 🇫🇷 Cette liste en français
  • Github has a new autodetection of the LICENSE file, which shows up the license at the repo overview
gofishwbeeler / .htaccess
Created Mar 31, 2017
CI: Simple .htaccess using mod_rewrite for CodeIgniter
View .htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
# !IMPORTANT! Set your RewriteBase here and don't forget trailing and leading
# slashes.
# If your page resides at
# then use
# RewriteBase /mypage/test1/
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
You can’t perform that action at this time.