By default, WordPress lets you write basically anything in the content of a page, post, or custom post type. When you write or see the_content like this in a WordPress template: That’s likely allowing any code through. Even content that could be problematic. Problematic code would include raw iframes and JavaScript scripts. For example, let’s… Continue reading How to protect your WordPress site from problematic code in the_content
Author: Mike
WordCamp Montclair 2020 Promo Videos
For those that aren’t aware, I am lead organizer of WordCamp Montclair 2020, which is happening May 30-31st. This past Friday myself and 2 other organizers (Eileen and Howard) went to our venue at Montclair State University to shoot some short promo videos. This was Eileen’s idea, and I thought it was a really great… Continue reading WordCamp Montclair 2020 Promo Videos
Top 10 Tech Talks
So far in 2020 I’ve submitted talks to two WordCamps that are happening in the next few months. The talk I submitted is similar to the one I gave at WordCamp NYC in 2019, but with the plan to tighten it up a bit and expand on just one of the topics that I feel… Continue reading Top 10 Tech Talks
TIL: comma-separated terms
A good friend of mine emailed me today with a WordPress question: we have a url like /category/term1/ that we’re using to filter on stuff If I do get_query_var(‘category’) it will properly return ‘term1’ If we have the url like /category/term1+term2/ get_query_var(‘category’) still only returns ‘term1’… do you have any insight as to why? Thanks… Continue reading TIL: comma-separated terms
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.
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… Continue reading The Day After WordCamp US
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… Continue reading Use jQuery to center element in viewport
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… Continue reading Last weekend at WordCamp NYC
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… Continue reading Hello World! Emily Lorraine Auteri is here.