This file contains hidden or 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 | |
| /** | |
| * Plugin Name: Remove H1 Format | |
| * Plugin URI: http://calliaweb.co.uk/modify-tinymce-editor/ | |
| * Description: A simple plugin to remove the H1 format from the WordPress TinyMCE editor. | |
| * Version: 0.0.1 | |
| * Author: Jo Waltham | |
| * Author URI: http://calliaweb.co.uk/ | |
| * License: GPL-2.0+ | |
| * License URI: http://www.gnu.org/licenses/gpl-2.0.html |
This file contains hidden or 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 | |
| function basic_wp_seo() { | |
| global $page, $paged, $post; | |
| $default_keywords = 'wordpress, plugins, themes, design, dev, development, security, htaccess, apache, php, sql, html, css, jquery, javascript, tutorials'; // customize | |
| $output = ''; | |
| // description | |
| $seo_desc = get_post_meta($post->ID, 'mm_seo_desc', true); | |
| $description = get_bloginfo('description', 'display'); | |
| $pagedata = get_post($post->ID); |
This file contains hidden or 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 | |
| /** | |
| * Plugin Name: Example MU Plugin | |
| * Plugin URI: http://example.com | |
| * Description: Site-specific plugin for example.com | |
| * Version: 1.0.0 | |
| * Author: FAT Media | |
| * Author URI: http://youneedfat.com | |
| */ |
This file contains hidden or 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() { |
This file contains hidden or 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 | |
| */ |
This file contains hidden or 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' ); |
This file contains hidden or 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; |
This file contains hidden or 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() { |
NewerOlder