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
| sudo npm install -g bower | |
| sudo chown -R $USER:$GROUP ~/.npm | |
| sudo chown -R $USER:$GROUP ~/.config | |
| npm install | |
| bower install | |
| npm start |
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 | |
| function custom_field_excerpt() { | |
| global $post; | |
| $text = get_field('ACF Field Here'); | |
| if ( '' != $text ) { | |
| $text = strip_shortcodes( $text ); | |
| $text = apply_filters('the_content', $text); | |
| $text = str_replace(']]>', ']]>', $text); | |
| $excerpt_length = 20; | |
| $excerpt_more = apply_filters('excerpt_more', ' ' . '[...]'); |
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
| import VueResource from 'vue-resource' | |
| Vue.use(VueResource); | |
| Vue.http.options.root = 'http://localhost:8888/wp-json'; |
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
| // Created currier transformer | |
| var currier = function(fn) { | |
| var args = Array.prototype.slice.call(arguments,1); | |
| return function() { | |
| return fn.apply(this,args.concat(Array.prototype.slice.call(arguments,0))); | |
| }; | |
| }; | |
| //---------------------------------- |
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
| html, body, div, span, applet, object, iframe, | |
| h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
| a, abbr, acronym, address, big, cite, code, | |
| del, dfn, em, img, ins, kbd, q, s, samp, | |
| small, strike, strong, sub, sup, tt, var, | |
| b, u, i, center, | |
| dl, dt, dd, ol, ul, li, | |
| fieldset, form, label, legend, | |
| table, caption, tbody, tfoot, thead, tr, th, td, | |
| article, aside, canvas, details, embed, |
NewerOlder