Tag: code

  • WordPress Cheat Sheet For Commonly Used Template Functions

    WordPress Cheat Sheet For Commonly Used Template Functions

    If you find yourself constantly referring to the Codex or searching for a commonly used template function, consider bookmarking this WordPress Cheat Sheet created by Trevor Niemi. Launched in February of this year, Niemi created the site after seeing a pixelated image of the same information published to Reddit. When asked how often the site…

  • How To Create A Dropdown Menu Of WordPress Categories Without Using Code

    How To Create A Dropdown Menu Of WordPress Categories Without Using Code

    A long standing pain point I’ve had with WordPress is the inability to use the menu administration area to easily add a dropdown list of categories to my theme’s main menu. While the menu system provides the means to add categories to a menu, it doesn’t contain a way to easily create a dropdown list…

  • Why You Shouldn’t Be Worried About Screwing Up When Contributing To WordPress

    Why You Shouldn’t Be Worried About Screwing Up When Contributing To WordPress

    In the WordPress 3.9 development chat that was held on Wednesday, January 15th, a number of topics were discussed ranging from features that people are working on to announcing the date for the release of WordPress 3.9. One of the most interesting topics, however, centered around first time contributors using trac to create tickets and patches.…

  • WordPress Snippets Til Christmas Submissions Opened For 2013

    For the second year in a row, WordPress advent calendar will be hosting their WordPress Snippets til Christmas campaign. Started in 2012, the WordPress Snippets til Christmas features a number of useful WordPress code snippets from members of the community. Submissions for 2013 are now open and don’t have to specifically deal with the Advent…

  • Why Are We Paying For GPL Licensed Code?

    Kevin Muldoon has published a great post that may change the mindset of both WordPress end users and developers. In his post, he talks about WordPress, GPL, and ethics but further into the post, he mentions that perhaps we should not be thinking about what sites like GPL Avengers or GPL Club are doing as…

  • WPWeekly Episode 122 – Code Revisions And Core

    No guests this week which provided Sarah and I a oppurtunity to go in-depth on some topics such as the new password meter for WordPress 3.7. We also had a great discussion surrounding the question of whether code revisions should be added to the core or not. After the discussion, Sarah and I are both…

  • Informative Interview With Otto42

    Bob Dunn who is the author of BobWP.com has published an excellent interview with Samuel Wood otherwise known as Otto42. In the interview, we learn the origin of his nickname Otto. However, I think one of the most interesting points in the interview are Otto’s thoughts on plugins. If I have 100 plugins all doing…

  • GenerateWP.com – Useful WordPress Code Generators

    Who doesn’t love a good code generator for WordPress? GenerateWP.com should definitely be added to your list of bookmarked resources as the site provides a number of different generators for common tasks such as WP-Config file, sidebars, custom post types, menus, and more. Best of all, the code generated from this website meets the WordPress…

  • Summer Internship Projects Announced

    Over the past few years, WordPress has made it a tradition to take part in the Google Summer Of Code. This year however, thanks to Jane Wells, there will be two interns from the Gnome Outreach Program for Women. This program is organized by the GNOME Foundation to encourage more women to get involved with…

  • One Way To Make WordPress Less Portable

    WordPress has a reputation of being very portable but after reading a recent article on WPGarage.com, there is a certain condition in which the data in WordPress can become non-portable. It has to do with the serialization of data. However, they offer up a few different ways in which to deal with the problem so…

  • All Sorts Of Code Snippet Resources

    Yesterday on Twitter, I was informed of a new WordPress code snippets library that sprang up called WPFunction.me. The site has an easy to use interface for grabbing code snippets. While at first, it seems as though you need to perform a lot of scrolling to select code snippets and get the code, you can…

  • WordPress Projects To Follow On GitHub

    Themergency has a list of WordPress related projects to watch that are using GitHub as their source code repository instead of the traditional Subversion approach. In case you didn’t know it already, WordPress itself is also using GitHub except that it’s being synched every thirty minutes with the Subversion repository and only contains read-only access.…

  • WP-Snippets Launches Newly Designed Site

    WP-Snippets has gone through a few changes as of late. Among them is a responsive design, a button to mark snippets as favorites, better ways of filtering snippets, and a few other enhancements. WP-Snippets is one of those really cool ideas that I talked about during the early days of WordPress Weekly and I’m stoked…

  • Avoid Hardcoding Your Copyright Information

    How many of you still update your themes footer every year to change the copyright date? Thanks to a small snippet of code, you can add this to your footer.php file which will negate the need to manually change the copyright information every year. The code snippet is php the_time(‘Y’) An excellent primer for how…

  • Alex King Releases Post Formats Admin UI Code

    Alex King has made available code that creates an admin UI for using Post Formats. While working on their upcoming new theme, FavePersonal, the CrowdFavorite team created an admin interface for post formats that takes advantage of custom fields and replaces the built-in radio button post format selector with tabs across the top of the…