Skip to content

Instantly share code, notes, and snippets.

David Aguilera davilera

  • http://neliosoftware.com
  • Barcelona
Block or report user

Report or block davilera

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
@davilera
davilera / 00-README.md
Last active Jan 4, 2019
WP-CLI Introduction
View 00-README.md

Introduction to WP-CLI at Nelio Software.

@davilera
davilera / 00-README.md
Last active Mar 9, 2018
WordPress Loop
View 00-README.md

Nothing relevant.

View 00-README.md

Bulk Edit example in WordPress.

@davilera
davilera / 00-README.md
Last active Jan 29, 2019
Automation Scripts
View 00-README.md

Some scripts for automating plugin creation in WordPress.

@davilera
davilera / 00-readme.md
Last active Nov 14, 2017
Vanilla JavaScript VS libraries
View 00-readme.md

Some examples of the things one can do with Vanilla JavaScript. Comparison of Vanilla JS to jQuery and Underscore.js.

@davilera
davilera / 01-limit.php
Created Aug 21, 2017
WordPress Image Size Limit
View 01-limit.php
<?php
function nelio_max_image_size( $file ) {
$size = $file['size'];
$size = $size / 1024;
$type = $file['type'];
$is_image = strpos( $type, 'image' ) !== false;
$limit = 250;
$limit_output = '250kb';
@davilera
davilera / 00-readme.md
Last active Jul 7, 2017
WP Customizations Plugin
View 00-readme.md

Example of a tiny plugin for adding WordPress customizations.

@davilera
davilera / 00-readme.md
Last active Oct 31, 2016
A glance at the future
View 00-readme.md

Some snippets.

View 00-Plugin Internationalization.md

Examples of good and bad practices in WordPress plugin i18n.

You can’t perform that action at this time.