How to Add Signature or Ads after Post Content in WordPress

Do you want to add a signature or ad after your blog post content in WordPress?

By default, WordPress does not come with an easy way to display advertisements or a personal signature after the content of each post.

In this article, we will show you how to add a signature or ads after post content in WordPress.

How to Add Signature or Ads after Post Content in WordPress

Why Add Signature or Ads After Post Content in WordPress?

When you first create a WordPress website, there is no way to automatically add content to the end of each post. That makes it hard to add a signature or display advertisements after your blog posts. Luckily, there are a few ways you can add this feature to WordPress.

When adding a signature, you can use an image of your actual signature, your name formatted in a handwriting font, or simply a friendly closing greeting with your name.

If you have multiple authors, then you won’t want the same signature shown on each post. Instead, you should follow our guide on how to add an author info box in WordPress posts.

Also, this tutorial lets you display ads after every post on your website. To display ads only on some of your posts, see our guide on how to display ad blocks in specific posts in WordPress.

With that being said, let’s take a look at how to add a signature or ads after post content in WordPress. We’ll cover two methods, and the first is recommended for most users:

Method 1: Adding Signature or Ads After Post Content With a Plugin

Method 2: Adding Signature or Ads After Post Content Using Code

Method 1: Adding Signature or Ads After Post Content With a Plugin

The first thing you need to do is install and activate the Ad Inserter – Ad Manager & AdSense Ads plugin. For more details, see our step by step guide on how to install a WordPress plugin.

This plugin supports Google Adsense, Amazon Ads, and other ad platforms. However, it is not limited to displaying ads. You can use it to add any code, images, or text to your posts.

Upon activation, you need to visit the Settings » Ad Inserter page to configure plugin settings. At the top of the page, you will see tabs where you can add multiple ads or signatures to your site. For this tutorial, we’ll stay on tab 1.

Enter Your Ad Code or Signature in the Plugin's Text Editor

Below the tabs, you’ll find a text editor where you can enter the content you wish to display. If you are displaying an ad, then you should paste the code you received from your advertising service, such as Google Adsense.

If you are adding a signature, then you can simply type a text signature, such as “Thanks for reading, Johnny”. Alternatively, you could enter the code to include an image of your actual signature, such as .

Next, you need to scroll down below the text editor and select where you want to display the ad or signature. The ‘Posts’ box is checked by default, and there are also options for static pages, the homepage, search pages, category pages, and tag archive pages.

Select Where to Display the Ad or Signature

Next, you can choose the insertion point from the drop down menu. To display the ad or signature after every post, you should select ‘After content’.

You can also choose which paragraph to display the ad after. For example, if you choose ‘After paragraph’ and enter ‘2’ in the next field, then the ad will be displayed a little after the fold.

When you’ve finished, make sure you click the ‘Save Settings 1 – 16’ button. This will store the settings for the ads in the first 16 tabs.

Now you can visit your website and view a post to see the ad or signature. Here is how it looks on our demo website.

Preview of Signature Added After Blog Post Content

Method 2: Adding Signature or Ads After Post Content Using Code

This method requires you to add code to your WordPress files. If you haven’t done this before, then please take a look at our beginner’s guide on pasting code snippets in WordPress.

First, you need to add this code to your theme’s functions.php file or a site-specific plugin.

// Add signature or ad after post content  function wpb_after_post_content($content){if (is_single()) {      $content .= ‘Your signature or ad code goes here’;}    return $content;}add_filter( “the_content”, “wpb_after_post_content” );

Don’t forget to replace ‘Your signature or ad code goes here’ on line 5 with the ad code, image, or signature you want to display. Make sure you place it between single quote marks.

You can now visit your website to see your signature or ad in action.

We hope this tutorial helped you learn how to add a signature or ad after the post content in WordPress. You may also want to learn how to create a free business email address, or check out our list of must have plugins to grow your site.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.