Archive for the ‘WordPress Hacks’ Category
More than five years ago, I was bit by the Autoblog bug. I don’t build them anymore, but I still build WordPress blogs in large numbers. One of my pet peeves when I was working with 100+ different blogs was that if I wanted to interlink them, or have the exact same links on the sidebar of each blog, I would have to add these links manually to each and every blog every time I built a new blog. For example, if I have 98 blogs, and I want every one of them to have a link to blog #99 that I just created, I would have to add that link to all 98 blogs manually. That is very time-consuming, so I knew there had to be a better way.
Of course, PHP can do just about anything if you know how to tell it to. I thought it would be awesome if I could have a shared links box on the sidebar of each WordPress blog, and have a form online that I could enter in the name and URL to each new blog as I built them, and then have PHP add that link to all 98 blogs instantly. Thankfully, I was able to set this up exactly how I needed it. This is what I am going to show you today, and you can use it however you see fit. One thing I want to remind you of is that even though I am using the shared content box for links, it technically can be used for anything, your imagination is the limit. Let’s get started.
WordPress, being the most popular blogging / content management platform in existence, has a huge community of developers and designers worldwide who are constantly brainstorming new and improved ways of making this legendary system more extensible through the use of plugins. Thanks to these plugins (9,486 Plugins according to WordPress.org), the average user can add style and functionality to their blog or website
as easy as the click of a couple of buttons. No coding required.
However, adding tons of plugins can significantly slow the loading time and overall performance of your blog. Therefore, its really important to use those that are absolutely necessary and delete the ones you’re not using. So, for those of you who may want to go the extra mile to guarantee 100% loading efficiency and dabble in a little code, here are some unique customizations that can replace some plugins that you may have installed. Read More
In my recent surge of interest in WordPress plugins I’ve stumbled on a lot of interesting things. Today instead of plugins, it’s a list of 10 WordPress hacks, from themeflash.com, to add some pretty cool features without needing a plugin.
They’re a little trickier than plugins to implement but can be well worth the final effect.
Hacks in the list include:
Create TinyURLs On The Fly
List Upcoming Posts
Create A Maintenance Page For Your WordPress Blog
Display Related Posts Without A Plug-In
Resize Images On The Fly
And 5 more…
They include detailed explanations of how to add the hacks that’s easy enough for anyone to follow, and none of them take more than a minute or so to setup (most will likely take just a few seconds).
Smashing Magazine has put up a list of different things that you can do to extend your WordPress blog, and how it functions through custom fields. I’ve heard that this is going to get easier to use in future versions of WordPress, but for now, this should inspire some great additions to your blog.
In this article, weâ€™ve compiled a list of 10 useful things that you can do with custom fields in WordPress. Among them are setting expiration time for posts, defining how blog posts are displayed on the front page, displaying your mood or music, embedding custom CSS styles, disabling search engine indexing for individual posts, inserting a â€œDigg thisâ€ button only when you need it and, of course, displaying thumbnails next to your posts
I can’t really think of anything that’d require expiring blog posts, but the others are very helpful. Check out the whole article on Smashing Magazine, and let me know what you think was most helpful.
There is one file that is barely understood by most WordPress users, and that is .htaccess. Most of us understand that it is what controls the pretty permalinks that most blogs take advantage of, but there are other amazing things that .htaccess can do, and if you dig deep enough, you can change how your WordPress blog behaves.
Cats Who Code has a great list of ten .htaccess hacks that will do interesting things. From redirecting your RSS feed to Feedburner, to banning spammers from your blog, .htaccess can be a powerful ally in making your blog the envy of the blogosphere.
Take some time and look at these .htaccess edits, and don’t stop there, as many people have been writing amazing edits for a long time now for all sorts of sites that could easily be applied to your WordPress blog.
I love to see WordPress extended, and manipulated in weird ways. My favourite post thus far has been Raj Dash’s 48 Unique Ways To Use WordPress, but DesignM.ag has released their own list of non-traditional uses for WordPress.
They cover some of the things we’ve seen before like the contact manager, but also show some cool things like using WordPress as a Membership directory.
If you are interested in extending WordPress in weird and wonderful ways, these two posts will probably give you some ideas of how far WordPress can be pushed, mostly through the use of plugins and themes.
Shortcodes are a nice way of doing complex things within a post, without having to push PHP code through ExecPHP or one of those other plugins. Many plugins already make use of short codes allowing you to easily insert information into your posts.
Smashing Magazine has done a great job of explaining WordPress Shortcodes, how you can take advantage of them, and even write your own.
Introduced in WordPress 2.5, shortcodes are powerful but still yet quite unknown WordPress functions. Imagine you could just type â€œadsenseâ€ to display an AdSense ad or â€œpost_countâ€ to instantly find out the number of posts on your blog.
WordPress shortcodes can do this and more and will definitely make your blogging life easier. In this article, weâ€™ll show you how to create and use shortcodes, as well as provide killer ready-to-use WordPress shortcodes that will enhance your blogging experience.
Of course you can go too overboard with these sorts of things, so I recommend limiting your shortcodes to less than five items, but it can be a great way to speed up what could be otherwise monotonous work when blogging.
Updating your WordPress version to 2.6 may break your podcast.
If you’re using Podpress (the popular free podcasting add-on for WordPress) PLEASE hold-off on upgrading to WordPress 2.6 (Tyner).Â Read this article first, it may save your Podcast from the dreaded “off-air” state.
Today, I received a GoogleAlert saying that Tyner and Podpress isn’t fully compatible.Â Once you successfully install WordPress 2.6, ALL your Podpress based podcasts will not work.Â
Here’s a typical message from the PodPress Forum:
I installed WordPress 2.6 (the full version, not the Release Candidate) today but am having problems as soon as I activate Podpress. When I try to edit an existing post from the front page or from inside the Admin Panel, I get the error message â€œInternet Explorer canâ€™t open the page [address of page] Operation cancelled.â€ but I see it only with IE. With FF it works like a charm. I thought it was out since longer already..thatâ€™s what you get for upgrading without informing yourself in advance.
Already last time I swore that I will never install a WordPress or Podpress update in the 1st month they are released..always have problems with upgrades.
and a similar thread from the WordPress Forum:
I’ve just uploaded my latest podcast and the pod press will not display it nor attach it to the post. Everything I uploaded yesterday is there and playing but after the update it’s not working.
At this time there isn’t an available patchÂ from Podpress, but here’s a nifty tip from a user who may have stumbled upon a solution (WARNING:Â PLEASE note that this solution was not tested by anyone from bloggingpro.com,Â observe caution and care, we will not be held liable for any damage to your data, your person,Â or business.)
FROM JERD (a forum user/member of the WordPress Forum)
After spending hours digging through the code and looking at the database, I discovered that this is being caused by the new revisions in 2.6. To disable them, just add:
define (‘WP_POST_REVISIONS’, 0);
to your wp-config.php and the problem disappears.
Podpress patch will be released in 10 days, according to this pageÂ (Dan KuykendallÂ of MightySeek.com).
Over on Noupe there is a great post that goes over some of the millions of ways you can effect major changes on your WordPress theme. Some are difficult, others are very easy, and almost all of them are powerful to bloggers looking to add customizations to their blogs.
It includes links to dozens of tutorials from all the great sites on the web that cover WordPress, and can help you answer some of those questions you’ve been interested in finding out more about. Covering things like the loop, conditional tags, post excerpts, and dozens of other things, the guide is a great starting point to those looking to dive deep into theme customization in WordPress.
This is the first article in the four-part series, “Powerful guide to master Your WordPress”. Throughout this article, weâ€™ll be focus on many WordPress Theme hacks, ideas, tips and useful tutorials you need to have ready in hand when developing WordPress websites.
Check it out on Noupe.
Ozh has put up a tutorial on how everyone can change the colour schemes of the WordPress 2.5 administration panel. It seems to be relatively simple, if you understand how to make a plugin.
WordPress 2.5 introduces a neat option: per user Admin Color Scheme. This means that each user can select a stylesheet they like best for the whole admin area. Now onto the fun stuff: adding a per-user selectable custom stylesheet for your blog.
The new function behind this feature is wp_admin_css_color(),
I have to admit, I wish a build-a-colour-scheme tool was built right into WordPress 2.5. Here is hoping that someone comes up with a good plugin solution for it, but until then, this is a great tutorial on how to change the colours to your own preferences.