Connect with us

Adding Signature or Ads after Content in WordPress Post

solution

Adding Signature or Ads after Content in WordPress Post

WordPress does not display signature or ads after content in Post by default. If you want to add signature or Ad after your post content in WordPress, then you need Guidance. Here, we have provided the step by step guidance for you to add signature or ads after post content. Read the complete article and learn how to add signature or advertisement after WordPress post content.

How to Add Signature or Advertisement after your WordPress Site or Blog Post Content?

There are 2 different ways to add Signature or Ads after Post Content in WordPress. So, Follow those methods and add Signature or Advertisements after Post content in WordPress Blog or website.

Method 1: Show Advertisements After Post Content Using WordPress Plugin

  • Login to your WordPress admin area.
  • Click on Plugins option.
  • Again, click on the Add New Button.
  • Enter “Insert Post Ads” in plugin search field.
  • Now, the Insert Post Ads WordPress Plugin appears on the screen.
  • Next, click on the install button from that WordPress Plugin.
  • After Insert Post Ads Plugin installation, click on the activate button.
  • Now, Insert Post Ads WordPress Plugin is installed and activated on your site.
  • Next, click on the Post Adverts option.
  • Again, click on the Settings option.
  • The settings page will appear on the screen to configure Insert Post Ads plugin.
  • Now, you can select where you want to enable WordPress post ads. You can enable Signature or Ads for posts, WordPress pages, and custom post types.
  • Next, Click on the Save changes button to store your changes.
  • After that, Navigate to Post Adverts » Add New for creating your advertisement or signature.
  • Give a title for this particular Ad or signature.
  • In the box below, paste your signature, ad code, or any HTML or text you want to show.
  • Next, you have to select the option “After content” next to “Display the advert”.
  • Enter 1 in the text field next to it.
  • Click on the Publish button to show your ad on your WordPress website. Now check your WordPress website, the signature or ads will appear after post content.

Method 2: Manually add signature or ads after post content in WordPress Easily

  • Login to your WordPress admin area.
  • Click on the Appearance option.
  • Next, click on the Editor option.
  • Now, search for the function.php file.
  • Click on the function.php file.
  • Now, you have to add the given code.
1 function wpb_after_post_content($content){
2 if (is_single()) { 
3     $content .= 'Your signature or ad code goes here';
4 }
5     return $content;
6 }
7 add_filter( "the_content", "custom_content_after_post" );
  • Make sure to change to replace the $content value with your advertisement code, image, or signature that you wanted to display on the post.
  • Next, click on update file button.
  • Now, visit your WordPress website to see your advertisements or signature after post content.
Conclusion

We hope this article helped you to Add Signature or Ads after Post Content in WordPress. You can also check our WordPress Guide to know how to Add Google AdSense to your WordPress site.

Continue Reading
Click to comment

Leave a Reply

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

More in solution

About Me:

Szabi Kisded

Hey there, I'm Szabi. At 30 years old, I quit my IT job and started my own business and became a full time WordPress plugin developer, blogger and stay-at-home dad. Here I'm documenting my journey earning an online (semi)passive income. Read more

Sign up for my newsletter and get the YouTube Caption Scraper WordPress plugin for free
(worth 29$)!

All My Plugins In A Bundle:

My AutoBlogging Plugins:

My Online Courses:

A Theme I Recommend:

Featured Posts:

To Top