Jared Atchison http://www.jaredatchison.com WordPress Developer and Consultant Sat, 25 Jul 2015 13:21:30 +0000 en-US hourly 1 http://wordpress.org/?v=4.2.3 Customize FullCalendar 2 to look like Google Calendar http://www.jaredatchison.com/2014/06/14/customize-fullcalendar-2-look-like-google-calendar/ http://www.jaredatchison.com/2014/06/14/customize-fullcalendar-2-look-like-google-calendar/#respond Sat, 14 Jun 2014 22:14:40 +0000 http://www.jaredatchison.com/blog/?p=74 FullCalendar 2 is a great jQuery plugin that provides and generates a full sized calendar. It’s a fantastic script and extremely well written. The best part about it is it ships with an add-on that gives you Google Calendar support. With this add-on you can pull in all the events from your Google Calendar (or…Continue Reading

The post Customize FullCalendar 2 to look like Google Calendar was written by Jared Atchison.

]]>
FullCalendar 2 is a great jQuery plugin that provides and generates a full sized calendar. It’s a fantastic script and extremely well written. The best part about it is it ships with an add-on that gives you Google Calendar support.

With this add-on you can pull in all the events from your Google Calendar (or multiple Google Calendars) into your very own calendar, presumably in your own website or application.  Out of the box (with the add-on) it does a fine job of that.

However, as someone who has been using Google Calendar daily for close to a decade, there were a few little visual things that annoyed me. Specifically past events were not dimmed and there is no differentiation between all day events and scheduled ones (such as 2-4pm). Check out their demo.

Thankfully the very recent version 2.0 is extremely extendable. With a little tweaking, I was able to apply separate CSS classes to past events, all day events, and timed events, which of course let’s me styling them to resemble what I am used to seeing inside Google Calendar.

So if you are looking to alter FullCalendar 2 to render events similar to Google Calendar, the snippet below is for you.

The post Customize FullCalendar 2 to look like Google Calendar was written by Jared Atchison.

]]>
http://www.jaredatchison.com/2014/06/14/customize-fullcalendar-2-look-like-google-calendar/feed/ 0
WordPress one click updates with MAMP PRO http://www.jaredatchison.com/2014/01/29/wordpress-one-click-updates-with-mamp-pro/ http://www.jaredatchison.com/2014/01/29/wordpress-one-click-updates-with-mamp-pro/#respond Wed, 29 Jan 2014 18:51:59 +0000 http://www.jaredatchison.com/blog/?p=40 Just a tidbit for those developers, like myself, who haven’t made the jump to Vagrant (yet) and are still rockin’ MAMP. I very rarely do development locally (typically I dev sites on my super sweet Synthesis VPS) so MAMP PRO still fits the bill nicely for me. Anyways, if you do fine yourself using MAMP and…Continue Reading

The post WordPress one click updates with MAMP PRO was written by Jared Atchison.

]]>
Just a tidbit for those developers, like myself, who haven’t made the jump to Vagrant (yet) and are still rockin’ MAMP. I very rarely do development locally (typically I dev sites on my super sweet Synthesis VPS) so MAMP PRO still fits the bill nicely for me. Anyways, if you do fine yourself using MAMP and want to easily enable one click updates, this is the best and easiest method I’ve found.

The post WordPress one click updates with MAMP PRO was written by Jared Atchison.

]]>
http://www.jaredatchison.com/2014/01/29/wordpress-one-click-updates-with-mamp-pro/feed/ 0
Giving users control over their avatars http://www.jaredatchison.com/2014/01/10/giving-users-control-over-their-avatars/ http://www.jaredatchison.com/2014/01/10/giving-users-control-over-their-avatars/#respond Fri, 10 Jan 2014 18:41:21 +0000 http://www.jaredatchison.com/blog/?p=31 I've been working on a handful membership sites recently. One of the feature requests I get repeatedly is for members to easily manage their avatar/profile photo - a totally reasonable request. None of the existing solutions did everything I needed, so I wrote my own. It's available on WordPress.org.Continue Reading

