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
/** | |
* Make the Blurb Module click-able | |
* This will find the anchor from title and pass the | |
* url to full Blurb body | |
* | |
* @author Rhythm Shahriar | |
* @link https://rhythmshahriar.com | |
*/ | |
$(document).ready(function () { |
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
/*** ADMIN BAR FIX ***/ | |
#wpadminbar{ | |
z-index: 999999999999; | |
} | |
body.admin-bar #navbar{ | |
margin-top: 32px; | |
} | |
/* icon based admin bar 781px */ |
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
/** | |
* Canvas Boilerplate | |
* @version 1.0 | |
* @author Rhythm Shahriar | |
* @link http://rhythmshahriar.com | |
*/ | |
/** | |
* Select canvas node |
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
# ---------------------------------------------------------------------- | |
# SSL SETUP | |
# ---------------------------------------------------------------------- | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteCond %{SERVER_PORT} 80 | |
RewriteRule ^(.*)$ https://mydomain.com/$1 [R,L] | |
</IfModule> |
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
web: vendor/bin/heroku-php-apache2 public/ |
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
RewriteEngine on | |
RewriteCond %{REQUEST_URI} !^public | |
RewriteRule ^(.*)$ public/$1 [L] |
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
/*-------------------- ROGUE/DIVI CSS ADJUSTMENT --------------------*/ | |
/*-------------------------------------------------------------------*/ | |
/*-- bootstrap container size with design */ | |
.container { | |
max-width: 1200px !important; | |
width: 100% !important; | |
} | |
/*-- divi spacig with bootstrap */ | |
.page .et_pb_section, .single .et_pb_section { |
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
/** | |
* This is a collection of Vanilla JavaScript | |
* equivalents to jQuery methods. | |
* | |
* @author Rhythm Shahriar <[email protected]> | |
* @link http://rhythmshahriar.com | |
*/ | |
/**---------------------------------------------------------------------- | |
* DOM selectors |
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 | |
---------------------------------------------------*/ | |
#Remove Query Strings from Static Resources | |
function _remove_script_version( $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
/**------------------------------------------------- | |
* @package Code Snippets | |
* @link http://rhythmshahriar.com/codes/ | |
* @author Rhythm Shahriar <[email protected]> | |
* @link http://rhythmshahriar.com | |
* @copyright Copyright © 2017, Rhythm Shahriar | |
---------------------------------------------------*/ | |
if( !is_admin()){ | |
$url = 'http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js'; |