Guest User

Untitled

a guest
Oct 21st, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. <?php
  2. //functions.php line 230-ish
  3. // Customize the post info function, or post byline
  4.  
  5. add_filter('genesis_post_info', 'post_info_filter');
  6.  
  7. function post_info_filter($post_info) {
  8. $post_info = '[post_date] by [post_author_posts_link] &nbsp; [post_edit] <div class="post-info-right">[post_comments] | [print_link]</div>';
  9. if ( is_single() && in_category('2') ) {
  10. /*
  11. $post_info .= '<div class='zl-recipe-link'>
  12. <a class='custom-butn-link' href='javascript:void(0);' onmouseup='getZRecipe(this, "leitesculinaria", ""); return false;' title='Add this recipe to your ZipList, where you can store all of your favorite web recipes in one place and easily add ingredients to your shopping list.' />
  13. </div>';
  14. */
  15. }
  16. return $post_info;
  17. //global $post;
  18. // $foo = $post->comment_count;
  19. // return $foo;
  20. }
Add Comment
Please, Sign In to add comment