Blog

Posts tagged: WordPress

Talking Tech, WordPress Tips and Tricks

Front-End performance goals when building new WordPress websites

From the start of the development process we must think about website speed. It’s one of the most important features of your new site especially now that search engines are ranking faster and properly optimized web sites higher. Here are some of the best practices we use when developing light weight WordPress themes. HTML Some things are fairly straight forward […]

Read More

APIs, WordPress Tips and Tricks

Taking Control of the WordPress Scheduler — The Basics

The WordPress scheduler is a tricky beast. ‘WP-Cron‘ as configured by default can alternately fail spectacularly with a ‘missed schedule’ error on a post you were depending on publishing at a specific time, or slow down your server to a crawl. On the other hand, with proper configuration on the server end and clever development in your plugins, the scheduler […]

Read More

APIs, WordPress Tips and Tricks

Google’s Custom Search Engine

We do not use the built-in WordPress search on any of the sites we develop, instead we add a filter to disable the search function entirely. There are two primary reasons for this decision: Although the WordPress search may be adequate for a small blog or portfolio, we focus on performance ensuring our sites run fast no matter the size […]

Read More

Building Better Systems, WordPress Tips and Tricks

WordPress Performance Optimization Part 1: Know Your Database Queries!

There are many bad habits that WordPress developers should avoid. Some of these include using asterisk (*) for SELECT queries, redundant queries, and most importantly not being familiar enough with SQL. After years of developing on enterprise websites, developers often ask themselves these following questions: Why did I not know this method before? How was I able to get by before? Most developers […]

Read More

WordPress Tips and Tricks

WordPress MultiSite add new user and skip confirmation email

When working in a WordPress MultiSite Network, users with Admin/Editor level access can create new users if enabled but they lack the “Skip Confirmation Email” toggle that Super Admins have which allows them to add the user without sending an email that requires their confirmation. In order to give regular WordPress Admin/Editor users this same ability we came up with […]

Read More

Talking Tech

An Ode to Sass: Make Your CSS Better

Alexandra White, Web Developer

I’ve learned a lot since I started working at IEG in August 2014, from building better WordPress themes via MVC to the ins-and-outs of git (how I got by before, I’ll never know). The greatest tool that I’ve embraced in my tenure is Sass. For those unfamiliar, Sass is a CSS preprocessor which takes giant complex stylesheets and neatly organizes […]

Read More

WordPress Tips and Tricks

Should I create a plugin or build the functionality into my WordPress theme?

This is a tricky question that comes up quite often. My general rule is to determine if the new function would be re-usable on other WordPress themes or a future revision to my site’s theme. Does your site’s content require your custom functionality to always be there? An example where this would be the case is the use of custom […]

Read More

APIs, Inside IEG

PBS Logins on Thirteen.org = THIRTEEN Passport

The smart people at the Public Broadcasting Service have built a system to provide video-on-demand for members of PBS stations on PBS.org. We call this system ‘Passport‘ — since it’s a benefit for members of individual PBS stations, we refer to it at WNET/Thirteen as ‘THIRTEEN Passport’, while another station such as Oregon Public Broadcasting calls it ‘OPB Passport’. This […]

Read More

WordPress Tips and Tricks

Replacing the default WordPress gallery shortcode

The built-in WordPress gallery view isn’t all that exciting. There are limited features and no way to customize the setup of the photos beyond how many columns you want. With a little know how you can completely replace the front-end view for your photo galleries. The first step is to remove the current gallery short code and replace it with […]

Read More

APIs, WordPress Tips and Tricks

A Guide to Custom WordPress Admin Columns

I recently setup a custom post type (CPT) to manage ‘Pledge Premiums’ – IEG’s primary work is for public television (particularly for New York, New Jersey and Long Island), and the premiums are the thank-you gifts that our members get for making a pledge. I wanted the list of premiums that appears in the WordPress admin to display custom columns […]

Read More

APIs, WordPress Tips and Tricks

Using oAuth in WordPress Plugins, Part 2: Persistence!

In my previous post we setup a basic oAuth connection between our plugin and Google. Within a post, you could log into Google and get info about a YouTube video to import into your post. Unfortunately, this means that every time you want to do anything with YouTube you have to log in again. What if you want to schedule […]

Read More

APIs, WordPress Tips and Tricks

Build a Better WordPress Theme with the Settings API

Alexandra White, Web Developer

Often when we create our WordPress themes, they come with a small theme options page built using the Settings API. This page could have inputs for everything from social media handles to uploading a new logo or picking a homepage layout. Having these options makes it easier for non-developers to make important changes to their websites, or give it minor […]

Read More