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
<div class="carrieforde-project-images"> | |
<?php | |
if ( $project_images ) { | |
for ( $i = 0; $i < $project_images; $i++ ){ | |
$project_image = get_post_meta( get_the_id(), 'project_images_' . $i . '_project_image', true ); | |
$img = get_post( $project_image ); | |
$caption = $img->post_excerpt; | |
$imgcaption = $caption; | |
if ( ! empty( $caption ) ) { |
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
- trigger: wdsjs | |
description: jQuery - The WDS Way | |
scope: javascript | |
mTime: 1473172253165 | |
text: | | |
/** | |
* ${1:Foo Script}. | |
*/ | |
window.${2:Foo_Object} = {}; | |
( function( window, $, app ) { |
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
@mixin element($element) { | |
&__#{$element} { | |
@content; | |
} | |
} | |
@mixin modifier($modifier) { | |
&--#{$modifier) { |
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
wp plugin install akismet black-studio-tinymce-widget broken-link-checker developer google-analytics-for-wordpress wordpress-seo jetpack debug-bar monster-widget log-deprecated-notices simply-show-ids theme-check --activate |
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
git init # initialize a new repo | |
git clone <remote repo> <directory name> # clone an existing repo to your machine | |
git status # see what files have been modified or added, if you’ve fetched recently, check where your local is in relation to the remote | |
git add <file or directory>, git add -A # if you want to choose with files to add, use git add <file>, otherwise, git add -A will stage everything that has new or has been modified | |
git commit -m “<message>” # commit your staged files | |
git fetch <remote> <remote branch> # fetch any changes on remote. Both the remote name and remote branch are optional. Use in conjunction with git status | |
git pull <remote> <remote branch> # pull the latest version of the remote to your local | |
git push <remote> <remote branch> # push your local changes to the remote (you may need to set up your remote first!) | |
git remote add <remote name> <remote repo> # set up a r |
* indicates extensions currently in use
- Brackets Git by Martin Zagora *
- Brackets Snippets (by edc) by Edward Chu *
- Brackets Tab to space by David Deraedt *
- brackets-file-tree-exclude *
- Extensions Rating by Alex Bardanov *
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
//-------------------------------------------------------------- | |
// GRID | |
//-------------------------------------------------------------- | |
// Outputs .prefix-col-# | |
.prefix { | |
@include grid-classes(null, $neat-grid); | |
} |
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
## List all remote branches ## | |
git branch -r | |
## Checkout a remote branch ## | |
git branch <local branch name> <remote branch name> | |
## Push up a local branch to remote with a different name ## | |
git push origin <local branch name>:<remote branch name> # separate local and remote with a : |
OlderNewer