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
/**------------------------------------------------- | |
* Simple Captcha System | |
* @package Code Snippets | |
* @link http://rhythmshahriar.com/codes/ | |
* @author Rhythm Shahriar <[email protected]> | |
* @link http://rhythmshahriar.com | |
* @copyright Copyright © 2017, Rhythm Shahriar | |
---------------------------------------------------*/ | |
body { | |
background-color: #2d2d2d; |
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 | |
/**------------------------------------------------- | |
* Standard MySQLi functionality | |
* @package Code Snippets | |
* @link http://rhythmshahriar.com/codes/ | |
* @author Rhythm Shahriar <[email protected]> | |
* @link http://rhythmshahriar.com | |
* @copyright Copyright © 2017, Rhythm Shahriar | |
---------------------------------------------------*/ |
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
/**------------------------------------------------- | |
* @package Code Snippets | |
* @link http://rhythmshahriar.com/codes/ | |
* @author Rhythm Shahriar <[email protected]> | |
* @link http://rhythmshahriar.com | |
* @copyright Copyright © 2017, Rhythm Shahriar | |
---------------------------------------------------*/ | |
#PROPER WAY TO LOAD GOOGLE FONTS IN WORDPRESS | |
//load the fonts from googleapis |
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
/* | |
PROJECT : BIRTHDAY CALCULATOR | |
PROGRAMMER : Rhythm Shahriar | |
URL : http://rhythmshahriar.com | |
EMAIL : [email protected] | |
COPYRIGHT : copyright © - 2014 BULKSTUDIO INC. | |
*/ | |
#include <stdio.h> | |
#include <time.h> |
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 | |
/**------------------------------------------- | |
* @package Code Snippets | |
* @link http://rhythmshahriar.com/code/ | |
* @author Rhythm <[email protected]> | |
* @copyright Copyright (c) 2013, Rhythm Shahriar | |
-------------------------------------------------*/ | |
//Remove query strings from static resources | |
function _remove_script_version( $src ){ | |
$parts = explode( '?ver', $src ); |
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 | |
/**------------------------------------------- | |
* @package Webmaster Verification | |
* @link http://rhythmshahriar.com/ | |
* @author Rhythm <[email protected]> | |
* @copyright Copyright (c) 2013, Rhythm Shahriar | |
-------------------------------------------------*/ | |
// Google, Bing, Alexa Verification Codes | |
add_action( 'wp_head', 'rhythm_verification_codes' ); | |
function rhythm_verification_codes () { |
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 | |
/**------------------------------------------- | |
* @package Code Snippets | |
* @link http://rhythmshahriar.com/code/ | |
* @author Rhythm <[email protected]> | |
* @copyright Copyright (c) 2013, Rhythm Shahriar | |
-------------------------------------------------*/ | |
add_filter('comment_form_default_fields', 'rs_remove_comment_web_url'); | |
function rs_remove_comment_web_url($fields) |
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 | |
/**------------------------------------------- | |
* @package Code Snippets | |
* @link http://rhythmshahriar.com/code/ | |
* @author Rhythm <[email protected]> | |
* @copyright Copyright (c) 2013, Rhythm Shahriar | |
-------------------------------------------------*/ | |
// Use this code to remove wp generator meta | |
remove_action('wp_head', 'wp_generator'); |
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 | |
/**------------------------------------------- | |
* @package Code Snippets | |
* @link http://rhythmshahriar.com/code/ | |
* @author Rhythm <[email protected]> | |
* @copyright Copyright (c) 2013, Rhythm Shahriar | |
-------------------------------------------------*/ | |
remove_action( 'genesis_meta', 'genesis_load_stylesheet' ); | |
add_action( 'genesis_meta', 'rs_child_stylesheet_cdn' ); | |
function rs_child_stylesheet_cdn() { |