I would like to take the opportunity to introduce the talented Community Funded Team. I have been working with these amazing people for over 2 and half years and we recently updated our "meet the team" page. Please check it out to learn more about the people and passion behind Community Funded.
I recently completed a site design overhaul for Competition Dynamics. They hold world-class, cutting-edge competitive practical shooting events with an unmatched level of professionalism and operational excellence. They bring new practical and field competition concepts to reality. Their staff has a proven track record of running challenging, safe, and fair 3-Gun, multi-gun, and long-range matches. They have been involved in administering many of the most influential field matches of the last decade and have redefined what field challenges can be applied to a competition format. They have the expertise and experience to run world-class practical shooting events.
The site is not built with WordPress, but I installed WordPress for the blog. I created a WordPress API that allows these articles to be pulled onto the CD site on the homepage and on full article pages. It allows for pulling specific post types, postmeta, and taxonomies.
I just want to say that for any of you that use my admin post searching plugin (link), i have updated it to search not only on the post title, but also the post id. I was watching a client look for a post by ID and it him me that i could just add this functionality to the search plugin.
I bought my raspberry pi a few months ago and played with it a lot at first and then put it aside until I finally came up with a use for it. I installed Debian, nginx, and wrote a small php script (run via a cron job) that can check a url to see if it is live. If the pi finds that the server is down, then I have it send me a text message to alert me so that I can respond as quickly as possible.
Very often I have been asked to make “next/previous” post buttons from within a WordPress post editor. I figured a super simple slick interface that allows a user to start typing and see a list of posts that they could click on and then jump straight to that post’s editor would be nice.
I have made some static webpages recently and I have been meaning to make an extremely simple template engine that will drive these sites. I always have a library of functions for getting html headers, footers and common functions, but I didn't have the template portion. Here is a very easy to implement system that allows you to make static websites that do not need databases that load very fast. It basically lets you define a set of pages and then will automatically serve the correct page from a folder. This is instead of having to make new folders and index files for each new page.
This is a WordPress plugin I wrote that stores information about slider images in the database. It also gives you a template tag that you can use to loop over the images and implement your own JS Slider in your theme. It has a management page in the wp-admin dashboard so that you can add a title, description, link to follow, image url, and the ability to make it active or inactive.
As far as I can tell, there is no setting in the app to send audio to an AppleTV. However!
I was watching a couple of YouTube videos from my iPhone streamed to the AppleTV. I then went to the Phish App to listen to last night's MSG Show. To my surprise it started playing through the AppleTV. I tested this and realized that after choosing the output from the YouTube App to be the Apple TV, that it then became the default output for the Phish App and voilà!
I know this has nothing to do with web development, but this is a trick i deemed important to share.
Awhile back, I created a plugin that would allow you to put a template tag on your site to display popular posts based on the number of comments on posts. It was quick, dirty and not the best code I have ever written.
I have completely rebuilt it using the WordPress Widget system so you can add it to your sidebar via the Widgets Administration panel.
This widget works based on the number of comments on your posts. It takes the most commented post and gives it a value of 1. You can then pick up to three levels to compare the other number of comments per post. You can also pick the number of posts to display in your sidebar.
Here's a quick overview of my first impressions of OS X Mountain Lion. Full article contains descriptions of Notification Center, Safari, The Dock, and Notes
I would like to take this opportunity to explain some of the cool features and projects that are on Community Funded. For a little background, I have been working on this site since I was brought in as a consultant in August, and became the Director of Development in November. The website is a crowd funding website that takes advantage of the power of Mega Community Collaboration (MC2). Here is what this about: MC² happens when motivated groups of individuals and organizations focus on common goals to maximize their community’s resources. Modern technology allows for the connection of many diverse communities to form The Community – which possesses all the resources and funds needed to make incredible things happen. Community Funded will transform this potential into energy through the power of MC² .
It has been awhile since I have written, but I wanted to detail how and when to use WordPress transients. First off, what are transients? WordPress has a great API for storing data that might be either the results of an expensive/complex query, or data that does not change that often. The rationale behind these is to make the pages load faster without having to do the expensive queries for every user that visits your site. They offer us an expiration date so that the data can be regenerated on a schedule.
I have two examples in the full article for you to review. Hopefully they will help you make your site more efficient.
So I have been working on a project that has become my main focus. I am really proud to be the developer for www.communityfunded.com. We currently have a splash page up that allows the public to register as a user.
Here is a brief summary of the project:
Community Funded will connect people, ideas and resources in historic new ways, empowering our communities and promoting "grass-roots economic recovery." Anything’s possible when it’s Community Funded.
Please sign up to be a part of something really special.
Here is a link to our Facebook page with some more info and response from the public: https://www.facebook.com/CommunityFunded
Here is a quick and dirty way to keep your users out of the WP-ADMIN area. I have not found a good way to redirect a user from the wp-login.php page to a custom page and not profile.php. (anyone knows, please let me know : > ). I needed this as i had a front end system for users to manage their profiles. That part needed to look like the regular theme and not like the admin area.
Here is a simple Google base feed parser php class I wrote recently. It lets you pick and choose which fields you would like to grab from the feed
Here is some handy code that allows you to upload image(s) from a form on the front end of your WordPress site and have it become attached to a specific post. There is optional code that allows you to make the post the featured image (post thumbnail) as well.
So you have a ton of categories and there are a lot of child categories at the list and the post editor has become unruly? In order to change a posts' category or to add it to a new one the list is unmanageable. Here is a jQuery code snippet that you can use to make the categories collapsable. It removes the label functionality. You cannot click on the name to select the item's checkbox, but it now allows you to click on the name to expand the categories.
This simple image class will allow you to get an image from your server to dynamically resize it and center it top/bottom and left/right in a square box. If you have some images that are all good kb size but are a bit random in their dimensions, you can use this class to make them fit dynamically in a box. It will make images that are larger than the bounds of the box smaller, but will not adjust the size of images that are smaller than then bounds. That would make them blurry, so instead it just makes them centered in the box.
I am using this in a scenario where there are images that have been uploaded to the server that are very small 200x200 and rather large 1000x1200. The size of my display box in this example is 400x400.
Here is a demo: http://www.matthewaprice.com/image-resize-demo/