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
/* #Media Queries | |
================================================== */ | |
/* Smartphones (portrait and landscape) ----------- */ | |
@media only screen and (min-width : 320px) and (max-width : 480px) {} | |
/* Smartphones (landscape) ----------- */ | |
@media only screen and (min-width : 321px) {} | |
/* Smartphones (portrait) ----------- */ |
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 | |
// Include WordPress | |
define('WP_USE_THEMES', false); | |
require('/website-root-directory/wp-load.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
/* Fixes for Internet Explorer CSS - ie.css */ | |
/* png fix for IE6 and lower | |
------------------------------------ */ | |
* html #selector { | |
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='img/image.png'); | |
background-image: none; | |
background-repeat: no-repeat; |
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 | |
/* | |
Addon Name: Free subscriptions gateway | |
Author: Barry (Incsub) | |
Author URI: http://caffeinatedb.com | |
Gateway ID: freesubscriptions | |
*/ | |
class freesubscriptions extends M_Gateway { |
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
if ( ! function_exists( 'wp_new_user_notification' ) ) : | |
function wp_new_user_notification( $user_id, $plaintext_pass = '' ) { | |
return | |
} | |
endif; |
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 | |
/** | |
* class_exists() is a fail-safe. | |
*/ | |
if ( ! class_exists( 'Parent_Class_Plugin' ) ) | |
return; | |
class Child_Class_Plugin extends Parent_Class_Plugin { | |
// Your plugin code goes here. |
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 | |
/** | |
* Send form page | |
*/ | |
function rwpm_send() | |
{ | |
global $wpdb, $current_user; | |
?> | |
<div class="wrap"> | |
<h2><?php _e( 'Send Private Message', 'pm4wp' ); ?></h2> |
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 | |
namespace ShowMemberSince; | |
add_action( 'plugins_loaded', 'ShowMemberSince\init' ); | |
/** | |
* Adding needed action hooks | |
*/ | |
function init(){ |