If you’ve used WordPress for long, you’ve probably noticed a contextual help tab in the upper-right hand corner of the dashboard. It looks something like this: While working on the newest version of one of our plugins, I was looking for a place to display help information. After trying a few different solutions, I […]
Easily add text to post title based on category
Have you ever wanted to add a little specification to your post titles if they were in a certain category. For instance this post. I have it filed under “Quick Tip”. What if I wanted to add the text “Quick Tip:” in front of every post in that category. It’s pretty simple. [php] add_filter( ‘the_title’, […]
How to modify the main WordPress query the right way
Have you ever wanted to tweak what content WordPress served up on a particular portion of your website? Perhaps on your home page instead of the default 10 posts you only want to show 3 or maybe you want to exclude a particular category. When I started in WordPress, and still even now, the way […]
Extending and Depending On Other Plugins
I’ve been sharing a lot lately about adding menu items and widgets to your dashboard. In many of these cases I’m tapping into specific functions from other plugins. So what happens to my website if I stop using that plugin or deactivate it for some reason? It crashes or throws all kinds of ugly errors, […]
Add a Custom Widget to your WordPress Dashboard
Yesterday I shared how to add some content to the “Right Now” WordPress dashboard widget. On occasion though you may have content that you would like to display on your dashboard that doesn’t quite fit into the “Right Now” widget. In that case you might want to create a custom dashboard widget. Here is all […]