The post Giving users control over their avatars was written by Jared Atchison.

]]>
I’ve been working on a handful membership sites recently. One of the feature requests I get repeatedly is for members to easily manage their avatar/profile photo – a totally reasonable request. However the membership plugins don’t really offer this feature. There are some plugins out there for this, namely Simple Local Avatars, that are great but just don’t do everything I need.

There are 3 main features I wanted.

  • Ability to manage avatars in the admin (wp-admin) side
  • Ability to manage avatars on the front-end side
  • bbPress support
Front end management via the shortcode

Front end management via the shortcode

Unfortunately, most existing plugins just accomplish the first feature. It’s common with membership sites to completely lock your members out of the admin, so in doing that members can’t update their avatars. That’s why it was important to me to have front end support via a handy shortcode.

Lastly, it’s common for membership sites to be using the bbPress forum system, so it only makes sense to build in bbPress support.

Check out the Basic User Avatar screenshots on WordPress.org and maybe give it a spin!

While this plugin has been used on production sites without any issues, it hasn’t been tested on a wide variety of environments, so consider it beta. This plugin is a fork of 10up’s Simple Local Avatar 1.3.x.

The post Giving users control over their avatars was written by Jared Atchison.

]]>
http://www.jaredatchison.com/2014/01/10/giving-users-control-over-their-avatars/feed/ 0
Custom Post Types http://www.jaredatchison.com/2012/03/24/custom-post-types/ http://www.jaredatchison.com/2012/03/24/custom-post-types/#comments Sat, 24 Mar 2012 17:45:09 +0000 http://www.jaredatchison.com/?p=914 My presentation from WordCamp San Diego!Continue Reading

The post Custom Post Types was written by Jared Atchison.

]]>
My presentation from WordCamp San Diego!

The post Custom Post Types was written by Jared Atchison.

]]>
http://www.jaredatchison.com/2012/03/24/custom-post-types/feed/ 7
Custom Metaboxes and Fields 0.9 released http://www.jaredatchison.com/2012/01/20/custom-metaboxes-and-fields-0-9-released/ http://www.jaredatchison.com/2012/01/20/custom-metaboxes-and-fields-0-9-released/#comments Sat, 21 Jan 2012 02:29:01 +0000 http://www.jaredatchison.com/?p=882 'm happy to announce Custom Metaboxes and Fields for WordPress version 0.9 is out and ready for consumption. This is probably one of the large updates we have put out as it contains a lot of fixes, tweaks, and even a few nice additions.Continue Reading

The post Custom Metaboxes and Fields 0.9 released was written by Jared Atchison.

]]>
Custom metaboxes and fields for WordPress

After a few months in the works I’m happy to announce Custom Metaboxes and Fields for WordPress version 0.9 is out and ready for consumption.

