Advertisement
arie_cristianD

below author box content edited

Oct 17th, 2024
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.07 KB | None | 0 0
  1.  
  2. add_action( 'jnews_single_post_after_content', 'blow_author_box', 31 );
  3.  
  4. function blow_author_box() {
  5.     $content =
  6.     '<div class="below-author-box" style="border: 2px solid #006400; background-color: #f0fff0; color: #228b22; padding: 10px; border-radius: 0; font-family: Arial, sans-serif;">
  7.    <p><strong>DigitalBarry</strong> is all about honest content—no ads, affiliate marketing, or clickbait. We focus on delivering quality journalism that respects your time and intelligence. If you’d like to support our efforts in keeping the site ad-free, we’d be grateful. Thank you for your trust and support!</p>
  8.    <form action="https://www.paypal.com/donate" method="post" target="_top" style="text-align: center;">
  9.        <input type="hidden" name="hosted_button_id" value="H4J59MVPWUBBA">
  10.        <button type="submit" style="background-color: #4CAF50; border: none; color: white; padding: 15px 32px; text-align: center; text-decoration: none; display: inline-block; font-size: 16px; margin: 4px 2px; cursor: pointer;">Support us</button>
  11.    </form>
  12. </div>';
  13.     echo $content;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement