Last active
February 15, 2016 18:50
-
-
Save bhubbard/7740935a11ab19f0524c to your computer and use it in GitHub Desktop.
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 idxbroker_dynamic_wrapper_css_tag() { | |
if ( 'idx-wrapper' == get_post_type() ) { | |
echo "\n<!-- IDX CSS -->\n\n"; // IDX Broker detection comment | |
} | |
} | |
add_action('wp_print_styles', 'idxbroker_dynamic_wrapper_css_tag'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment