Plugins

Creating Staff Pages with Special Post Types

by Adam McLane on December 2, 2012 · 0 comments

Plugins referenced:

Hello Darth Plugin

by Adam McLane on August 18, 2012 · 1 comment

I’ve always wanted to try making a WordPress plugin. And while I’ve had a bunch of ideas for very complex plugins I thought it’d be fun to start off with something ridiculously fun & simple.

So here it is, friends. Our first plugin, totally free!

Hello Darth

Download & Install from the WordPress repository

Suggestions & Support

Description

This little plugin is in homage to my geek friends who love to hate Lord Vader. When activated you will randomly see a quote from Darth Vader’s IMDB page in the upper right of your admin screen on every page.

How Does it Work?

  • After you install and activate the plugin it’s super simple.
  • All it does is add a Darth Vader quote to the top of your admin area, it’s like a subversive joke celebrating your dominance over the internet.

Screenshots

Future Development

Other than adding a bunch of additional Darth quotes, I’m not sure how I could improve it. But I’m open to ideas!

HT to Matt Mullenberg for the original code.

Problem: Thesis, by default, disables the WordPress default featured image feature.

Solution: Buy Thesistut’s WordPress Featured Image plugin ($15)

Trust me, I spent 10 hours trying to create workarounds for that $15 plugin. You want it, you need it, you want some more of it.

Questions about this tutorial? Leave me a comment.

Blog-in-Blog Plugin Customization Tips

by Adam McLane on August 24, 2011 · 13 comments


Blog-in-Blog is a great little plugin. It allows you  to slice and dice your blog and put certain posts on different areas (pages) of the site depending on the category.

So you can have all of your regular blog posts go onto a blog page but redirect all of your podcast posts to a special podcast page. As a bonus you can even exclude that category from the RSS feed so that your podcast doesn’t go out to your regular RSS feed unless you want it to.

As a developer I know I could do the same thing by coding the template in PHP, but a plugin is so much faster for me, and I don’t have to worry about WordPress later changing the way the code might work.

Now here’s what I learned– Making it work, and making it look good are two different things. While it would make sense if the plugin natively called the CSS for the activated theme, it doesn’t because nearly every theme has a special way to call for the themes CSS.

So here’s how you make it pretty:

  1. Navigate to the Blog-in-Blog settings.
  2. Click on the Template Tab
  3. Scroll down and click “Add new user template” and name it “podcast” (Or whatever you’re going to use it for)
  4. Copy/paste the code into the HTML box from below, customize the CSS however might match your site best. (Note: I’ve removed the avatar)
  5. Save changes.
  6. Navigate to the page you’d like to drop the code. Then add in the shortcode, adding the template tag: [blog_in_blog template='podcast' category_slug='podcast' num=10] Save your changes on that page.
  7. Presto! Done.

Need help or want me to help you customize this more? No problemo. Just leave a comment!

First 5 WordPress Plugins

by Adam McLane on June 24, 2011 · 3 comments

Getting started with WordPress can be intimidating. With thousands of templates to chose from and thousands of plugins to consider it’s hard to know what to do.

Allow me make it easier.

Here are the first 5 WordPress plugins you need for your site

  1. Askimet – There’s a reason this plugin comes pre-packaged with WordPress. If you set it up properly it will almost completely eliminate trackback and comment spam. Tip: In the settings, select “Auto-delete spam submitted on posts more than a month old.
  2. Subscribe to comments – This simple plugin allows your commenters to indicate if they’d like a follow-up email when other people comment.
  3. Contact Form 7Simple contact pages are just a few clicks away. This plugin allows you to create simple fields for your form, then delivers a short code to place on a page or sidebar.
  4. WordPress Mobile Edition – By default, your theme might not look great on small screens. This plugin solves that problem and helps mobile visitors read your content better.
  5. Jetpack - This is Automattics’s latest toy du jour. It’s really a plugin with several pre-loaded plugins. The most important of which is a stats page for your dashboard. But there are promises and rumors that other, even more useful, plugins are being created for Jetpack. I suspect that within the next year Jetpack will be folded into the WordPress core.

What are your favorite plugins?

Comment wars are heating up for WordPress users

by Adam McLane on June 15, 2011 · 0 comments

Intense Debate. Disqus. Facebook. Or WordPress’s native commenting?

That’s the quandary bloggers are facing. How do I handle my comments properly while still taking advantage of all the viral possibilities out there?

There are upsides and downsides to each option. And with WordPress apparently adding better social sharing into an upcoming release of the new WordPress.com commenting into the WordPress.org self-hosted blog community via Jetpack, bloggers will have to wrestle through the positives and negatives of each option.

My advice?

I wouldn’t recommend any comment feature that doesn’t add people’s comments on your blog into your mySQL database. While I’m happy to install Disqus or Intense Debate for a client, my recommendation is always that your safest bet is to use the native WordPress commenting platform because that’s the only way to guarantee that your comments stay with your content.

Which do you use? Why?

Need help with commenting plugins? Create a topic in the Help Center and I’ll be happy to get you going.

Three WordPress Plugins Installed Recently

by Adam McLane on January 23, 2011 · 0 comments

I’m always on the lookout for new plugins to make WordPress better. Here are three that I’ve installed in the last 7 days that are worth looking at. Two are for client sites and one was for my own personal blog.

  1. GD Star Rating - Over at adammclane.com I’m always fiddling with how to engage my audience. The Facebook like, share, and Twitter buttons have been a huge hit. But that wasn’t helping new readers discover the best stuff. (I have six years of content!) So I installed this plug-in yesterday to try to increase interactivity a little. There’s a bunch of settings (most of which I turned off) that make this a very powerful rating tool. At this point I’m only using three functions. First, the thumbs up/thumbs down on posts. Second, a widget which highlights the current posts with the most thumbs up. Third, a dashboard app which shows me what is currently getting rated. Pretty cool little plugin. (Installation/implementation, 1 hour. Skill level, semi-pro)
  2. 1-click Retreet/like/shareMark Oestreicher’s blog is trafficked primarily by folks in the youth ministry world. And that tribe is pretty active on Twitter/Facebook. All you do for this plug-in is install it and tell it in the settings where you want it to appear. (There are more advanced options, but that requires a login, we opted not to do that.) The cool thing with this plug-in is that people already know what to do with it. So he didn’t have to instruct his audience with what to do, they just did it. (Installation/implementation, 15 minutes. Skill level, novice)
  3. Fundraising Thermometer - Over on Andrew Marin’s blog, fundraising is a big deal. To keep his supporters up-to-date on his fundraising efforts we added a thermometer illustration last year. In truth, while it was cool, it was a pain in the neck (and expensive) to keep updating. Installing this plugin now gives Andy the control to update the thermometer without having to contact me at all! While it wasn’t perfect right out of the box, I was able to get it working pretty quickly. (Installation/implementation, 45 minutes. Skill level, semi-pro)

All of these plugins are free. I’d love your feedback if you find them to be a solution to something you’re working on.