Advertisement
Guest User

[Edited] New Function

a guest
May 15th, 2013
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.61 KB | None | 0 0
  1. /** Customize the post info function */
  2. add_filter( ‘genesis_post_info’, ‘post_info_filter’ );
  3. function post_info_filter($post_info) {
  4. if (!is_page()) {
  5. $post_info =
  6. <div class=\’date-info\’>.
  7. __(‘Gepost op’, ‘executive’ ) .
  8. [post_date format="d-m-Y" before="<span class=\'date\'>" after="</span>"].
  9. __(‘by’, ‘executive’ ) .[post_author before='<a href="http://www.mydomain.com/aboutme" rel="nofollow">' after='</a>'] [post_edit]
  10. </div>
  11. <div class=”comments”>
  12. [post_comments zero="Reageer" one="1 Reactie" more="% Reacties"]
  13. </div>;
  14. return $post_info;
  15. }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement