Home › Forums › Support › Page Headers on User Profile/Author Pages This topic has 19 replies, 6 voices, and was last updated 5 years, 9 months ago by Leo. Viewing 5 posts - 16 through 20 (of 20 total) ← 1 2 Author Posts April 3, 2018 at 5:16 pm #540377 LeoStaff Customer Support No problem! Super awesome filter π July 19, 2018 at 9:22 am #627629 stlayman Leo, do you have a function snippet that will work for the date archive pages too? (for showing a particular page header) July 19, 2018 at 10:50 am #627728 LeoStaff Customer Support That depends on if you are referring to all the date archive or just month etc, this should help: https://codex.wordpress.org/Conditional_Tags#A_Date_Page July 19, 2018 at 12:13 pm #627787 stlayman Yes! This worked for ALL date archives, thank you so much π add_filter( ‘generate_page_header_id’, function( $id ) { if ( is_date() ) { return 546; // ID of the Page Header to use. } return $id; } ); July 19, 2018 at 1:54 pm #627891 LeoStaff Customer Support No problem π Author Posts Viewing 5 posts - 16 through 20 (of 20 total) ← 1 2 You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In