Snippet Prefixes
Prefix |
Description |
inc- |
Includes Snippets |
temp- |
Template Snippets |
dot- |
DOT File Snippets |
wp- |
WordPress Snippets |
ad- |
Atomic Design Snippets |
a- |
ACF Snippets |
m- |
Mixin Snippets |
h- |
HTML Snippets |
j- |
Javascript Snippets |
c- |
Class Snippets |
st- |
Stories Snippets |
vs- |
Visual Studio Snippets |
"Includes" Snippets
Snippet |
Description |
inc-mc |
Module Class |
inc-pc |
Parent Class |
inc-pr |
Post Type Registration |
inc-pi |
Post Type Interface |
inc-dns |
Post Type Functions |
inc-dn |
Post Type Function |
inc-cdn |
Post Type Function from Clipboard |
inc-f |
Function |
inc-cf |
Function from Clipboard |
inc-phd |
Handle Post Data (Singular) |
inc-phds |
Handle Post Data (Plural) |
inc-tr |
Taxonomy Registration |
inc-ti |
Taxonomy Interface |
inc-tfs |
Taxonomy Functions |
inc-tf |
Taxonomy Function |
inc-td |
Template Data |
inc-tb |
Template Blocks |
inc-sg |
Set Global |
inc-fn |
File Name |
inc-cfn |
File Name (Capitalized) |
inc-dn |
Directory Name |
inc-dnc |
Directory Name (Capitalized) |
"Template" Snippets
Snippet |
Description |
temp-s |
Template Setup |
temp-da |
Template "do_action" |
"DOT File" Snippets
Snippet |
Description |
dot-env |
Environment Setup |
"WordPress" Snippets
Snippet |
Description |
_ |
Debug Log |
wp-set |
Set Page for WordPress |
wp-h |
Header |
wp-f |
Footer |
wp-n |
Nav Menu |
wp-q |
Query |
wp-tq |
Tax Query |
wp-mq |
Meta Query |
wp-gp |
Get Posts |
wp-whp |
While Have Posts |
wp-fi |
Featured Image |
wp-enq |
Enqueue File |
wp-laj |
Localize w/ AJAX |
wp-ajr |
Ajax Request |
wp-gr |
Gravity Form Import |
wp-forgot |
Forgot the Login |
wp-debug |
Debug Log Definitions for wp-config |
wp-urls |
URL Settings for wp-config |
"Atomic Design" Snippets
Snippet |
Description |
rtp |
Render Template Part |
rtpc |
Render Template Part w/ Class Set |
gtp |
Get Template Part (Block) |
ad-tb |
Template Block |
ad-tbv |
Template Block Variable |
ad-tbp |
Template Block Prop |
ad-h |
Header |
ad-s |
Section |
ad-d |
Div |
ad-p |
Prop Setup |
ad-k |
Set Prop Keys (Deprecated) |
ad-ap |
Admit Prop Keys |
ad-pd |
Set Prop Defaults |
ad-pa |
Set Props Attributes |
ad-at |
Attribute |
ad-id |
ID Attribute |
ad-c |
Component Class Name |
ad-ce |
Component Class Name (Emmet) |
ad-cc |
Component Child Class Name |
ad-cce |
Component Child Class Name (Emmet) |
ad-ccc |
Component Child Class Name (w/ Tag) |
ad-o |
Array Only |
ad-i |
Image |
ad-bgi |
Background Image |
ad-con |
Container |
ad-l |
List |
"ACF" Snippets
Snippet |
Description |
a-gf |
Get Field |
a-gsf |
Get Sub Field |
a-gfo |
Get Field (Option) |
a-gft |
Get Field (Taxonomy) |
a-rep |
Repeater |
a-flex |
Flex |
a-op |
Option Page |
a-sop |
Sub Option Page |
"SASS/Mixin" Snippets
Snippet |
Description |
imp |
Import |
inc |
Include |
m-break |
Breakpoint |
m-ff |
Font Family |
m-fs |
Font Size |
m-cp |
Center Position |
m-sb |
Set Behind |
m-ma |
Margin Auto |
m-so |
Set Overlay |
m-cf |
Clearfix |
m-t |
Transition |
m-pc |
Placeholder Color |
m-bc |
Background Color |
m-gs |
Grayscale |
m-ar |
Aspect Ratio |
m-gr |
Grid |
m-grs |
Grid Shift |
file |
File |
class |
Class |
before |
Before Pseudo |
after |
After Pseudo |
"Documentation" Snippets
Snippet |
Description |
d-d |
Directory |
d-di |
Directory Item |
d-s |
Section |
d-ds |
DocBlock Section |
d-ss |
Sub Section |
"HTML" Snippets
Snippet |
Description |
h-set |
Setup Page for HTML |
copy |
© |
bgimg |
Background Image Setup for Divs |
"Javascript" Snippets
Snippet |
Description |
_ |
Console Log |
j-set |
Setup File for Javascript |
j-pset |
Setup File for Javascript Plugin |
j-aj |
Ajax Request |
each |
Each Statement |
if |
If Statement |
exists |
Check if exists |
"PHP" Snippets
Snippet |
Description |
php |
Single Line PHP Brackets |
phpp |
Multi-Line PHP Brackets |
if |
If Statement |
else |
Else Statement |
elseif |
ElseIf Statement |
for |
For Loop |
foreach |
ForEach Loop |
end |
Closing Line for Loop |
class |
Setup For New Class |
year |
Year |
"Class" Snippets
Snippet |
Description |
class |
Class |
c-pm |
Parent Module |
c-sm |
Submodule |
c-rm |
Register Module |
c-aa |
Add Action |
c-ra |
Remove Action |
c-afi |
Add Filter |
c-rfi |
Remove Filter |
c-dn |
Public Function |
c-prf |
Private Function |
"Stories" Snippets
Snippet |
Description |
st-c |
Stories Class |
st-s |
Story |
st-pt |
Placeholder Text Function |
st-pi |
Placeholder Image Function |
"Visual Studio" Snippets
Snippet |
Description |
vs-fn-l |
File Name (Lowercase) |
vs-fn-c |
File Name (Capitalized) |
vs-fn-ul |
File Name (Underscores & Lowercase) |
vs-fn-uc |
File Name (Underscores & Capitalized) |
vs-fn-sl |
File Name (Spaces & Lowercase) |
vs-fn-sc |
File Name (Spaces & Capitalized) |
vs-cfn-l |
Class File Name (Lowercase) |
vs-cfn-c |
Class File Name (Capitalized) |
vs-cfn-ul |
Class File Name (Underscores & Lowercase) |
vs-cfn-uc |
Class File Name (Underscores & Capitalized) |
vs-cfn-sl |
Class File Name (Spaces & Lowercase) |
vs-cfn-sc |
Class File Name (Spaces & Capitalized) |
vs-sfn-l |
Stories File Name (Lowercase) |
vs-sfn-c |
Stories File Name (Capitalized) |
vs-sfn-ul |
Stories File Name (Underscores & Lowercase) |
vs-sfn-uc |
Stories File Name (Underscores & Capitalized) |
vs-sfn-sl |
Stories File Name (Spaces & Lowercase) |
vs-sfn-sc |
Stories File Name (Spaces & Capitalized) |
vs-dn-l |
Directory Name (Lowercase) |
vs-dn-c |
Directory Name (Capitalized) |
vs-dn-ul |
Directory Name (Underscores & Lowercase) |
vs-dn-uc |
Directory Name (Underscores & Capitalized) |
vs-dn-sl |
Directory Name (Spaces & Lowercase) |
vs-dn-sc |
Directory Name (Spaces & Capitalized) |
vs-dn-fl |
Directory Name (1st Letter) |
vs-pdn-l |
Parent Directory Name (Lowercase) |
vs-pdn-c |
Parent Directory Name (Capitalized) |
vs-pdn-fl |
Parent Directory Name (1st Letter) |
License
MIT
| |