Skip to content

Instantly share code, notes, and snippets.

<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/ro_RO/sdk.js#xfbml=1&version=v2.3&appId=***";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div id="fb-root"></div>
<script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.3"; fjs.parentNode.insertBefore(js, fjs);}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-post" data-href="https://www.facebook.com/ianmckellen/videos/10152811004763601/" data-width="500"><div class="fb-xfbml-parse-ignore"><blockquote cite="https://www.facebook.com/ianmckellen/videos/10152811004763601/"><p>Please join me next Friday at Westminster Central Hall in London to &quot;Bring Back the NHS&quot; https://www.eventbrite.co.uk/e/bring-back-the-nhs-hosted-by-sir-ian-mckellen-tickets-16517860365</p>Posted by <a href="https://www.facebook.com/ianmckellen">Ian McKellen</a> on <a href="https://www.facebook.com/ianmckellen/videos/10152811004763601/">Sunday, April 19, 2015</a></blockquote></div></div>
@cristacheda
cristacheda / woocommerce-products-per-page-ro_RO.po
Created January 12, 2016 17:24
Romanian translation for WooCommerce Products Per Page
msgid ""
msgstr ""
"Project-Id-Version: WooCommerce Products Per Page 1.0.1\n"
"POT-Creation-Date: 2014-03-15 14:13+0100\n"
"PO-Revision-Date: \n"
"Language-Team: Jeroen Sormani <jeroen.sormani@gmail.com>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 1.8.6\n"
# 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
.wrapper {
width: 100%;
max-width: 1200px;
margin-left: auto;
margin-right: auto;
}
.col {
width: 100%;
display: flex;
flex-direction: column;
.alignleft {
float: left;
margin-right: 20px;
}
.alignright {
float: right;
margin-left: 20px;
}
.aligncenter {
display: block;
(function($) {
})( jQuery );
@import 'normalize';
@import 'animations';
@import 'layout';
@import 'helpers';
@import 'font-awesome';
@import 'variables';
body {
font-size: 16px;
line-height: 1.4;
@cristacheda
cristacheda / price.php
Created February 27, 2017 19:13
woocommerce if product is in category
//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 ) ) {
'.pane .editor:not([mini])':
'tab': 'emmet:expand-abbreviation-with-tab'
'.platform-darwin atom-text-editor':
'cmd-shift-L': 'grammar-selector:show'