Advertisement
fauzanjeg

Add Meta after Article

Feb 19th, 2021 (edited)
160
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.62 KB | None | 0 0
  1. /* Add Meta after Article */
  2. function meta_after_article() {
  3.     ?>              
  4.     <div class="entry-header">
  5.         <div class="jeg_meta_container">
  6.             <div class="meta_right">
  7.                 <?php do_action( 'jnews_render_before_meta_right', get_the_ID() ); ?>
  8.             </div>
  9.         </div>
  10.     </div>
  11.     <?php
  12. }
  13.  
  14. /* Choose one to activate, this will change the place where you type the meta */
  15. add_filter( 'jnews_source_via_single_post', 'meta_after_article', 1 ); /* select one || before of Tag */
  16. // add_filter( 'jnews_share_bottom_bar', 'meta_after_article', 1 ); /* select one || after of Tag */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement