Skip to content

Instantly share code, notes, and snippets.

View jorgejaramillo's full-sized avatar
🎯
Focusing

Jorge Jaramillo jorgejaramillo

🎯
Focusing
View GitHub Profile
@jorgejaramillo
jorgejaramillo / index.html
Last active July 4, 2016 18:18 — forked from anonymous/index.html
Generador de HTML
<body>
<div>
<div class="container">
<div class="row">
<div class="col-sm-9 header">
<h1>Generador de Metatags</h1>
<h2>Para SEO y Social Media</h2>
<h3>Creado por Jorge Jaramillo</h3>
<hr>
@jorgejaramillo
jorgejaramillo / gist:2373530
Created April 13, 2012 03:49 — forked from mikejolley/gist:2044101
WooCommerce - Mostrar número de items en la canasta y valor total
<?php global $woocommerce; ?>
<a class="cart-contents" href="<?php echo $woocommerce->cart->get_cart_url(); ?>" title="<?php _e('View your shopping cart', 'woothemes'); ?>"><?php echo sprintf(_n('%d item', '%d items', $woocommerce->cart->cart_contents_count, 'woothemes'), $woocommerce->cart->cart_contents_count);?> - <?php echo $woocommerce->cart->get_cart_total(); ?></a>
@jorgejaramillo
jorgejaramillo / title.php
Created April 13, 2012 03:45 — forked from mikejolley/title.php
WooCommerce - Calificación y número de comentarios debajo del título.
<?php
/**
* Single Product Title
*/
?>
<h1 itemprop="name" class="product_title page-title"><?php the_title(); ?></h1>
<?php
global $wpdb, $post;
@jorgejaramillo
jorgejaramillo / header.php
Created April 12, 2012 03:05 — forked from jameskoster/header.php
WooCommerce - Link de la cuenta
<?php if ( is_user_logged_in() ) { ?>
<a href="<?php echo get_permalink( get_option('woocommerce_myaccount_page_id') ); ?>" rell="nofollow" title="<?php _e('Mi Cuenta','woothemes'); ?>"><?php _e('Mi Cuenta','woothemes'); ?></a>
<?php }
else { ?>
<a href="<?php echo get_permalink( get_option('woocommerce_myaccount_page_id') ); ?>" rell="nofollow" title="<?php _e('Ingresar / Registro','woothemes'); ?>"><?php _e('Ingresar / Registro','woothemes'); ?></a>
<?php } ?>