Created by cutiko 2015-10-01 View revision File functions.php Added Side-by-side diff More Ignore whitespace Hide word diff +<?php +$home = get_page_by_title( 'Home' ); +update_option( 'page_on_front', $home->ID ); +update_option( 'show_on_front', 'page' ); + +$blog = get_page_by_title( 'Blog' ); +update_option( 'page_for_posts', $blog->ID ); +?>