This is probably one of the large updates we have put out as it contains a lot of fixes, tweaks, and even a few nice additions. Taken straight from the readme, here’s a list of what new with 0.9!

  • Cleaned up scripts being queued
  • Cleaned up and reorganized jQuery
  • Use $pagenow instead of custom $current_page
  • Fixed CSS, removed inline styles, now all in style.css
  • Fixed multicheck issues (issue #48)
  • Fixed jQuery UI datepicker CSS conflicting with WordPress UI elements
  • Fixed zeros not saving in fields
  • Fixed improper labels on radio and multicheck fields
  • Fixed fields not rendering properly when in sidebar
  • Fixed bug where datepicker triggers extra space after footer in Firefox
  • Added jQuery UI datepicker packaged with 3.3 core
  • Added date time combo picker
  • Added color picker
  • Added readme.md markdown file

Bill and Norcross have put in a lot of time for past releases, so in this release I tried to pick up the slack as I hadn’t been as active.

If you are using 0.8 you should be able to upgrade without any issues. However it’s worth noting this release is for WordPress 3.3+ – if you have not upgraded to 3.3 do not use 0.9.

What’s next

The next version is going to be a good one, so definitely keep an eye out. You can take a peak at the To-do in the readme to get an idea of what’s on our radar. Specifically here’s a few things that are a priority in 1.0:

  • Code cleanup. Since CMB has a rather large user base now, I figure we owe it to them to tidy up the code. This is going to be the #1 goal (but not the only) for 1.0.
  • Improve inline documentation. This goes hand-in-hand with the first point.
  • Move the jQuery datepicker and timepicker code inline and make each instance configurable with options passed through the array. This will allow multiple timepickers with different ranges, etc.
  • Add array option for placeholder value. Now that most modern browsers support this (html5) it should be a no-brainer.
  • Add array option for required elements. Like the previous point, this should be easy thanks to HTML5.
There are a few other features, if time permits, we are going to try to squeeze in as well – but the ones above will be the focus.
Props!

Special thanks to Gary Jones for some great feedback as well as tweaks, Bill for squashing a few bugs, and everyone who has been reporting bugs on GitHub.

The post Custom Metaboxes and Fields 0.9 released was written by Jared Atchison.

]]>
http://www.jaredatchison.com/2012/01/20/custom-metaboxes-and-fields-0-9-released/feed/ 4
Exclude categories from WordPress search results http://www.jaredatchison.com/2011/10/20/exclude-categories-from-wordpress-search-results/ http://www.jaredatchison.com/2011/10/20/exclude-categories-from-wordpress-search-results/#comments Thu, 20 Oct 2011 03:00:21 +0000 http://www.jaredatchison.com/?p=859 Excluding a category (or categories) from the WordPress search results is easy peezy, however, that doesn’t stop most of the snippets I’ve found from doing it wrong.Continue Reading

The post Exclude categories from WordPress search results was written by Jared Atchison.

]]>
Excluding a category (or categories) from the WordPress search results is easy peezy, however, that doesn’t stop most of the snippets I’ve found from doing it wrong.

View this code snippet on GitHub.

The post Exclude categories from WordPress search results was written by Jared Atchison.

]]>
http://www.jaredatchison.com/2011/10/20/exclude-categories-from-wordpress-search-results/feed/ 8
Taking advantage of the template_include filter http://www.jaredatchison.com/2011/10/02/taking-advantage-of-the-template_include-filter/ http://www.jaredatchison.com/2011/10/02/taking-advantage-of-the-template_include-filter/#comments Sun, 02 Oct 2011 02:35:02 +0000 http://www.jaredatchison.com/?p=836 If you are like me, you often want to control what template file WordPress uses. Some of the methods I’ve seen around the internet try to use template_redirect. Others are even worse and employ sticking tons of conditionals inside WordPress template files (eg category.php). Well I am here to tell you there is a much easier way.…Continue Reading

The post Taking advantage of the template_include filter was written by Jared Atchison.

]]>
If you are like me, you often want to control what template file WordPress uses. Some of the methods I’ve seen around the internet try to use template_redirect. Others are even worse and employ sticking tons of conditionals inside WordPress template files (eg category.php).

Well I am here to tell you there is a much easier way. It’s fairly unknown and sparsely documented. It’s the template_include filter.

The use cases for template_include are endless but I will give you a great example where I recently took advantage of it.

Let’s say you have a category structure like below:

  • Audio
  • News
    • Local
    • Health
    • Technology
    • Sports
    • Politics
    • Travel
  • Videos

Looks straight forward, right? Using the normal WordPress template hierarchy you can easily target these categories. We all know category-news.php would be used when viewing the News category or category-health.php would take care of the Health category.

However, what if you want to create a unique template for all the News sub-categories? Here are the two options you will usually find.

  1. Create a category.php file and use conditionals to target the individual sub categories. Lame!
  2. Create a template file for each sub-category (category-local.php, category-health.php, etc). Even more lame!

