• Skip to main content
  • Skip to primary sidebar
  • Skip to footer

nSiteful Web Builders

Building a Better Web - One Site at a Time.

  • Home
  • About
    • Testimonials
    • Resources
    • Partner With Me
    • Frequently Asked Questions
  • Web Sites
  • Online Marketing
  • WordPress Support
    • Customized WordPress Training
    • 60-for-60 Sessions
  • Web Applications
  • Blog
    • At-A-Glance
    • Blog Articles Grouped by Category
    • Case Studies
    • General
    • Portfolio
    • Reviews
    • Snippets
    • Techniques
    • Projects
  • Contact
    • Purchase Retainer Consulting Hours
    • About Retainer Consulting Hours
    • Book a Meeting with Jeff
    • Tell Me About Your Web Project
    • nSiteful Newsletter Archives
    • nSiteful Rewards
screen capture of About Us blurb

By Jeff - 5/15/2014
Cats: Techniques · Tags: php, WordPress

techniques

How to add an About Us blurb to every WordPress blog post

Last updated July 9th, 2015 at 06:56 pm

screen capture of About Us blurbMany blogs display “About The Author” information below each blog post. In WordPress, many of the recent default themes (twentyten, twentytwelve, and twentythirteen) innately support the display of an author’s name, avatar, and bio — if the author has filled in his or her bio in the dashboard, that is. Even if themes don’t innately support the display of this information, it’s easy to modify the appropriate theme template with template tags (e.g., the_author_meta) to display the information.

But what about displaying an “About Us” blurb below each single blog post? An About Us blurb could contain information about the Web site or the organization behind it, as opposed to information about the author of the post, which, as explained above, is handled elsewhere.

In this article I’ll show you how you can add an About Us blurb that appears below each single blog post.

A function and a filter

We’ll add this “About Us” information by creating a function and calling a filter.

We’ll write the code inside a php file located in the mu-plugins (must-use plugins) folder, directly under the wp-content folder. Note: the mu-plugins folder does not exist by default. You must create it. (Read this page in the WordPress Codex for more information about must-use plugins and the mu-plugins folder.)

Alternatively, you could place this code in the functions.php file of the active theme. However, since “About Us” information is not strictly theme-related, a better practice is to make the code a must-use plugin, in the event a different theme is ever activated. Markup in your theme’s stylesheet file can determine how this content will be displayed.

The code in question uses the the_content() filter.

In this sample, I’m displaying the actual code used (at this writing, anyway) for this blog.

function after_single_blurb($content) {
	if ( is_single() ) {
		$content .= '<div class="about-us">' . "\n";
		$content .= '<h2>About this Web site</h2>' . "\n";
		$content .= '<p>The nSiteful Tech Blog (the official blog of <a target="_blank" href="http://nsiteful.com/">nSiteful Web Builders, Inc.</a> since January of 2013) is where I (Jeff Cohan) and (occasionally) associates will be posting articles of potential interest to like-minded techies, nSiteful clients who are playing active roles in the maintenance of their own Web sites and blogs, and pretty much anyone interested in how Web strategies and tools can help them reach their goals.</p>';
		$content .= "</div><!-- /.about-us -->\n";
	}
	return $content;
}
add_filter( 'the_content', 'after_single_blurb');

Let’s examine the code for the About Us blurb.

I named the function after_single_blurb(), a unique custom function name that doesn’t match any native WordPress function or any other custom function previously named and declared. It has a single parameter, $content, which is the WordPress variable that contains the contents of the post.

Line #2 uses the conditional tag is_single, because I want the blurb to appear only on single-post articles, not on archive pages where the redundancy would be obnoxious.

The next four lines simply concatenate (using the .= php operator) custom content (and appropriate HTML tags) to the content that passed into the function using the $content variable.

On line #8, we return the new, modified content (in the form of the $content variable).

