git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
cd into/cloned/fork-repo
git remote add upstream git://github.com/ORIGINAL-DEV-USERNAME/REPO-YOU-FORKED-FROM.git
git fetch upstream
| [global] | |
| unix charset = UTF8 | |
| workgroup = XXX | |
| netbios name = XXX | |
| server string = %h server (Samba, Ubuntu) | |
| interfaces = lo eth0 | |
| bind interfaces only = Yes | |
| security = SHARE | |
| obey pam restrictions = Yes | |
| guest account = www-data |
| function lk_aussie_gateways( $available_gateways ) { | |
| global $woocommerce; | |
| if ($woocommerce->customer->get_country() == 'AU') { | |
| unset( $available_gateways['cod'] ); | |
| } | |
| return $available_gateways; |
| <?php | |
| $databases = array ( | |
| 'default' => | |
| array ( | |
| 'default' => | |
| array ( | |
| 'database' => 'meusite_local', | |
| 'username' => 'root', | |
| 'password' => 'root', | |
| 'host' => 'localhost', |
| .gform_wrapper ul { | |
| @extend .list-unstyled; | |
| } | |
| .gform_wrapper li { | |
| @extend .form-group; | |
| } | |
| .gform_wrapper form { | |
| margin-bottom: 0; | |
| } | |
| .gform_wrapper .gfield_required { |
| // Opens accordion automatically if an accordion target is accessed from another page | |
| // Assumes the accordion-group is the target linked to | |
| function openAnchorAccordion() { | |
| if (window.location.hash) { | |
| var $target = $('body').find(window.location.hash); | |
| if ($target.hasClass('accordion-group')) { | |
| var $targetAccordion = $target.find('.collapse'); | |
| $targetAccordion.collapse('show'); | |
| } | |
| } |
| (function(d) { | |
| var tkTimeout=3000; | |
| if(window.sessionStorage){if(sessionStorage.getItem('useTypekit')==='false'){tkTimeout=0;}} | |
| var config = { | |
| kitId: 'a1b2c3f4', | |
| scriptTimeout: tkTimeout | |
| }, | |
| h=d.documentElement,t=setTimeout(function(){h.className=h.className.replace(/\bwf-loading\b/g,"")+" wf-inactive";if(window.sessionStorage){sessionStorage.setItem("useTypekit","false")}},config.scriptTimeout),tk=d.createElement("script"),f=false,s=d.getElementsByTagName("script")[0],a;h.className+=" wf-loading";tk.src='//use.typekit.net/'+config.kitId+'.js';tk.async=true;tk.onload=tk.onreadystatechange=function(){a=this.readyState;if(f||a&&a!="complete"&&a!="loaded")return;f=true;clearTimeout(t);try{Typekit.load(config)}catch(e){}};s.parentNode.insertBefore(tk,s) | |
| })(document); |
| <?php | |
| function jeherve_custom_related( $atts ) { | |
| $posts_titles = array(); | |
| if ( class_exists( 'Jetpack_RelatedPosts' ) && method_exists( 'Jetpack_RelatedPosts', 'init_raw' ) ) { | |
| $related = Jetpack_RelatedPosts::init_raw() | |
| ->set_query_name( 'jeherve-shortcode' ) // Optional, name can be anything | |
| ->get_for_post_id( | |
| get_the_ID(), | |
| array( 'size' => 3 ) |
| # ----------------------------------------------------------------- | |
| # .gitignore for WordPress | |
| # Bare Minimum Git | |
| # http://ironco.de/bare-minimum-git/ | |
| # ver 20150227 | |
| # | |
| # This file is tailored for a WordPress project | |
| # using the default directory structure | |
| # | |
| # This file specifies intentionally untracked files to ignore |