Created
May 31, 2018 04:44
-
-
Save Steeru/d03ef998072bdd6ab06f00508c2e1fb6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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