Finally, we call the add_filter function, whose two arguments are (a) the the_content function and (b) after_single_blurb, the custom function that generates the “About Us” content. This way, every time the the_content function is called in a single post, our custom function will be triggered, thus adding the new content.

Get creative with your About Us blurbs.

I hope this article helps someone. Maybe it’s even gotten some wheels turning…

WordPress’ many conditional tags (such as is_single) offer lots of cool customization opportunities.

For example, suppose you want to display a generic “About Us” blurb for all posts by default, but you want to display a special “About Us” blurb, telling readers about how great your online store is, for posts in the “Products” category. Just modify the above function by adding code that uses the is_category() tag with the appropriate argument. (The is_tag() conditional tag will work the same way.)

Or maybe you want different “About Us” blurbs for each category. Your approach would be similar to the above, except you’d probably want to use the php switch control structure.

Of course, you’re not limited to WordPress’ conditional tags when it comes to customizing your custom after-post blurb. With the right dose of knowledge of php, WordPress, and CSS, you can make magic happen.

But I digress.

Let me know what you think of this little technique, and don’t be shy about asking questions or offering suggestions about how to do things differently or better.

Thanks for listening.

Like what you see? Share with others and join my mailing list. No long-term commitment, unsubscribe any time.

Related Posts

  1. Automatic “Visit Web Site” Links on WordPress Portfolio Posts
  2. Customizing WordPress Using Vendor-Built Child Themes
  3. Making Sense of WordPress Post Formats
  4. Display WordPress and WooCommerce Tags as Lists
  5. How To Add Custom Contextual Help Content To The WordPress Dashboard

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

mailchimp signup

Subscribe to get notified when new articles are published. Unsubscribe any time. No spam. I promise. Check out my newsletter archives.

social

Twitter Facebook LinkedIn

Recent Articles

  • Post-Specific CSS for WordPress October 5, 2026
  • You built an online course, but they haven’t come. September 16, 2026
  • Custom MemberPress Pricing Pages December 19, 2025
  • CSS Data Attribute Override December 11, 2025
  • MemberPress Rules Using Custom Taxonomies and Custom Roles December 10, 2025

Filter By Category/Tag

Categories

  • Case Studies (8)
  • For Staff (1)
  • General (73)
  • Portfolio (7)
  • Reviews (14)
  • Snippets (24)
  • Techniques (52)

Popular Tags

Advanced Custom Fields Blogging Child Themes Content Marketing CSS Customer Service Custom Fields Custom Post Types Diagnostics Domain Names Facebook FooGallery Genesis Hosting HTML Images iPhone Libra Live Chat Marketing Media MemberPress MemberPress Courses Membership Sites Mobile-Friendly MySQL Photo Gallery php Pinterest Plugins Post Formats Pricing Project Management SEBA SEO Seth Godin Shortcodes Social Networking Surveys Taxonomies Twitter Video Web design Web forms WordPress

Footer

Background

Web Sites | WordPress Support | Web Applications.

Formally trained in liberal arts and education (I have a B.A. in Government from Harvard and studied Secondary Education at Rutgers Graduate School), I have honed my skills in the communication arts and sciences as a teacher, trainer, instructional designer, writer, photographer, calligrapher, helpdesk manager, database programmer, and multimedia developer.

(I've also been a group counselor, waiter, bartender, bicycle messenger boy, computer salesman, carpenter's helper, financial analyst, and school board president.)

Tech

Systems since 1983.
Web sites since 1994.
PHP since 2001.
WordPress since 2007.

Contact

Book Meeting
770-772-5134
Email Jeff
Send Money
All Ways

Copyright 2026, nSiteful Web Builders, Inc.

Cookies Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
View preferences
  • {title}
  • {title}
  • {title}
https://iframe.mediadelivery.net/embed/392008/42d18bc1-2adc-4741-b733-053d08d09c32
https://vz-000c5976-3ab.b-cdn.net/42d18bc1-2adc-4741-b733-053d08d09c32/play_720p.mp4

Receive occasional emails from Jeff