Skip to content

Instantly share code, notes, and snippets.


Javier Moreno morenojavier

View GitHub Profile
View AndaresBanner
<div class="content_banner_pr">
<div class="grid-8 marginL">
<div class="flexslider posts-slider marginB">
<ul class="slides">
<li class="clone" aria-hidden="true" onClick="document.location=''">
<figure class="cPointer">
<a href="">
<img class="attachment-big-size wp-post-image" width="100%" alt="Banner" src="" draggable="false">
View lightboxtest.js
+ function(a) {
"use strict";
function b(a, b) {
if (!(a instanceof b)) throw new TypeError("Cannot call a class as a function")
var c = function() {
function a(a, b) {
for (var c = 0; c < b.length; c++) {
var d = b[c];
morenojavier / HTML > forms
Created Oct 20, 2017
Cambio de estilo en un form a un input file con CSS
View HTML > forms
<!-- HTML -->
<label for="file-upload" class="custom-file-upload">
<i class="fa fa-cloud-upload"></i> Custom Upload
<input id="file-upload" type="file"/>
/* CSS */
morenojavier / Wordpress
Last active Oct 20, 2017
Wordpress: Tags con separador para blog.
View Wordpress
$tags = get_the_tags();
if( $tags ) :
echo '<p class="taxonomy"><span class="tag-title">'.__('Tags: ', 'warp').'</span>';
foreach( $tags as $tag ) {
$names[] = '<span class="'. $tag->slug .'"><a href="'. get_tag_link($tag->term_id) .'">'. $tag->name .'</a></span>';
echo implode(' , ', $names ) .'</p>';