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 | |
| // Bernie Additional Functions <3 <3 <3 <3 <3 | |
| // menu css | |
| function custom_admin_css() { | |
| echo '<style type="text/css"> | |
| #wphead{background:#592222} | |
| #footer{background:#592222} |
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
| function my_admin_theme_style() { wp_enqueue_style('my-admin-style', get_template_directory_uri() . '/path/to/admin/style.css'); } add_action('admin_enqueue_scripts', 'my_admin_theme_style'); |
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
| ლ(ಠ益ಠ)ლ |
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 if ( is_user_logged_in() ) { } else { ?> | |
| <a href="http://writers-site.com/whmcs-2/?ccce=register">Sign Up</a> | |
| <?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
| <div id="player"></div> | |
| <script src="http://luwes.co/vimeowrap.js/vimeowrap.js"></script> | |
| <script> | |
| vimeowrap('player').setup({ | |
| urls: [ | |
| 'https://vimeo.com/20768621', | |
| 'https://vimeo.com/21953913', | |
| 'https://vimeo.com/24581859' | |
| ], | |
| repeat: 'list', |
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
| RewriteEngine on | |
| RewriteCond %{HTTP_HOST} !^www\.housebuyersusa\.com | |
| RewriteRule (.*) http://www.housebuyersusa.com/$1 [R=301,L] | |
| #ErrorDocument 404 http://www.housebuyersusa.com/error/error | |
| AddType text/css .css | |
| RewriteRule !\.(css|rtf|RTF|pdf|PDF|log|xml|js|ico|gif|htc|jpg|png|htm|swf|flv|mp3|zip|rar|doc)$ index.php | |
| -------------------------------------------------------------------------------------- | |
| rewriteengine on |
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
| //Bernie's Custom CSS | |
| function bernie_scripts_styles() { | |
| wp_enqueue_style( 'custom-style', get_template_directory_uri() . '/css/main.css' ); //our stylesheet | |
| } | |
| add_action( 'wp_enqueue_scripts', 'bernie_scripts_styles' ); |
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
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |