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
https://atom.io/packages/autocomplete-font-awesome | |
https://atom.io/packages/autocomplete-font-awesome | |
https://atom.io/packages/color-picker | |
https://atom.io/packages/wordpress-autocomplete | |
https://atom.io/packages/zp-acf-snippets | |
Fira Mono, Menlo, Consolas, DejaVu Sans Mono, monospace | |
https://github.com/mozilla/Fira/releases/latest | |
https://github.com/hbin/top-programming-fonts/raw/master/Menlo-Regular.ttf |
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
atom-text-editor { | |
background-color: rgba(36, 39, 46, 0.99); | |
} | |
// Font used in the editor | |
Fira Mono |
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
<script type="text/javascript"> | |
jQuery(document).ready(function($) { | |
jQuery('form').submit(function(){ | |
for( key in inc_popups ) { | |
var item = inc_popups[key]; | |
var data = item.extend.data; | |
// To close any open popup remove the condition... | |
if ( data.popup_id == 1729 ) { //use your own popup_id here | |
item.extend.close_popup(); | |
} |
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
'.pane .editor:not([mini])': | |
'tab': 'emmet:expand-abbreviation-with-tab' | |
'.platform-darwin atom-text-editor': | |
'cmd-shift-L': 'grammar-selector:show' |
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
//Check category | |
global $post; | |
$terms = wp_get_post_terms( $post->ID, 'product_cat' ); | |
foreach ( $terms as $term ) $categories[] = $term->slug; | |
if ( in_array( 'sacouri', $categories ) ) { | |
echo "<div style='display: none;'>sacouri</div>"; | |
} elseif ( in_array( 'camasi', $categories ) ) { | |
echo "<div style='display: none;'>camasi</div>"; | |
} elseif ( in_array( 'pantofi', $categories ) ) { |
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 'normalize'; | |
@import 'animations'; | |
@import 'layout'; | |
@import 'helpers'; | |
@import 'font-awesome'; | |
@import 'variables'; | |
body { | |
font-size: 16px; | |
line-height: 1.4; |
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
(function($) { | |
})( jQuery ); |
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
.alignleft { | |
float: left; | |
margin-right: 20px; | |
} | |
.alignright { | |
float: right; | |
margin-left: 20px; | |
} | |
.aligncenter { | |
display: block; |
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
.wrapper { | |
width: 100%; | |
max-width: 1200px; | |
margin-left: auto; | |
margin-right: auto; | |
} | |
.col { | |
width: 100%; | |
display: flex; | |
flex-direction: column; |
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
# Configuration for WPDistillery executed by setup.sh | |
# | |
# Author: Flurin Dürst | |
# URL: https://wpdistillery.org | |
# | |
# For detailed instructions on this file read the config.yml-documentation at | |
# https://wpdistillery.org/documentation/config-yml-documentation/ | |
# | |
# File Version: 1.6.4 |