Skip to content

Instantly share code, notes, and snippets.

Bruno Mertins brunomertins

Block or report user

Report or block brunomertins

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Resultados de Busqueda
//* Customize search text
add_filter( 'genesis_search_title_text', 'search_title_text' );
function search_title_text() {
return 'Resultados de búsqueda: ';
}
View Colums Example
<div class="one-half first"><strong>Gmail for business</strong>
Custom made email addresses: (your_name@your_company.com).</div>
<div class="one-half"><strong>Google Docs</strong>
Share online documents, spreadsheets and presentations.</div>
<div class="one-half first"><strong>Google Calendar</strong>
Your meetings and company events in one place.</div>
<div class="one-half"><strong>Google Sites</strong>
Create your own intranet and wikis without programing.</div>
View Javascript loading effect brunomertins.com
<script src="http://www.google.com/jsapi"></script>
<script>
google.load("jquery", "1");
google.load("jqueryui", "1");
</script>
<script>
$(document).ready(function()
{
$('body').hide().fadeIn(500);
});
@brunomertins
brunomertins / GA Comments Event Tracking
Last active Aug 29, 2015
Google Analytics Comments Event Tracking
View GA Comments Event Tracking
<input name="submit" type="submit" onClick="_gaq.push(['_trackEvent', 'Forms', 'Submit', 'BlogComments']);" id="<?php echo esc_attr( $args['id_submit'] ); ?>" value="<?php echo esc_attr( $args['label_submit'] ); ?>" />
View functions.php
<?php
//* Do NOT include the opening php tag
//* Enqueue sticky menu script
add_action( 'wp_enqueue_scripts', 'custom_enqueue_script' );
function custom_enqueue_script() {
wp_enqueue_script( 'sticky-menu', get_stylesheet_directory_uri() . '/js/sticky-menu.js', array( 'jquery' ), '', true );
}
//* Reposition the secondary navigation menu
@brunomertins
brunomertins / Spanish Acent Entity Codes
Created Apr 18, 2013
Quick Reference Spanish Accent Entity Codes
View Spanish Acent Entity Codes
á --> &aacute;
é --> &eacute;
í --> &iacute;
ó --> &oacute;
ú --> &uacute;
ñ --> &ntilde;
@brunomertins
brunomertins / Verwendung-von-html-Tags-SEO
Last active Dec 14, 2015
Die Verwendung von html-Tags
View Verwendung-von-html-Tags-SEO
<h1>Titel 1.</h1>
<!--Die Teilüberschriften auf der nächsten Ebene sollten h2-Überschriften sein und so getagt werden-->
<h2>Teilüberschrift 1.1.</h2>
<!--Teilüberschriften zwischen zwei h2-Überschriften sollten h3-Überschriften sein und so getagt werden:-->
<h3>Teilüberschrift 1.1.1.</h3>
<!--In den meisten Fällen wird die Gliederung bis zu h2-Überschriften ausreichend sein.-->
View undoing-tables.html
<table>
<thead>
<tr>
<th scope="col">Name</th>
<th scope="col">Email</th>
<th scope="col">Dept, Title</th>
<th scope="col">Phone</th>
</tr>
</thead>
<tbody>
@brunomertins
brunomertins / EventsMicrodataExample
Created Jan 31, 2013
Turansa Events Microdata Example
View EventsMicrodataExample
<div itemscope itemtype="http://schema.org/Event">
<a itemprop="url" href="http://www.turansa.com/blog/2011/09/21/excursion-maravillas-dubai-y-la-india-2012/">
Excursión: <span itemprop="name">Dubai y la India 2012</span></a>
<meta itemprop="startDate" content="2012-03-27T17:30">Thu, 03/27/12 5:30 p.m.</div>
View SEOCheatsheet
<h2>SEO Cheatsheet<h2>
<ul>
<li>Optimized, Relevant Content</li>
<li>Good Semantic Page Markup (H1, H2, etc.)</li>
<li>Good Linking Structure</li>
<li>Keyword-Rich URL Structure</li>
<li>Optimized Assets (File Names)</li>
<li>Optimized Content (Title, Meta, Alt, etc.)</li>
<li>Fast Loading XML/HTML - based pages</li>
<li>Sitemap Files and Robot.txt files</li>
You can’t perform that action at this time.