Home › Forums › Pro Support › Date above title in specific list This topic has 3 replies, 2 voices, and was last updated 2 years, 7 months ago by Tom. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts February 15, 2021 at 11:05 pm #26849 WilliamParticipant Hi, I figure out how to move the date above title using this add_action( 'after_setup_theme','date_above_title' ); function date_above_title() { remove_action( 'wpsp_after_title','wpsp_add_post_meta_after_title' ); add_action( 'wpsp_before_header','wpsp_add_post_meta_after_title' ); } but is there a way to only have date above title to show on specific wp show posts list and not all. February 17, 2021 at 11:22 am #26936 TomKeymaster Unfortunately there is no way to tell within the actual hooks. You can target specific pages for the code to execute on, though: add_action( 'wp', function() { if ( is_page( 'My Page' ) ) { remove_action( 'wpsp_after_title','wpsp_add_post_meta_after_title' ); add_action( 'wpsp_before_header','wpsp_add_post_meta_after_title' ); } } ); February 17, 2021 at 5:48 pm #26962 WilliamParticipant Thanks for the tip. Is it possible to have it target specific list on a page if I have multiple lists? February 19, 2021 at 12:21 pm #27058 TomKeymaster Unfortunately not at this time – we don’t have access to the list data when using add_action() and remove_action(). 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