Skip to content

Instantly share code, notes, and snippets.

View gera3d's full-sized avatar

Gera Yeremin gera3d

View GitHub Profile
<div class="row no-gutters">
<div class="row">
<p>Thank you for choosing Mosa Oral Maxillofacial & Dental Implant Surgery for your upcoming appointment. As a patient, you can expect to be treated with personalized, compassionate, state-of-the-art care in a comfortable and friendly environment. Below, we’ve included important information about our practice and your upcoming procedure. Please review these videos before your first consultation. We look forward to caring for you!</p>
<hr>
<h2>Hear From Our [urlparam param="keyword" /] Patients Like You!</h2>
<hr>
<div class="col-md-4 col-sm-6 col-xs-12">
<a class="fancybox-youtube hoverZoomLink" href='https://www.youtube.com/embed/[urlparam param="v1" default="0J4YQpEVFxM" /]?rel=0&amp;autohide=1&amp;showinfo=0' ><span id="playhover" class="white"></span><img class="alignnone size-large wp-image-136" height="483" src='https://img.youtube.com/vi/[urlparam param="v1" default="0J4YQpEVFxM" /]/mqdefault.jpg' width="858"><br></a>
</div>
Original Page:
http://www.kswo.com/story/31882156/one-individual-will-receive-a-50000-oral-surgery
Video to add:
https://nuvolum.wistia.com/medias/zdgsqelbij
<div class="withRelated left" id="WNStoryBody">
<p>AMARILLO, TX (KFDA) -&nbsp;Three local oral surgeons will be giving one individual a $50,000&nbsp;surgery, a full mouth reconstruction procedure designed to give&nbsp;someone with deteriorating teeth a chance for&nbsp;a new smile.</p>
<p>The program,&nbsp;<a href="https://smileagainamarillo.com/about.php"><span style="color:#0000FF"><strong>Smile Again</strong></span></a>,&nbsp;will offer a life-changing opportunity to one Panhandle&nbsp;individual.</p>
<p>In order to apply, applicants must have broken or missing teeth and&nbsp;be a non-smoker. The winner will also be someone who wouldn't normally be able to afford this type of&nbsp;extensive surgery.</p>
@gera3d
gera3d / 0_reuse_code.js
Created May 15, 2017 23:01
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@gera3d
gera3d / Cached stuff USA
Created June 6, 2017 21:41
Cached stuff USA
p#giants:after{content:"boojjer"!important}body.custom-background{background-size:cover;background-position:Center Center!important}.site-header{background-color:#f5f5f5!important}.site-header .wrap{background-color:#fff}.site-container{margin:0 auto;max-width:1144px;box-shadow:12px 0 15px -4px rgba(0,0,0,0.1),-12px 0 8px -4px rgba(0,0,0,0.1)}.nav-primary{background-color:#fff!important;margin-top:25px}.nav-primary,.nav-primary a{color:#333!important}.sidebar .genesis-nav-menu .menu-item{display:block!important}.breadcrumb{text-align:center;background-color:#e2e2e2}.menu{font-size:14px;line-height:1.5}.menu li{padding:3px 7px}.nav-secondary .genesis-nav-menu a{padding:0px 17px!important}.sidebar{padding-bottom:40px}.gtheading{font-size:24px;margin-left:-10px!important;font-weight:bold}.gt-nolink a{pointer-events:none;cursor:default}.nav-primary .no-display{display:none!important}.entry-header .entry-title{text-align:center;color:#fff}.entry-header{border-bottom:0px solid #ececec!important;margin:0px 0px 0px!i
@gera3d
gera3d / new_gist_file_0
Created June 15, 2017 18:07
AOMS htaccess file / 6.15.2017
# BEGIN WP Rocket v2.8.23
# Use UTF-8 encoding for anything served text/plain or text/html
AddDefaultCharset UTF-8
# Force UTF-8 for a number of file formats
<IfModule mod_mime.c>
AddCharset UTF-8 .atom .css .js .json .rss .vtt .xml
</IfModule>
# FileETag None is not enough for every server.
<IfModule mod_headers.c>
@gera3d
gera3d / new_gist_file_0
Created June 15, 2017 18:14
Default htaccess file settings USA staging
# BEGIN WP Rocket v2.8.23
# Use UTF-8 encoding for anything served text/plain or text/html
AddDefaultCharset UTF-8
# Force UTF-8 for a number of file formats
<IfModule mod_mime.c>
AddCharset UTF-8 .atom .css .js .json .rss .vtt .xml
</IfModule>
# FileETag None is not enough for every server.
<IfModule mod_headers.c>
@gera3d
gera3d / Maps
Created June 19, 2017 15:55
Maps with no scrolling
Glen Taylor
[8:53 AM]
/* disable auto scroll for google maps -gt */
.map {
width: 100%;
height: 450px;
}
.map-wrap {
position: relative;
$( "iframe" ).before( '<div class="map-wrap"><div class="overlay"></div></div>' );
@gera3d
gera3d / gist:98f20e66be6da001f53b8087ff1d2365
Created November 7, 2017 19:06
Just some notes on lerandash
Below are details on LearnDash Groups as requested:
LearnDash Groups ( slug: groups ) are a normal custom post type just like LearnDash Courses, or WooCommerce Products etc. Within the Group LearnDash has 3 associations:
1. Group Leaders - ( role slug: group_leader ) - When a Group Leader user is associated with a course there is a user_meta record created with the meta_key 'learndash_group_leaders_XXX' and the meta_value 'XXX' where 'XXX' is the Group Post ID.
2. Group Users - Similar to the above Group Leader for group users there is a user_meta record created with the meta_key 'learndash_group_users_XXX' and meta_value 'XXX' where 'XXX' is the Group Post ID.
3. For Group Courses - ( slug: sfwd-courses ) - There is a post_meta record created to the Course Post ID with the meta_key 'learndash_group_enrolled_XXX' where 'XXX' is the Group Post ID. The meta_value will be a timestamp.
/** Gera
* Get all groups
*
* @since 2.1.0
*
* @param bool $id_only return id's only
* @return array groups
*/
function learndash_get_groups( $id_only = false, $current_user_id = 0 ) {