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 | |
// Remove Genesis in-post SEO Settings | |
remove_action( 'admin_menu', 'genesis_add_inpost_seo_box' ); | |
// Remove Genesis Layout Settings | |
remove_theme_support( 'genesis-inpost-layouts' ); | |
// Remove Genesis menu link | |
remove_theme_support( 'genesis-admin-menu' ); |
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
<iframe src="http://docs.google.com/gview?url=http://example.com/mypdf.pdf&embedded=true" style="width:100%; height:1000px;" frameborder="0"></iframe> |
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
<iframe src="url" sandbox="allow-forms allow-scripts"></iframe> |
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
//* Make Font Awesome available | |
add_action( 'wp_enqueue_scripts', 'enqueue_font_awesome' ); | |
function enqueue_font_awesome() { | |
wp_enqueue_style( 'font-awesome', '//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css' ); | |
} |
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
//* NOTE: Add to functions.php or to a functionality plugin | |
//*Remove Admin Bar For Subscribers | |
add_action('after_setup_theme', 'remove_admin_bar'); | |
function remove_admin_bar() { | |
if (!current_user_can('administrator') && !is_admin()) { | |
show_admin_bar(false); | |
} | |
} |
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
//* NOTE: Add to functions.php or to a functionality plugin | |
//* Remove Links Menu | |
add_action( 'admin_menu', 'my_remove_menu_pages' ); | |
function my_remove_menu_pages() { | |
remove_menu_page('link-manager.php'); | |
} |
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
Enter in your Gist Link |
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 | |
/** | |
* Gravity Wiz // Gravity Forms Unrequire Required Fields for Testing | |
* | |
* When bugs pop up on your forms, it can be really annoying to have to fill out all the required fields for every test | |
* submission. This snippet saves you that hassle by unrequiring all required fields so you don't have to fill them out. | |
* | |
* @version 1.0 | |
* @author David Smith <[email protected]> | |
* @license GPL-2.0+ |
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
/* Simple Social Icons | |
--------------------------------------------- */ | |
.simple-social-icons li.social-dribbble a { | |
border: 2px solid #ea4c89 !important; | |
color: #ea4c89 !important; | |
} | |
.simple-social-icons li.social-dribbble a:hover { | |
background-color: #ea4c89 !important; |
OlderNewer