Popular Posts
All posts ordered by popularity
Set Firmware Password on macOS
Own a Mac? Prevent thieves from wiping your hard drive by setting a firmware password. Especially useful if running any sort of anti-theft or tracking app. Setting a firmware password for macOS is straightforward, requiring only three steps.
Some Useful WordPress Shortcodes
Here is a nice collection of useful WordPress shortcodes, including cool functionality like displaying author lists, automatic links, subscribe links, current date, and more!
Reset password via SQL
Quick tip o the day! Here’s how to reset your password using a simple SQL query.
WordPress s2member PayPal Fix
For those using s2Member and getting no response after clicking the “Continue” button on the PayPal.com site, here is a quick possible solution.
PHP Check if Safe Mode is On
Quick snippet to check if PHPs “safe mode” is enabled on the current machine. This technique uses the ini_get() function checking the safe_mode option. Simple and self-explanatory:
Notes on @media queries
Just a couple of notes for working with CSS @media queries: two ways to write media queries and how to query portrait vs. landscape orientation.
JavaScript & jQuery: Add Style to Fragment Identifier
It’s easy to style a <div></div> by targeting its ID. But what if you only want to add style when a specific fragment identifier is targeted via the URL? So for example, your page at /about/ has a table with all the data. When visitors arrive directly at /about/, no extra styles are added. But […]
jQuery Add Another Image Link
This code snippet is taken from my plugin, User Submitted Posts. It displays a link that users may click to add another file-upload input field.
How to change your theme’s appearance
If you want to change certain aspects of your theme, you should get familar with its different files.
Two interesting WordPress infographics
Here are a couple of interesting infographics for WordPress. Interesting to get a larger view of the WP universe :)
Auto-Height for Ajax-Loaded Content
Here is a jQuery function for automatically setting the height of Ajax-loaded content.
WordPress Change Default Number of Displayed Posts
By default, WordPress displays the same number of posts for the home page (when it is set to display posts) and all types of archive views. To change the default number of posts displayed for any specific view, you can add this simple function to your theme’s functions.php file.