This file contains 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 | |
add_action( 'customize_controls_enqueue_scripts', 'add_lang_to_customizer_previewer' ); | |
/** | |
* If Polylang activated, set the preview url | |
* | |
* @author soderlind | |
* @version 1.0.0 | |
*/ | |
function add_lang_to_customizer_previewer() { |
This file contains 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
#!/usr/bin/env bash | |
git branch -r | grep -v '\->' | while read remote; do git branch --track "${remote#origin/}" "$remote"; done | |
git fetch --all | |
git pull --all |
This file contains 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
<h2 class="title">Products</h2> | |
<div class="search-bar"> | |
<input (input)="searchStream$.next($event.target.value)"> | |
</div> | |
<div class="results"> | |
<h3>Built-in solution</h3> | |
<div *ngIf="obs$ | async as obs"> | |
<ng-template [ngIf]="obs.type === 'finish'"> |