RAMBLINGS
OF A FREELANCE
DEVELOPER

Now Viewing
the php
Tag

Subscribe via RSS

WP Job Manager Plugin Custom Filters & Functions

I’ve been learning the in’s and out’s of Automattic’s WP Job Manager plugin these past couple of weeks. It’s a powerful job board plugin for WordPress, but the real awesomeness is how it can be customized. Most of the below are custom filters and functions (some are written by me, some found otherwhere that I’ve used), I thought they’d be helpful...

Read More

WordPress Find Featured Image or First Image in Post, Find Dimensions & ID by URL

Created an amazing function for a client and had to share. This is great for WordPress sites with posts and media that have been imported from another install. On the client’s site, some images had featured images, some only had images in the content itself, and of the content images, some were internal, others external. These images are grabbed to...

Read More

Integrating SVG Maps with WordPress & Advanced Custom Fields Pro

Sometimes clients are in need of fancy interactive maps that allow them to change data frequently. A client of mine recently came to me asking for a map that would allow custom colors and pins, as well as the ability to update the data monthly. Most maps are a *pain* when it comes to updating data – which is why...

Read More

Super Hijinksified – Developer Starter Theme

A lot of people have been asking if I use a framework for WordPress. I use my own custom blankish framework that allows me to quickly get started on projects. It’s basically the core files, cleaned up, with all the nonsense divs removed, a basic structure and some basic CSS. Super Hijinksified now includes some responsive theming, commonly used WordPress...

Read More

Extending Layout Control in WordPress by Combining Shortcodes and ACFs

A lot of my clients want the ultimate control when it comes to the layout of their website. While this isn’t usually affordable or feasible in normal websites, the Advanced Custom Fields plugin has been a godsend in allowing developers to go beyond basic WordPress functionality and into more advanced ways of content control and layouts. This became even more...

Read More

Advanced WordPress Tutorial: Making a Switching Category Menu

A client of mine wanted to make a horizontal menu that listed all of their categories. Easy enough! But the client was going to have lots of categories, which meant that most would either have to be left out, or the horizontal list of categories was going to have to be multi-line. Not so good. So they asked if I...

Read More

Getting Into the Nitty-Gritty of the WordPress Customizer

One of WordPress 3.4’s best new features is the Customizer which allows you to create a place where the theme itself can be updated or modified. The Customizer, also called a theme options panel, is an area in the admin with a list of sections and options to the left in a panel, and a preview of the theme’s homepage...

Read More

Using the new WordPress Customizer and SimplePie Together

It’s been awhile since I’ve posted some code tutorials! Unfortunately the blog has taken a back seat to client projects, a (real!) book I’m writing on Advanced WordPress, and several talks for conferences this summer! However today, I had to write something cool I thought you’d guys would enjoy. Let’s pretend your client wants to show a blog feed from...

Read More

Developing Custom WooCommerce Themes

I recently had a project that required working with WooCommerce. WooCommerce is a free eCommerce framework from the makers of WooThemes. I’ve never been a fan of working with premade themes or frameworks for WordPress, as the devs tend to code completely different than I do and it’s frustrating to have to learn someone else’s style. However, I’ve been a...

Read More

March 12412: Creating a Custom Photo Submission Site in PHP

For this month’s 12412 project, I wanted to create a simple submission site in order to play around with MySQL and PHP, which really isn’t something I’m too strong in right now. I ended up creating Royal United, a photo submission site for displaying photos of the UK (one of my favorite topics of photography!). This site was actually a...

Read More