View wordpress-typekit-enqueue.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Enqueue typekit fonts into WordPress using wp_enqueue_scripts. | |
* | |
* @author Robert Neu | |
* @author Eric Fernandez | |
* @copyright Copyright (c) 2014, Robert Neu | |
* @license GPL-2.0+ | |
* @link http://typekit.com | |
*/ |
View wordpress-font-awesome-cdn.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_action( 'wp_enqueue_scripts', 'prefix_enqueue_awesome' ); | |
/** | |
* Register and load font awesome CSS files using a CDN. | |
* | |
* @link http://www.bootstrapcdn.com/#fontawesome | |
* @author FAT Media | |
*/ | |
function prefix_enqueue_awesome() { | |
wp_enqueue_style( 'prefix-font-awesome', '//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css', array(), '4.0.3' ); |
View get-script-handles.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Output a list of all enqueued script handles. | |
* | |
* @author FAT Media, LLC | |
* @global $wp_scripts | |
* @todo Change 'prefix' to your theme or plugin prefix. | |
*/ | |
function prefix_print_script_handles() { |
View facet-wp-infinite-scroll.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* globals FWP */ | |
/** | |
* JavaScript for FacetWP Infinite Scroll | |
*/ | |
(function( $ ) { | |
'use-strict'; | |
var throttleTimer = null; | |
var throttleDelay = 100; |
View wp-featherlight-disable-woocommerce.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_action( 'wp_enqueue_scripts', 'prefix_disable_wp_featherlight_woocommerce', 10 ); | |
/** | |
* Remove all required scripts and styles on WooCommerce pages. | |
* | |
* @since 0.1.0 | |
* @access public | |
* @return void | |
*/ | |
function prefix_disable_wp_featherlight_woocommerce() { |
View genesis-ss-podcasting.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_action( 'genesis_before_content', 'prefix_move_podcast_player' ); | |
/** | |
* Remove the podcast meta filter on the_content. | |
* | |
* By default, the Seriously Simple Podcasting plugin will display the media | |
* player and other file info within the content. This doesn't allow for much | |
* flexibility with the placement, so this removes the filter and hooks a | |
* function to display the podcast meta elswhere in the markup. |
View wordpress-change-category-posts-per-page.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_action( 'pre_get_posts', 'prefix_category_query' ); | |
/** | |
* Customize category query using pre_get_posts. | |
* | |
* @author FAT Media <http://youneedfat.com> | |
* @copyright Copyright (c) 2013, FAT Media, LLC | |
* @license GPL-2.0+ | |
* @todo Change prefix to theme or plugin prefix |
View genesis-simple-grid.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Simple Grid helper functions. | |
* | |
* @package SimpleGrid | |
* @subpackage Genesis | |
* @copyright Copyright (c) 2014, Flagship, LLC | |
* @license GPL-2.0+ | |
* @since 1.0.0 | |
*/ |
View genesis-searchwp-image-search.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* This file adds the SearchWP Images template to your theme. | |
* | |
* Template Name: SearchWP Images | |
* | |
* @author Robert Neu | |
* @package Genesis | |
* @subpackage SearchWP | |
*/ |
NewerOlder