Home › Forums › Support › Author and date of publication on page This topic has 3 replies, 2 voices, and was last updated 4 years, 8 months ago by Tom. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts August 27, 2019 at 4:41 am #994436 Michal Hello, is there any way, how to show author and date of publication on page (not post)? Thanks August 27, 2019 at 8:38 am #994723 TomLead Developer Lead Developer Hi there, Give this a shot: add_filter( 'generate_entry_meta_post_types', function( $types ) { $types[] = 'page'; return $types; } ); add_action( 'wp', function() { if ( is_page() ) { add_action( 'generate_after_entry_header', 'generate_post_meta' ); } } ); Let me know π August 27, 2019 at 9:19 am #994763 Michal Thanks, it works π August 27, 2019 at 4:45 pm #995030 TomLead Developer Lead Developer You’re welcome π Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In