Skip to content

Instantly share code, notes, and snippets.

View jorgejaramillo's full-sized avatar
馃幆
Focusing

Jorge Jaramillo jorgejaramillo

馃幆
Focusing
View GitHub Profile
Esto va en el las funciones.
if (function_exists('register_sidebar')) {
register_sidebar(array(
'name' => 'Sidebar Widgets',
'id' => 'sidebar-widgets',
'description' => 'Widget Area',
@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>
javascript:document.body.contentEditable = 'true'; document.designMode='on'; void 0
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "Restaurant",
"telephone": "(408) 714-1489",
"servesCuisine": [
"Middle Eastern",
"Mediterranean"
],
"priceRange": "$$",
// Agregar Tag Manager <head>
add_action( 'wp_head', 'google_tag_manager1' );
function google_tag_manager1() { ?>
<!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
@jorgejaramillo
jorgejaramillo / Mostrar descripci贸n de Categor铆a
Created June 30, 2019 21:12
Debes agregar esto en el archivo category.php
<?php
the_archive_title( '<h1 class="page-title">', '</h1>' );
the_archive_description( '<div class="taxonomy-description">', '</div>' );
?>
add_filter ( 'genesis_edit_post_link' , '__return_false' );
@jorgejaramillo
jorgejaramillo / Microformato de Producto.js
Last active August 10, 2019 02:04
Microformato de Producto
<script type="application/ld+json">
{
"@context": "https://schema.org/",
"@type": "Product",
"description" : "Curso de SEO",
"sku" : "C2",
"mpn": "002",
"name": "Curso SEO ",
"image": [
"https://ejemplo.com/jj.jpg"