Genesis Framework code snippets for Atom text editor.
If you use WordPress, Genesis, and Atom then this package will be great for you! I've taken some of the most popular and most used Genesis code snippets and compiled them in an easy to use snippet library.
Snippets are arranged as the following:
Based on what type of action you are making, then you will use a specific character to begin the snippet.
Genesis Snippets works in that your text that you right to call a snippet is comprised of single letters representing words. For example if you want to remove the entry header, you would type
r states that this is a remove action, the
e is for
entry and the
h is for
header. I've tried to be as sensible as I can in how I write out these snippets.
$2 represent placeholders where you will be able to tab through once you add the snippet to add your own function names.
|af||add function||function block with add action|
|rast||remove site title||
|aast||add site title||
|rasd||remove site description||
|aasd||add site description||
|rahw||remove header widget||
|raem||remove entry meta||
|aaem||add entry meta||
|raet||remove entry title||
|aaet||add entry title||
|raei||remove entry image||
|aaei||add entry image||
|cfc||customize footer copy||http://my.studiopress.com/snippets/footer/|
|rapn||remove primary nav||
|aapn||add primary nav||
|rasn||remove secondary nav||
|aasn||add secondary nav||
|afbc||add body class||http://my.studiopress.com/snippets/custom-body-class/|
|aflfw||layout full width||
|ral||remove layout (unregister)||
|queryargs||add WP Query Arg Array }|
|wpquery||add new WP Query|
This may not work with other autocomplete packages. I am going to do some testing with major packages like Emmet to see how it handles the prefixes that I am using.
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.