Skip to content

Instantly share code, notes, and snippets.

Eduardo Zulian eduardozulian

Block or report user

Report or block eduardozulian

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
@eduardozulian
eduardozulian / btt-spotify-itunes.json
Last active Jun 30, 2018
BetterTouchTool: show Spotify/iTunes tracks currently playing
View btt-spotify-itunes.json
{
"BTTWidgetName" : "Now Playing",
"BTTTriggerType" : 639,
"BTTTriggerTypeDescription" : "Apple Script Widget",
"BTTTriggerClass" : "BTTTriggerTypeTouchBar",
"BTTPredefinedActionType" : 172,
"BTTPredefinedActionName" : "Run Apple Script (blocking)",
"BTTInlineAppleScript" : "if application \"Spotify\" is running then\r\ttell application \"Spotify\"\r\t\tif player state is playing then\r\t\t\tnext track\r\t\tend if\r\tend tell\rend if\r",
"BTTScriptType" : "AppleScript",
"BTTEnabled2" : 1,
@eduardozulian
eduardozulian / wp-site-icon-login.php
Created Oct 22, 2015
Displays the registered WordPress Site Icon as a logo on the Login Form
View wp-site-icon-login.php
<?php
/**
* Displays the registered Site Icon as a logo on the Login Form
*/
function fltnt_add_site_icon_to_login() {
if ( function_exists( 'has_site_icon' ) && has_site_icon() ) {
?>
<style type="text/css">
.login h1 a {
@eduardozulian
eduardozulian / wpbr-blogs.md
Last active Oct 15, 2015
Sites e blogs em português que tratam sobre WordPress
View wpbr-blogs.md
@eduardozulian
eduardozulian / wp-social-links-menu.css
Created Sep 25, 2015
WordPress social links menu powered by Font Awesome
View wp-social-links-menu.css
@eduardozulian
eduardozulian / wp-widget-foundation-custom-classes.php
Last active Oct 15, 2015
WordPress hook that loops through widget areas and add some custom classes for each one of them
View wp-widget-foundation-custom-classes.php
<?php
/**
* Loop through widget areas and add custom classes for each one of them
*
* @link http://colourstheme.com/2015/03/add-class-to-first-and-last-widget/ Reference #1
* @link https://gist.github.com/slobodan/6156076 Reference #2
*/
function fltnt_add_widget_custom_classes() {
global $wp_registered_widgets;
@eduardozulian
eduardozulian / wp4.3-release-pt_BR.md
Last active Aug 29, 2015
WordPress 4.3 "Billie" release note (pt_BR)
View wp4.3-release-pt_BR.md

WordPress 4.3 “Billie”

A versão 4.3 do WordPress, chamada de “Billie” em homenagem a cantora de jazz Billie Holiday, está disponível para download ou para atualização diretamente do seu painel do WordPress. As novas funcionalidades da versão 4.3 facilitam ainda mais a formatação do seu conteúdo e a personalização do seu site.

Menus no Personalizar

Crie seu menu, atualize-o e atribua-o a alguma área, tudo isso enquanto vê as mudanças ao vivo dentro do Personalizar. O design simplificado do Personalizar oferece uma interface acessível e amigável a dispositivos móveis. A cada lançamento do WordPress, torna-se ainda mais fácil e rápido fazer seu site do jeito que você quer.

Atalhos de formatação

A fluência de sua escrita acabou de se tornar mais rápida com os novos atalhos de formatação do WordPress 4.3. Use asteriscos para criar listas e sinais numéricos para cabeçalhos. Chega de quebrar essa fluência; seu texto ficará perfeito com um * e um #.

@eduardozulian
eduardozulian / wp.sublime-project
Created Feb 7, 2015
My Sublime Text defaults for a WordPress project
View wp.sublime-project
{
"folders":
[
{
"path": "",
"folder_exclude_patterns":
[
"wp-includes",
"wp-admin",
"wp-content/plugins",
@eduardozulian
eduardozulian / wp-entry-share.php
Created Feb 7, 2015
Prints HTML with share buttons
View wp-entry-share.php
<?php
/**
* Prints HTML with share buttons
*/
function wp_entry_share() {
$permalink = wp_get_shortlink();
?>
<ul class="entry-share">
<li class="entry-share__item">
@eduardozulian
eduardozulian / wp-taxonomy-dropdown.php
Last active Jul 2, 2019
Callback function for 'meta_box_cb' argument inside register_taxonomy() that replaces the regular checkboxes with a plain dropdown list
View wp-taxonomy-dropdown.php
<?php
/**
* Callback function for taxonomy meta boxes
*
* A simple callback function for 'meta_box_cb' argument
* inside register_taxonomy() that replaces the regular
* checkboxes with a plain dropdown list
*
* @param [type] $post [description]
* @param [type] $box [description]
You can’t perform that action at this time.