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
################################################################################ | |
// Custom Login Page Styles | |
################################################################################ | |
// Custom Login CSS | |
function imfza_custom_login() { | |
wp_register_style( 'custom-login', get_template_directory_uri() . '/assets/css/custom-login.css', true, 'all' ); | |
wp_enqueue_style( 'custom-login' ); | |
remove_filter( 'wp_admin_css','wp_admin_css' ); | |
} |
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
<!-- Add these tags to the HEAD section of your page. --> | |
<link href="http://coderwall.com/stylesheets/jquery.coderwall.css" media="all" rel="stylesheet" type="text/css"> | |
<script src="http://coderwall.com/javascripts/jquery.coderwall.js"></script> | |
<!-- You also need to place a container where you'd like the Coderwall badges to render. --> | |
<section class="coderwall" data-coderwall-username="(your username)" data-coderwall-orientation="(vertical or horizontal)"></section> |
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
User-agent: * | |
# Disallow | |
Disallow: /cgi-bin | |
Disallow: /wp-admin | |
Disallow: /wp-includes | |
Disallow: /wp-content/plugins | |
Disallow: /wp-content/cache | |
Disallow: /wp-content/themes | |
Disallow: /trackback |
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 | |
################################################################################ | |
// Hide ReWebApp Custom Post Types | |
################################################################################ | |
function remove_rewebapp_menu_links() { | |
// Uncomment any post type you wish to hide | |
// remove_menu_page( 'edit.php?post_type=properties' ); | |
// remove_menu_page( 'edit.php?post_type=neighborhoods' ); | |
// remove_menu_page( 'edit.php?post_type=agents' ); |
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 | |
/** | |
* Template Name: IDX Wrapper | |
* | |
*/ | |
// Disable Admin Bar for this template Page | |
add_filter( 'show_admin_bar', '__return_false' ); | |
wp_dequeue_style( 'admin-bar' ); | |
wp_dequeue_script( 'admin-bar' ); |
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
function idxbroker_template_cleanup { | |
// Include for Active Plugin Check | |
include_once( ABSPATH . 'wp-admin/includes/plugin.php' ); | |
// Remove Wordpress SEO Features for IDX Wrapper | |
if (is_plugin_active('wordpress-seo/wp-seo.php')) { | |
add_filter( 'wpseo_next_rel_link', '__return_false' ); // Disable Rel Next Link | |
add_filter( 'wpseo_canonical', '__return_false' ); // Disable Canonical Link |
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 | |
/* Register our IE specific stylesheets. */ | |
wp_register_style( 'prefix-ie7-only', get_template_directory_uri() . '/css/ie7.css' ); | |
wp_register_style( 'prefix-ie8-only', get_template_directory_uri() . '/css/ie8.css' ); | |
wp_register_style( 'prefix-ie9-only', get_template_directory_uri() . '/css/ie.css' ); | |
/* Use the global wp_styles object to add our conditional statements due to the lack | |
* of conditional support in wp_register_style | |
*/ |
OlderNewer