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: PHP
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 »
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 »
Custom TinyMCE Buttons Example Plugin
My example WordPress TinyMCE Example plugin is now done and up on GitHub. Download it and play around with it! Below you can see the README which I’ve embedded using DobsonDev Shortcodes – so download that to your blog if […] Read More »
Custom TinyMCE Buttons in WordPress
Creating your own custom TinyMCE buttons is a great feature that can add a lot of value to your WordPress plugin or theme. Adding a TinyMCE button to your editor makes it easy for the user to add your shortcodes […] Read More »
Using the WordPress Media Library
In one of my previous articles I talked about using the WordPress media uploader for your own plugins/themes. I had quite a few questions in the comments of that article about how to do certain things and to elaborate on […] Read More »
DobsonDev Underscores
In my previous article I mentioned the DobsonDev Underscores project I’ve been working on. I also mentioned that I wasn’t quite done yet but luckily this is no longer the case. For those of you who already have an idea […] Read More »