Advertisement
fauzanjeg

Add content after body

Apr 19th, 2021
153
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.70 KB | None | 0 0
  1. /* Add content after body */
  2. function add_content_after_body() {
  3.     ?>
  4.     <style>
  5.         .wrapper_facebook_promote {
  6.             background-color: #4267B2; /* Color of Facebook */
  7.             position:fixed; /* Make Position fixed || Sticky */
  8.             z-index:99; /* Make content to the front */
  9.             top: 0; /* Make to the top */
  10.             width: 100%;
  11.         }
  12.        
  13.         .wrapper_facebook_promote h1{
  14.             color: white;
  15.         }
  16.     </style>
  17.     <div class="wrapper_facebook_promote" align="center">      
  18.         <h1>Promote Facebook Groups</h1>
  19.         <a href="facebook.com">
  20.             <image src="https://www.technitiate.com/wp-content/uploads/2017/04/Facebook-banner.png" width="100%">
  21.         </a>
  22.     </div>
  23.     <?php
  24. }
  25. add_action( 'jnews_after_body', 'add_content_after_body' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement