Skip to content

Instantly share code, notes, and snippets.

View hweeks's full-sized avatar

Aech Weeks hweeks

View GitHub Profile
# Introduction
I can’t tell you how to introduce yourself, I can only tell you it should be the first step.
# Technical Background
1. Can you describe a project where you were deeply involved in the architecture or requirements gathering? What role did you play, and how did you ensure the technical team's needs were met without constant involvement in meetings?
2. How do you stay technically sharp given your managerial responsibilities? Could you give an example of how you've recently contributed to solving a technical challenge?
## Answers
@hweeks
hweeks / ACF the_content Filter
Last active August 29, 2015 14:03
Filtering ACF content to do shortcodes that aren't implemented properly by a plugin
$varparse = get_field('WHATEVER_FIELD_NAME');
$var = apply_filters('the_content', $varparse);
echo $var;
//Normally done with a WYSISYG field
@hweeks
hweeks / Email Encodin
Created April 9, 2014 15:44
WordPress Email Encoder using ACF
//Your html code snippet
<?php echo(encode_email(get_field('variable-you-choose')));?>
//Your Functions file add on
function encode_email($e) {
$output = "";
for ($i = 0; $i < strlen($e); $i++) { $output .= '&#'.ord($e[$i]).';'; }
return $output;
}