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 |
"Includes" Snippets
| Snippet |
Description |
| inc-mc |
Module Class |
| inc-pc |
Parent Class |
| inc-pr |
Post Type Registration |
| inc-pi |
Post Type Interface |
| inc-pfs |
Post Type Functions |
| inc-pf |
Post Type Function |
| inc-cpf |
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-fnc |
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 |
| 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-cc |
Component Child Class Name |
| 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-pf |
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 |
License
MIT
| |