Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
function travel_log_rearrange_home_page_sections(){
remove_action( 'travel_log_front_page_content', 'travel_log_front_page_post_filter_wrap', 20 );
remove_action( 'travel_log_front_page_content', 'travel_log_front_page_call_to_action_wrap', 30 );
remove_action( 'travel_log_front_page_content', 'travel_log_front_page_latest_posts_wrap', 60 );
remove_action( 'travel_log_front_page_content', 'travel_log_front_page_testimonials_wrap', 50 );
add_action( 'travel_log_front_page_content', 'travel_log_front_page_latest_posts_wrap', 30 );
add_action( 'travel_log_front_page_content', 'travel_log_front_page_post_filter_wrap', 50 );
add_action( 'travel_log_front_page_content', 'travel_log_front_page_call_to_action_wrap', 60);
add_action( 'travel_log_front_page_content', 'travel_log_front_page_testimonials_wrap', 80 );
}
add_action('init','travel_log_rearrange_home_page_sections');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.