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.
Related:  How to Display List of Updated Posts in WordPress

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.
1function wpb_after_post_content($content){
2if (is_single()) { 
3    $content .= 'Your signature or ad code goes here';
4}
5    return $content;
6}
7add_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
You may also like...

We are a WordPress plugin developer company that focuses on useful WordPress plugin creation and empowering people to earn passive incomes from their blogs. We build unique and groundbreaking plugins that will revolutionize your blog!

Click to comment

Leave a Reply

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

More in solution

    Sign up for our newsletter and get a free affiliate e-book!


    About Me:

    Szabi Kisded

    Hi, my name is Szabi and I'm documenting my journey selling plugins on CodeCanyon. I will show you every step of it: learning to code, plugin ideas, WordPress stuff and more. Read more…

    Mega Plugin Bundle:

    CodeCanyon Portfolio:

    Learn to Code Plugins:

    Latest Promotions:

    Recommended Theme:

    Start Your Own Blog:

    Recommended VPN:

    Translate Your Blog:

    AdSense Alternative:

    Best Article Spinner:

    Popular Posts:

    Latest Posts:

    To Top