Up until very recently I had always used get_posts() along with an $args array in order to retrieve new posts or custom posts on a page. However, in the last few weeks I have discovered the awesome power of the […] Read More »
Tag: Development
Converting an XML Object to Associative Array in PHP
Let’s say you have an XML file (like the one that follows) that you want to turn into an associative array in PHP. Doing this takes a few steps but it’s actually quite simple. I’m using a quiz questions XML […] Read More »
Flexbox Responsive Front-end Grid Framework
Recently I’ve been contemplating if Foundation is a little too bulky for my DobsonDev Underscores project. All I usually use from Foundation is the responsive grid system, the visibility classes and some typography settings. I wondered to myself if I […] Read More »
DobsonDev Underscores Generator
Way back when I created a modified version of the Underscores starter theme with Foundation mixed in that I brilliantly named DobsonDev Underscores – very creative naming. Originally there were just two shell scripts that would run to create a […] Read More »
jQuery Attribute Contains Selector
I recently found myself in a position where I had to sort through the classes of rows on a table where the classes where defined directly via a value from the database. Unfortunately for me, the database entry had words […] Read More »
Full-Screen Video Background
Below is a demo of a full-screen video background using only CSS and HTML – no JavaScript required. The key to this demo is to use the HTML <video> element with a normal image to use as a fallback as […] Read More »
Numeric Pagination
I recently had a client request numerical pagination on their custom post type pages. This was something I have never done before but is a really common design throughout the web so I thought it would be good to learn. […] Read More »
WordPress Dashboard Widgets API
I recently wanted to learn more about how the WordPress Dashboard Widget API works so I created an example plugin to test it out. The plugin is a dashboard widget version of my WordPress AJAX Example plugin’s admin page. It […] Read More »
DobsonDev Underscores Update
DobsonDev Underscores has now been updated to Foundation 6. If you want to update visit the GitHub page to download the project (or if you’ve already downloaded it you can do a fetch to update it). Below is the information […] Read More »
DobsonDev Shortcodes 2.0.0
I’m happy to say that I’ve released DobsonDev Shortcodes 2.0.0. This release includes a huge new feature (hence the 2.0.0), a TinyMCE plugin that gives users an interface within TinyMCE for adding shortcodes to your content. Gone are the days […] Read More »