This project uses the Gitflow Worflow.
You can learn more here
There are two branches Master and Dev. You will only need to concern yourself with the Dev branch.
The Dev branch will be used to integrate all the themes changes/features.
$col: calc((1200px - (11 * 10px)) / 12); // ($wrapperWidth - ($numberOfGutters * $gutterWidth)) / $numberOfColumns | |
.grid { | |
display: grid; | |
} | |
.grid-12 { | |
display: grid; | |
grid-template-columns: minmax(20px, 1fr) repeat(12, minmax(auto, $col)) minmax(20px, 1fr); | |
grid-gap: 10px; |
[ | |
{ | |
"Origin": "Antigua", | |
"Destination": "Barbados", | |
"Base Miles": "831" | |
}, | |
{ | |
"Origin": "Antigua", | |
"Destination": "Grenada", | |
"Base Miles": "831" |
/** | |
* This plugin depends on Piklist | |
* | |
* Is the piklist plugin activated? | |
* | |
* @since 1.0.0 | |
*/ | |
public function is_piklist_activated() { | |
if( is_admin() ) { |
/** | |
* Hides checkout fields based on the products in the cart | |
* | |
* @param array $fields | |
* @return array | |
*/ | |
function conditional_checkout_fields_products( $fields ) { | |
$cart = WC()->cart->get_cart(); | |
foreach ( $cart as $item_key => $values ) { |
*~ | |
.DS_Store | |
.svn | |
.cvs | |
*.bak | |
*.swp | |
Thumbs.db | |
# wordpress specific | |
wp-config.php |
This project uses the Gitflow Worflow.
You can learn more here
There are two branches Master and Dev. You will only need to concern yourself with the Dev branch.
The Dev branch will be used to integrate all the themes changes/features.
<?php | |
use Vault\Sage\Wrapper; | |
function sage_wrap_info() { | |
$format = '<h6>The %s template being used is: %s</h6>'; | |
$main = Wrapper\SpringWrapping::$main_template; | |
global $template; | |
printf($format, 'Main', $main); |
add_action('init', 'studious_redirect_to_custom_login'); | |
function studious_redirect_to_custom_login() { | |
$login_page = home_url('/login/'); | |
$page = basename($_SERVER['REQUEST_URI']); | |
if( $page == "wp-login.php" && $_SERVER['REQUEST_METHOD'] == 'GET') { | |
wp_redirect($login_page); | |
exit; | |
} | |
} |
<?php | |
/** | |
* Register all actions and filters for the plugin | |
* | |
* @link http://chinarajames.com | |
* @since 1.0.0 | |
* | |
* @package Studiousapp_Notes | |
* @subpackage Studiousapp_Notes/includes |
/*------------------------------------*\ | |
#SHOW-HIDE | |
\*------------------------------------*/ | |
.hide, .screen-reader-text { @include hide(); } | |
@include media-query(palm) { | |
.hide-palm { @include hide(); } | |
} |