Skip to content

Instantly share code, notes, and snippets.

A Globo.com

Você já deve conhecer a Globo.com: somos um dos maiores portais da Internet Brasileira. Por trás deste portal, existe uma grande equipe, composta por profissionais extremamente dedicados, competentes, comprometidos e apaixonados pelo que fazem. E estamos contratando!

Procuramos por alguém com vontade de fazer diferente, trazer mais alternativas e ações do que reclamações, lidar com os problemas de maneira criativa, se divertir e participar da criação de produtos usados por um público que é contado aos milhões. Nós queremos pessoas com paixão pelo que fazem! E, claro, pessoas que trabalhem com vontade de criar produtos dos quais elas se orgulhem de mostrar. Para nós é mais importante o quão curioso você é e não se seu currículo está recheado de siglas e especialidades. Se você tem bastante vontade de aprender e também é capaz de nos ensinar novos truques, essa é uma vaga para você.

Esportes

Somos o time responsável por alguns dos principais produtos de esportes da internet brasileira: o po

<?php if(!function_exists('dynamic_sidebar') || !dynamic_sidebar('sidebar')) : ?>
Nenhum Widget cadastrado.
<?php endif; ?>
@kalebweb
kalebweb / loop-wp.php
Created June 17, 2014 14:20
Loop WordPress
<?php query_posts(array('category_name' => 'category', 'posts_per_page' => 5 )); ?>
<?php while (have_posts()) : the_post(); ?>
<article>
<header>
<h2><?php the_title(); ?></h2>
</header>
<?php if (has_post_thumbnail()) : ?>
<figure>
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
@kalebweb
kalebweb / custom-fields.php
Last active August 29, 2015 14:02
Meta -> Custom Fields
<?php $value = get_post_meta($post->ID, 'value', true); ?>
<?php echo $value; ?>
@kalebweb
kalebweb / menuParameters.php
Created June 26, 2014 12:32
Remove LI Elements From Output of wp_nav_menu
<?php $menuParameters = array(
// @see http://css-tricks.com/snippets/wordpress/remove-li-elements-from-output-of-wp_nav_menu/
'menu' => 'Top Menu',
'container' => false,
'echo' => false,
'items_wrap' => '%3$s',
'depth' => 0);
echo strip_tags(wp_nav_menu( $menuParameters ), '<a>');
@kalebweb
kalebweb / single.category.php
Created July 14, 2014 13:18
Single post template based on category
//Gets post cat slug and looks for single-[cat slug].php and applies it
add_filter('single_template', create_function(
'$the_template',
'foreach( (array) get_the_category() as $cat ) {
if ( file_exists(TEMPLATEPATH . "/single-{$cat->slug}.php") )
return TEMPLATEPATH . "/single-{$cat->slug}.php"; }
return $the_template;' )
);
@kalebweb
kalebweb / show-hide-jquery.html
Created July 15, 2014 00:11
show-hide-jQuery
<script>
$(document).ready(function() {
$('.acao').click(function() {
$('.acao-container').fadeToggle();
});
});
</script>
<div class="acao">
@kalebweb
kalebweb / doc.php
Created July 22, 2014 18:40
modelo de documentação
/*
* Goodlayers Google Font File
* ---------------------------------------------------------------------
* @version 1.0 ( last updated at 17/12/2011 )
* @author Goodlayers
* @link http://goodlayers.com
* @copyright Copyright (c) Goodlayers
* ---------------------------------------------------------------------
* This file is the replica of the google font array. To update new font
* lists, goto https://www.googleapis.com/webfonts/v1/webfonts?key=*****
@kalebweb
kalebweb / loop-wp-page.php
Created July 27, 2014 02:11
loop-wp-page
<?php query_posts(array('showposts' => 6, 'post_parent' => 2, 'post_type' => 'page')); ?>
<?php while (have_posts()) : the_post(); ?>
<?php the_post_thumbnail(); ?>
<h3><?php the_title(); ?></h3>
<?php endwhile; ?>
@kalebweb
kalebweb / function-font.scss
Created July 27, 2014 02:55
function font
@mixin font($tipo) {
@if $tipo == light {
font-style: normal;
font-weight: 300;
}
@if $tipo == light-italic {
font-style: italic;
font-weight: 300;
}
@if $tipo == normal {