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 | |
| /** | |
| * Comparison adds script if site URL is same as production URL | |
| * | |
| * @returns inline script | |
| */ | |
| $site_url = get_site_url(); | |
| $prod_url = 'add-prod-url.com'; |
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
| <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="300px" height="300px" viewBox="0 0 300 300" xml:space="preserve"> | |
| <defs> | |
| <mask id="bottomMask"> | |
| <rect id="bbox" x="110" y="240" width="100" height="60" fill="000" /> | |
| </mask> | |
| </defs> |
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 class="row clearfix"> | |
| <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="300px" height="300px" viewBox="0 0 300 300" xml:space="preserve"> | |
| <defs> | |
| <mask id="Mask"> | |
| <rect x="0" y="35" width="100" height="60" fill="fff" /> | |
| </mask> | |
| <clipPath id="myClipPath" > | |
| <rect x="0" y="35" width="200" height="60" fill="fff" > |
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
| <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" | |
| width="300px" height="300px" viewBox="0 0 300 300" xml:space="preserve"> | |
| <!-- SCALE COMPONENTS --> | |
| <g id="Scale"> | |
| <path id="container" fill-rule="evenodd" clip-rule="evenodd" fill="#A8A8A8" stroke="#000000" stroke-miterlimit="10" d="M202.24,289.69 | |
| l-107-0.609v-19.516l13.472-22.365c0,0,1.945-5.604,8.444-6.119c10.067-0.8,55.785-0.106,61.667-0.106s8.334,5.529,8.334,5.529 | |
| l15.083,22.741V289.69z" /> |
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
| <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" | |
| width="300px" height="300px" viewBox="0 0 300 300" xml:space="preserve"> | |
| <defs> | |
| <!-- For area between arrows --> | |
| <clipPath id="myClipPath"> | |
| <rect x="180" y="100" width="20" height="30" fill="fff"> |
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
| # source ~/.profile | |
| # Set PATH vars | |
| export PATH="/usr/local/bin:$PATH" | |
| export PATH=/usr/local/bin:$PATH | |
| export PATH=$HOME/.rbenv/bin:$PATH | |
| # Setting PATH for Python 3.5 | |
| # The original version is saved in .bash_profile.pysave | |
| export PATH="/Library/Frameworks/Python.framework/Versions/3.5/bin:$PATH" |
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 | |
| /** | |
| * Customized Login Actions | |
| * | |
| */ | |
| function loginlogo() { // TODO use brand colors if possible | |
| echo "<style type=\"text/css\"> | |
| .login h1 a { |
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 | |
| /** | |
| * Customized Login Actions | |
| * | |
| */ | |
| function loginlogo() { // TODO use brand colors if possible | |
| echo "<style type=\"text/css\"> | |
| .login h1 a { |
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
| <!-- Header --> | |
| <!-- True/False --> | |
| <!-- Images --> | |
| <?php // vars | |
| $pic = wp_get_attachment_image(get_sub_field( 'image' ), 'full', false, $attr=array('class' => 'img-responsive')); | |
| ?> | |
| <?php echo $pic; ?> |
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
| # BEGIN KEEP ALIVE | |
| <IfModule mod_headers.c> | |
| Header set Connection keep-alive | |
| </IfModule> | |
| # END KEEP ALIVE | |
| # BEGIN EXPIRES | |
| <IfModule mod_expires.c> | |
| # Enable expirations | |
| ExpiresActive On |