Family Encyclopedia >> Electronics

How to add signature or banners after publishing content in WordPress

Do you want to add a signature or announcement after your blog publishes content in WordPress? By default, WordPress does not come with an easy way to display signatures or banners after posting content. In this article, we will show you how to easily add signature ads after publishing content in WordPress.

How to add signature or banners after publishing content in WordPress

Video Walkthrough

Subscribe to WPBeginner

If you don't like the video or need more instructions, continue reading.

Method 1:Show ads after posting content using the plugin

The first thing you need to do is install and activate the Insert Post Ads plugin. For more details, check out our step-by-step guide on how to install a WordPress plugin.

After activation you need to visit Post Ads »Settings page to configure plugin settings.

How to add signature or banners after publishing content in WordPress

On the settings page, you need to select where you want to enable ad serving. You can enable it for posts, pages and custom post types.

Don't forget to click the Save Settings button to save your changes.

Next, you have to go to Publish Ads »Add New to create your signature or advertisement.

How to add signature or banners after publishing content in WordPress

Simply provide a title for this particular firm or after posting an ad. In the box below, paste your ad code, signature, or any HTML or text you'd like to display.

Next, you need to select the 'After content' option next to 'Show ad'. You must also enter 1 in the field next to it.

Don't forget to click the Publish button to make your ad available on your website.

That's it, your post ad or signature is now live on your website. You can visit a post or page on your site to see it in action.

How to add signature or banners after publishing content in WordPress

Method 2:Manually add signature ads after posting content

This method requires you to add code to your WordPress files. If you haven't done this before, then check out our beginner's guide on how to add code in WordPress.

You must first add this code to your theme's functions.php file or a site-specific plugin.

 // Agregar firma o anuncio después de la función de contenido de publicación wpb_after_post_content ($ content) if (is_single ()) $ content. = 'Su firma o código de anuncio va aquí'; devolver $ contenido; add_filter ("the_content", "wpb_after_post_content"); 

Don't forget to replace the $content value with your ad, image, or signature code that you want to display.

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

We hope this article helped you add signatures and banners after publishing content in WordPress. You can also check out our guide on the best plugins and ad management solutions for WordPress.

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