Skip to content

Instantly share code, notes, and snippets.

View 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 -->
View 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>
</div>
View 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 );
View Customize > Additional Options  > Header Call to Actio
<a href="https://www.paypal.me/liviucerchez/10" 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>
View Castpod - Subscribe now - Custom HTML widget
<div style="text-align:center;padding:1.5em;border:2px solid #000" class="background-color-secondary">
<h5>Subscribe now!</h5>
<img src="https://liviucerchez.com/castpod/wp-content/uploads/sites/19/2017/10/itunes-subcribe.png" width="108" height="108" alt="subscribe-itunes" style="display:block;margin:0.5em auto 1em;">
<p class="no-bottom small"><a href="https://liviucerchez.com/castpod/feed/podcast" class="button underline" target="_blank"><i class="fa fa-apple" aria-hidden="true"></i> iTunes</a> <a href="https://liviucerchez.com/castpod/feed/podcast" 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="https://liviucerchez.com/castpod/feed/podcast" class="button underline" target="_blank"><i class="fa fa-play" aria-hidden="true"></i> Google Play</a> <a href="https://liviucerchez.com/castpod/feed/podcast" class="button underline" target="_blank"><i class="fa fa-rss" aria-hidden="true"></i> RSS</a></p>
<
@liviucerchez
liviucerchez / Papaia - Contact - Additional Text
Created Mar 26, 2020
Papaia - Contact - Additional Text
View Papaia - Contact - Additional Text
<div class="responsive-embed three-by-four">
<div id="gmap" class="map"></div>
</div>
<h3><ins>Get in touch</ins></h3>
<p>13 Guiness Bay, New York, USA</p>
<p>
<strong>Phone:</strong> +1 9876 543 210<br>
<strong>Fax:</strong> +1 9876 543 210<br>
<strong>Email:</strong> <a href="mailto:hello@papaia.com" class="custom-link">hello@papaia.com</a>
</p>
@liviucerchez
liviucerchez / LeLuxe - Increase content width for each screen size
Last active Mar 10, 2020
Custom CSS - Increase content width for each screen size
View LeLuxe - 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
liviucerchez / Castpod - Featured Area Custom Text
Last active Apr 21, 2020
Castpod - Featured Area Custom Text
View Castpod - Featured Area Custom Text
View About blocks
<!-- 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>
View Peter - Contact Map
<div class="responsive-container no-bottom">
<div class="responsive-wrapper">
<div id="gmap" class="map"></div>
</div>
</div>
<script type="text/javascript" src="https://maps.google.com/maps/api/js?sensor=false&amp;key=API_KEY"></script>
<script>
jQuery(function() {
if (typeof(google) !== "undefined") {
var map_name = 'custom_gmap',