Skip to content

Instantly share code, notes, and snippets.

View xavortm's full-sized avatar
👋

Alexander Dimitrov xavortm

👋
View GitHub Profile
<div class="contentBlock">
<header>
<h3 class="text-color-blue">There are <span class="text-color-orange">Sports planners</span> &amp; there are</h3>
<h1 class="text-color-blue">SPORTS HEROES!</h1>
<h2 class="text-color-orange">PICK YOUR PERSONA BELOW.</h2>
</header>
<div class="row">
<div class="column medium-6">
<div class="landing-item"><img class="landing-item-image" src="http://imageshack.com/a/img661/1685/lR625O.png" alt="" data-itempopup="item1" />
<div class="popup-outer" data-itempopup="item1">
<?php
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/
/**
* Tells WordPress to load the WordPress theme and output it.
@xavortm
xavortm / gist:163df5bbcd04cef0b399
Created April 3, 2015 16:01
Colossal Communicator, Marvelous Multitasker, Detail Dynamo and Meeting Magician
<header>
<h3 class="text-color-blue">There are <span class="text-color-orange">meeting planners</span> &amp; there are</h3>
<h1 class="text-color-blue">MEETING HEROES!</h1>
<h2 class="text-color-orange">PICK YOUR PERSONA BELOW.</h2>
</header>
<div class="row">
<div class="column medium-6">
<div class="landing-item"><img class="landing-item-image" src="http://www.visitlubbock.org/wp-content/uploads/2015/03/colossal.png" alt="" data-itempopup="item2" />
<?php
/**
* Top Bar Walker
*
* @since 1.0.0
*/
class Walker_Foundation extends Walker_Nav_Menu {
function start_el(&$output, $item, $depth = 0, $args = array(), $current_object_id = 0) {
global $wp_query;
$indent = ($depth) ? str_repeat("\t", $depth) : '';
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Centsoft Static Preview</title>
<meta name="description" content="RLM Static Preview">
<meta name="author" content="SitePoint">
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css">
/**
* [temperatureChanged description]
* @param {[type]} newValue [description]
* @return {[type]} [description]
*/
function temperatureChanged(newValue)
{
if(document.getElementById("temperature")) {
document.getElementById("temperature").innerHTML=newValue;
Qt.temperatureChanged(newValue);
<aside class="right-off-canvas-menu">
<ul class='off-canvas-list'><!-- This is the offcanvas menu -->
<li><a href="#">Some menu link</a></li>
<li><a href="#">You can put more here</a></li>
<li><a href="#">That is menu too</a></li>
</ul>
</aside><!-- /left-off-canvas-menu -->
@media only screen and (max-width: 767px){
.exhibition-tab .compact-event-item {
overflow: hidden;
height: auto;
}
.compact-event-item .thumbnail,
.compact-event-item .content{
width: 45%;
float: left;
}
@xavortm
xavortm / Update
Created March 11, 2015 10:29
Change in style.css around line 1965
@media only screen and (max-width: 767px){
.compact-event-item {
overflow:hidden;
height: auto;
}
.compact-event-item .thumbnail,
.compact-event-item .content{
width: 45%;
float: left;
}
<?php
/**
* Plugin Name: IRIS - Testimonial custom post type
* Description: Set all testimonials as custom posts.
* Version: 1.0.0
* Author: Alex Dimitrov
* Author URI: http://www.xavortm.com
* License: A short license name. Example: GPL2
*/