Mike Auteri

WordPress / Web Development

  • Home
  • About
  • Portfolio
  • Contact

How to create unique widget areas for individual posts in WordPress

February 11, 2016 by Mike Leave a Comment

How to create unique widget areas for individual posts in WordPress

Here’s a cool little trick for adding widget areas that are unique to posts, but without cluttering up Appearance->Widgets in the admin. Instead, we utilize the Customizer, which is perfect for this sort of thing. First thing, we need to hook a function into init where we register our widget area.

PHP
1
2
3
4
5
add_action( 'init', 'my_namespaced_widgets_area' );
 
function my_namespaced_widgets_area() {
// Our code goes here.
}

We are using init ... Read More

Filed Under: Code Snippets, WordPress

The Day After WordCamp US

December 7, 2015 by Mike Leave a Comment

The Day After WordCamp US

I was fortunate to be able to attend the very first WordCamp US this past weekend. It was held in Philadelphia, which is a reasonable drive from where I live in North Jersey. It’s also usually hard for me to get away these days since I have a 17-month-old child, but luckily, my wife was fine with ... Read More

Filed Under: WordPress

Use jQuery to center element in viewport

August 19, 2014 by Mike Leave a Comment

Use jQuery to center element in viewport

I wrote this bit of code for a knock-off Google Image UI I’ve recently been working on. Like Google Image search, my UI opens the image details below the thumbnail on click. Within those image details are forward and back arrows to navigate previous and next images. This script adjusts the vertical scroll as I click ... Read More

Filed Under: Code Snippets, JavaScript, jQuery

Last weekend at WordCamp NYC

August 5, 2014 by Mike 4 Comments

Last weekend at WordCamp NYC

This past weekend was WordCamp NYC 2014, and I must say, it was a huge improvement from previous WordCamps in New York. It’s no secret that I’ve been a bit critical of New York WordCamps in the past. For the record, I’ve only been to WordCamps in two cities: New York and Boston. Until now, Boston was ... Read More

Filed Under: WordPress

Hello World! Emily Lorraine Auteri is here.

July 18, 2014 by Mike Leave a Comment

Hello World! Emily Lorraine Auteri is here.

It’s been quite a while since I tried to maintain a blog. I came close a couple years ago, but ended up hating all my posts and deleting the blog. So it goes… I’m currently on paternity leave from work. My daughter, Emily Lorraine Auteri, was born on July 4th. Like our forefathers declaring independence ... Read More

Filed Under: Parenting

Where to Find Me

  • LinkedIn
  • Twitter
  • GitHub
  • Instagram
  • RSS Feed
WP Engine

My Instagram

  • We made funnel cake for Steph's birthday.
    We made funnel cake for Steph's birthday.
  • 4th of July baby is ready for fireworks!
    4th of July baby is ready for fireworks!
  • Someone fell asleep on the ride home.
    Someone fell asleep on the ride home.
  • Em on the beach
    Em on the beach
  • Not at all sleepy...
    Not at all sleepy...
  • Someone isn't sleepy...
    Someone isn't sleepy...
  • Nice night to hang out on the lawn.
    Nice night to hang out on the lawn.
  • Learning to drive. They grow up so fast.
    Learning to drive. They grow up so fast.

Archives

  • February 2016 (1)
  • December 2015 (1)
  • August 2014 (2)
  • July 2014 (1)

Copyright © 2016 Mike Auteri