You’ve spent hours crafting that new post. Days of editing and tweaking have passed. It’s your masterpiece, your magnum opus! You should get some credit for your efforts, right?! Get the credit you deserve by adding an Author Box to your site.
Adding an Author Box to your blog posts is a great way introduce yourself to your readers. Luckily, we can do it in a way that we don’t have to do a lot of extra work every time we add a new post to our site.
I build a lot of client sites using the Genesis Framework and adding an author box is fairly straight forward and well documented. However, when I redesigned this site and chose to use the Beaver Builder theme, it wasn’t immediately clear how to go about adding an author box to my posts.
I Googled a bit and found a solution on Beaver Builder’s archived support forums. A little helping of copy pasta revealed the solution to be inadequate, but I was able to tweak it a bit and get things going.
I’m sure there is still some suspect code here since I’m just an internet educated code monkey, but it’s quick and dirty and it worked for what I needed.
The biggest problem with this function is that copying and pasting a chunk of code into your theme’s functions.php isn’t very user friendly and seems to be in complete opposition to what Beaver Builder is trying to achieve.
There are also plenty of author box plugins available in the WordPress plugin repository, but soo many of them add a lot of bloat to your website for such a simple design element. I wanted something that would meet the following criteria:
- Be Simple – Use the Customizer to configure the Author Box since Beaver Builder theme users already use it for theme settings.
- Be Lightweight – Only utilize the data available in a default WordPress user profile.
- Be Flexible – Allow users to determine what data is presented and where to place the Author Box.
The Final Result
I think I was able to achieve my goals. I’m using the plugin on this site and it seems to work great everywhere except in the Customizer live preview. I’ll keep working on it and hash out the bugs as best I can.
Fee free to download the plugin over on GitHub.
My primary development tool is a narcoleptic 2011 Macbook Pro. It works hard, but those old bones just don’t function like they used to. Recently, after completing a fresh install of the OS, I was transferring my favorites from a backup and it occurred to me that I have a rather large collection of WordPress…Read More
Yesterday, I had to just walk away from my desk at least three times. I was struggling with an issue on a client site, befuddled by a membership solution for our startup and stressing about a proposal I submitted last week. I kept digging and tweaking and poking and cutting and pasting and reading and…Read More
There’s this saying about not being able to shine a turd. Well, it’s true. I would love to reflect and highlight the positive, but if nothing else, this year has reminded me that sometimes you just have to accept things as they happen, adapt and move forward. It’s difficult looking back to identify many positive events from…Read More
Update (01/20/2015): I forgot to include one of my favorites Hayaku. I’ve also quit using Bracket Highlighter (found it a bit annoying) and Color Picker (it’s hard to beat Frank). I’ve been on the Sublime Text bandwagon for a while, but have put off upgrading to version 3 until this week. In the process of…Read More
So, WordCamp DFW just wrapped up! It was my first WordCamp and I’ve gotta say it was pretty dang inspiring. I’ve been to a few other design conferences and while the production may have been bit more extravagant, they had nothing on the genuine enthusiasm for community that I felt at WordCamp. Cory Miller‘s keynote,…Read More