title: How to add a banner or a text message in every post with PHP, using WordPress Plugin?
body: <p>that what i want to do is to add a banner or  text message before post and a second banner or a  text message after post, how i can add this with php in WordPress?</p>
  
  <p>Example: </p>
  
  <pre><code>&lt;?php
  /**
  Plugin Name: 
  Plugin URI:  
  Description:  
  Version:  
  Author:  
  Author URI:  
  Text Domain: 
  Domain Path:
  */
  if (!defined('ABSPATH')) {
      exit;
  }
  
  add_action("the_content", function($content) { return "&lt;p&gt;Bla bla bla&lt;/p&gt;".$content."&lt;p&gt;Lorem ispum&lt;/p&gt;"; });
  
  ?&gt;
  </code></pre>