I want to have one template file that will be used for all the News sub-categories, not conditionals or duplicate scattered everywhere. With single snippet (which would be in functions.php) using the template_include filter this can be done!

View this code snippet on GitHub.

The code above first checks to see if you are looking at a category. If that is true it then checks to see if the parent category ID is 7. Finally, if this checks out it uses a template file I created,  subcategory-news.php.

Pretty easy, right?

Props to @wpmuguru for sending me in this direction.

The post Taking advantage of the template_include filter was written by Jared Atchison.

]]>
http://www.jaredatchison.com/2011/10/02/taking-advantage-of-the-template_include-filter/feed/ 6
Starter Genesis child theme http://www.jaredatchison.com/2011/10/02/starter-genesis-child-theme/ http://www.jaredatchison.com/2011/10/02/starter-genesis-child-theme/#comments Sun, 02 Oct 2011 01:55:06 +0000 http://www.jaredatchison.com/?p=828 UPDATE 1/23/2012: The starter theme has been completely rebuilt using the styles and features from Genesis 1.8. I created a new repo (and removed the old one) so the links below have been updated accordingly. Please check out the readme for more information! This is my personal “starter” theme (base theme) I use when working with…Continue Reading

The post Starter Genesis child theme was written by Jared Atchison.

]]>
UPDATE 1/23/2012: The starter theme has been completely rebuilt using the styles and features from Genesis 1.8. I created a new repo (and removed the old one) so the links below have been updated accordingly. Please check out the readme for more information!

This is my personal “starter” theme (base theme) I use when working with a project running the Genesis Framework. It is based on of the Sample child theme by StudioPress with some minor modifications. Feel free to use it as you see fit. Obviously, it requires the Genesis Framework. Suggestions and forks encouraged. The GitHub page contains a bit more information.

Download (GitHub)

The post Starter Genesis child theme was written by Jared Atchison.

]]>
http://www.jaredatchison.com/2011/10/02/starter-genesis-child-theme/feed/ 11
bbPress 2.0 RC5 brings Genesis compatibility http://www.jaredatchison.com/2011/09/15/bbpress-2-0-rc5-brings-genesis-compatibility/ http://www.jaredatchison.com/2011/09/15/bbpress-2-0-rc5-brings-genesis-compatibility/#comments Thu, 15 Sep 2011 21:23:29 +0000 http://www.jaredatchison.com/?p=815 Just a few days ago bbPress 2 rc5 was released. It has a handful of tweaks, but the one I wanted to point out is addressing Genesis Framework compatibility. Ticket #1622 was opened just 2 weeks ago by jjj and was based on the bbPress Genesis Extend plugin I had thrown together to fix a few…Continue Reading

The post bbPress 2.0 RC5 brings Genesis compatibility was written by Jared Atchison.

]]>
Just a few days ago bbPress 2 rc5 was released. It has a handful of tweaks, but the one I wanted to point out is addressing Genesis Framework compatibility.

Ticket #1622 was opened just 2 weeks ago by jjj and was based on the bbPress Genesis Extend plugin I had thrown together to fix a few issues with Genesis. After a week of tossing the patches back and forth with jjj, we ended up with solid fix and he committed it just in time for rc5. :)

If you want to see the guts of the patch look no further than bbp-includes/bbp-extend-genesis.php. Quick breakdown of the patch:

  • Fixes issue with bbPress pages not loading due to customized Genesis archive settings
  • Removes post info & meta from bbPress pages
  • Removes Genesis breadcrumbs from bbPress pages
  • Removes Genesis author boxes from bbPress pages
  • Removes pagination from bbPress pages
  • By default, uses a full width layout across all bbPress pages

