Add your signature or ads after post content in WordPress content.349

Add your signature or ads after post content in WordPress content.
Author: InfoBeep - September 10, 2017 | subject to copyright

There are 2 different methods to add signature or ads after post in WordPress contents. In this article, we are going to learn both of the methods

Method 1:  Display Ads after post content using plugin

Follow the steps below:

  1. Install and activate Insert Post Ads plugin.
  2. After activated, goto Post Adverts > Setting to configure plugin settings as shown in the figure below:
    Add your signature or ads after post content in WordPress content.
  3. Here you can select, where you want to post your ads (posts or pages). After that click on save settings.
  4. Now, gotoPost Adverts >Add New to create your signature or advertisement. And fill the description as shown in the picture below:
  5. Now select ‘After Content’ from the drop-down menu and enter 1 in the field next to it. After that click on ‘publish’ button. Demo picture is shown below:

 

Method 2: Manually Add signature ads after post content

In this method, you need to add code to your WordPress file. Now you may follow the steps:

  1. Add the code below to your theme’s functions.php file or site-specific plugin.

<?php

// Adding signature or ad after post content
function ib_after_post_content($content) {
if (is_single()) {
$content .= 'Your signature or ad code goes here';
}
return $content;
}

add_filter("the_content", "ib_after_post_content");
?>

  1. Replace the value of $content with your ad code, image or signature you want to display

You should be now able to your signature ad in action.