Skip to content

Instantly share code, notes, and snippets.

View liviucerchez's full-sized avatar

Liviu Cerchez liviucerchez

View GitHub Profile
liviucerchez / Vipo - Styleguide
Created August 29, 2020 07:00
Vipo - Styleguide
<!-- wp:heading {"className":"text-uppercase"} -->
<h2 class="text-uppercase">01. Grid</h2>
<!-- /wp:heading -->
<!-- wp:columns {"className":"has-6-columns"} -->
<div class="wp-block-columns has-6-columns"><!-- wp:column -->
<div class="wp-block-column"><!-- wp:html -->
<div style="height:120px;background-color:#f2f2f2;box-shadow: 0 -4px 0 0 rgba(32,32,32,.1) inset;"></div>
<!-- /wp:html --></div>
<!-- /wp:column -->
liviucerchez / Castilo - Contact Form
Created July 29, 2020 11:26
Castilo - Contact Form
<div class="row">
<div class="col-12 col-md-6"><label for="your_name">Name</label>[text* your_name id:your_name placeholder "Your name..."]</div>
<div class="col-12 col-md-6"><label for="your_email">Email</label>[email* your_email id:your_email placeholder "Your email..."]</div>
<div class="col-12"><label for="your_message">Message</label>[textarea* your_message id:your_message placeholder "Here goes the message..."]</div>
<div class="col-12 text-center">[submit class:button-filled "Send Message"]</div>
liviucerchez / Castilo - remove RSS feed
Created July 27, 2020 12:13
Castilo - remove RSS feed
// append this code in the functions.php file of the child theme
function castilo_child_remove_rss() {
remove_theme_support( 'podcast-rss-feed' );
add_action( 'after_setup_theme', 'castilo_child_remove_rss', 20 );
<a href="" target="_blank" class="button button-primary button-small"><svg class="icon icon-paypal" aria-hidden="true" role="img"><use href="#icon-paypal"></use></svg> Donate</a>
<div style="text-align:center;padding:1.5em;border:2px solid #000" class="background-color-secondary">
<h5>Subscribe now!</h5>
<img src="" width="108" height="108" alt="subscribe-itunes" style="display:block;margin:0.5em auto 1em;">
<p class="no-bottom small"><a href="" class="button underline" target="_blank"><i class="fa fa-apple" aria-hidden="true"></i> iTunes</a> <a href="" class="button underline" target="_blank"><i class="fa fa-external-link-square" aria-hidden="true"></i> Stitcher</a></p>
<p class="no-bottom small"><a href="" class="button underline" target="_blank"><i class="fa fa-play" aria-hidden="true"></i> Google Play</a> <a href="" class="button underline" target="_blank"><i class="fa fa-rss" aria-hidden="true"></i> RSS</a></p>
liviucerchez / Papaia - Contact - Additional Text
Created March 26, 2020 20:01
Papaia - Contact - Additional Text
<div class="responsive-embed three-by-four">
<div id="gmap" class="map"></div>
<h3><ins>Get in touch</ins></h3>
<p>13 Guiness Bay, New York, USA</p>
<strong>Phone:</strong> +1 9876 543 210<br>
<strong>Fax:</strong> +1 9876 543 210<br>
<strong>Email:</strong> <a href="" class="custom-link"></a>
liviucerchez / LeLuxe - Increase content width for each screen size
Last active March 10, 2020 17:55
Custom CSS - Increase content width for each screen size
@media (min-width: 992px) {
.content-wrap {
width: 67%;
.hero-media, .hero-media .owl-carousel, #identity {
right: 67%;
liviucerchez / Castpod - Featured Area Custom Text
Last active April 21, 2020 17:46
Castpod - Featured Area Custom Text
liviucerchez / About blocks
Last active February 5, 2020 07:15
About - Castilo
<!-- wp:heading {"align":"center","level":3} -->
<h3 class="has-text-align-center">With customized targetting, we deliver your work<br> and brand to the most suitable audience.</h3>
<!-- /wp:heading -->
<!-- wp:paragraph {"align":"center"} -->
<p class="has-text-align-center">With our top of the line execution &amp; as an innovative team, we take a broad way to deal<br> with handling the important issues of developing brands and income in a digitally aware world.<br> Best of the best no additional words, so please get in touch and we’ll get back to you shortly!</p>
<!-- /wp:paragraph -->
<!-- wp:html -->
<p class="text-center"><a class="button button-color button-filled" href="#"><span class="mdi mdi-send"></span> Get in touch</a> <a class="button" href="#"><span class="mdi mdi-music-note"></span> Browse episodes</a></p>
liviucerchez / Peter - Contact Map
Created October 3, 2019 07:15
Peter - Contact Map
<div class="responsive-container no-bottom">
<div class="responsive-wrapper">
<div id="gmap" class="map"></div>
<script type="text/javascript" src=";key=API_KEY"></script>
jQuery(function() {
if (typeof(google) !== "undefined") {
var map_name = 'custom_gmap',