Skip to content

Instantly share code, notes, and snippets.


Shelley Denise girlie

  • GirlieWorks, LLC
View GitHub Profile
blcarson / slack-4-lato.css
Created Jul 23, 2019
Fork of @caiceA's dark Slack v4 theme with default fonts and minor CSS fixes
View slack-4-lato.css
@import url(',700,900&display=swap');
body {
font-family: 'Lato', sans-serif !important;
text-rendering: optimizeLegibility !important;
word-spacing: -1px;
-webkit-font-smoothing: auto;
.CodeMirror-cursor {
border-left-color: rgba(255,255,255,1) !important;
lanecwheeler / slack-css
Last active Jan 23, 2019
Custom css to edit colors on Slack desktop client
View slack-css
Copyright 2017 Bryan Keller (
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
anonymous / gist:7c1592d763baeb89035e02f7bf1fa41a
Created Sep 5, 2017
fix wprocket-slash.php
View gist:7c1592d763baeb89035e02f7bf1fa41a
defined( 'ABSPATH' ) or die( 'Cheatin\' uh?' );
Plugin Name: Enforce Trailing Slash on URLs
Author: Jonathan (WP Rocket Team)
Author URI:
add_filter( 'before_rocket_htaccess_rules', '__force_trailing_slash' );
function __force_trailing_slash( $marker ) {
View wp-rocket-deactivate-inline-css.php
function wp_rocket_deactivate_inline_css_minify( $html_options ) {
unset( $html_options['cssMinifier'] );
return $html_options;
View wp-rocket-activate-inline-js.php
function wp_rocket_activate_inline_js_minify( $html_options ) {
$html_options['jsMinifier'] = 'rocket_minify_inline_js';
return $html_options;
add_filter( 'rocket_minify_html_options', 'wp_rocket_activate_inline_js_minify' );
View rocket-remove-fb-ua
add_filter( 'rocket_cache_reject_ua', 'wprocket_remove_fb_ua' );
function wprocket_remove_fb_ua( $ua ) {
if ( in_array( 'facebookexternalhit', $ua ) ) {
$ua = array_flip( $ua );
unset( $ua[ 'facebookexternalhit' ] );
$ua = array_flip( $ua );
return $ua;
paaljoachim / genesis-featured-image.php
Last active Sep 12, 2019
Featured image for Genesis themes. 1. Sets the featured image. 2. If no featured image get image from category. 3. If no category image then get the first post image. 4. If no post image or category image then sets a fallback image.
View genesis-featured-image.php
carasmo / for-functions.php
Last active Jul 2, 2016
Custom genesis_sitemap_output using the previously created custom get_posts() function to exclude posts or show only a specific category.
View for-functions.php
// don't include
/** ====================================================================================
* SITE MAP : archive page filter for genesis_sitemap_output();
* using christina_get_posts_for_sitemap();
==================================================================================== **/
function christina_sitemap($sitemap_post_list) {
joshuadavidnelson / basic-dropdown-usage.php
Last active Sep 2, 2020
Filter wp_dropdown_categories by post type.
View basic-dropdown-usage.php
* Using wp_dropdown_categories with the post type filter applied.
* @link
// Taxonomy dropdown arguments
$args = array(
'taxonomy' => 'department',
glueckpress / wp-rocket-custom.php
Created Dec 31, 2015
[WordPress][WP Rocket] Boilerplate for a custom functionality (MU) plugin.
View wp-rocket-custom.php
* Plugin Name: Your Custom Functionality Plugin
* Description: Short description of your plugin here.
* Author: your name here
* License: GNU General Public License v3 or later
* License URI:
// Basic security, prevents file from being loaded directly.
You can’t perform that action at this time.