The last fix is really nice as it allows you to make sure a set layout is used across all your bbPress pages. Before this fix it was quite the task to get a consistent layout. The best thing is, thanks to jjj, it is completely filterable. So while, by default, bbPress uses the full-width-layout it can be easily changed using the bbp_genesis_force_full_content_width filter.

If you are using bbPress with Genesis and run into any issues, be sure and let me know in the bbPress forums or in #bbpress!

The post bbPress 2.0 RC5 brings Genesis compatibility was written by Jared Atchison.

]]>
http://www.jaredatchison.com/2011/09/15/bbpress-2-0-rc5-brings-genesis-compatibility/feed/ 2
Favorite OSX Apps http://www.jaredatchison.com/2011/09/13/favorite-osx-apps/ http://www.jaredatchison.com/2011/09/13/favorite-osx-apps/#comments Tue, 13 Sep 2011 19:50:29 +0000 http://www.jaredatchison.com/?p=802 A buddy of mine, Gil Rutkowski (@flashingcursor), is in the process of switching over to OSX. Both to help him, and serve as a quick reference for myself, I compiled a quick list of my favorite OSX apps. Maybe it contains some hidden gems to you! I left out apps that are no brainers – Apple…Continue Reading

The post Favorite OSX Apps was written by Jared Atchison.

]]>
A buddy of mine, Gil Rutkowski (@flashingcursor), is in the process of switching over to OSX. Both to help him, and serve as a quick reference for myself, I compiled a quick list of my favorite OSX apps. Maybe it contains some hidden gems to you!

I left out apps that are no brainers – Apple Apps, MS Office, text editors (TextMate, Sublime Text 2, CSSEdit), Adobe products, etc. I’m sure some apps I use are not listed, this is just off the top of my head!

RC DefaultApp – easily control your default apps via the system preferences.

Growl – system-wide notifications.

Transmit – FTP, SFTP, mount as drive, etc (this can replace ExpanDrive). Best FTP client available.

1Password – manage all your passwords. Integrates into all browsers, apps for all devices, syncs with DropBox.

Alfred – preform quick searches on your computer and google. Time saving app and a must have.

PathFinder 5 – The ultimate Finder replacement. Apple should really buy them and integrate this. Once you use it you will never go back to the plain finder :)

Adium – OSX equivalent to Pidgin.

Burn – free powerful burning app.

Textual or Colloquy – IRC clients. Also look into xChat.

iTerm 2 – powerful terminal replacement.

Versions – if terminal-based SVN isn’t your thing

GitHub OSX client – ’nuff said.

Divy – resize and move windows to a grid, quickly.

Fluid App – wrap websites in an app (such as Google Calendar).

Mailplane – App for Gmail/Google Mail.

Dropbox – duh!

VLC 2 – duh!

FileShuttle – lets you upload files to s/ftp (screenshots, etc) instantly and creates short URL automatically.

LittleSnapper – Capture websites for inspiration, store in a library which can be sorted, rated, etc. Can be synced with Dropbox.

Notify – I use gMail for my client, but Notify is a great addition for alerts.

SuperDuper – create *bootable* backups. Must have.

TextExpander – stores snippets, great for canned email responses, chunks of code, etc. Can be synced with Dropbox.

iStats Menu – keep an eye on stats from the menu bar.

Transmission – speedy torrent client.

SequelPro – GUI client for MySQL

Chicken of the VNC – VNC client, works flawlessly.

coconutBattery – monitor batter health.

Disk Inventory X – monitor disk usage.

HandBrake – Rip DVDs to xvid/divxh264/etc.

MacTheRipper – DVD extractor.

UnRarX – easily handle .rar files.

MAMP – Both free and pro versions work well. Take your pick.

AppTrap – when you delete an application, logic says it should uninstall. Unfortunately that doesn’t happen by default, this fixes that problem.

Last updated: Feb 2012

The post Favorite OSX Apps was written by Jared Atchison.

]]>
http://www.jaredatchison.com/2011/09/13/favorite-osx-apps/feed/ 4