Closed carolinan closed 3 years ago
For https://github.com/WordPress/theme-review-action/issues/36
Tests to see if the frontpage displays the blog correctly.
In the test theme, I changed the frontpage to a static page by adding the following to functions.php:
$sample = get_page_by_title( 'Sample Page' ); update_option( 'page_on_front', $sample->ID ); update_option( 'show_on_front', 'page' );
I have never written tests so any feedback you can give me will help in the learning process.
I think you nailed it! Good job.
For https://github.com/WordPress/theme-review-action/issues/36
Tests to see if the frontpage displays the blog correctly.
In the test theme, I changed the frontpage to a static page by adding the following to functions.php:
I have never written tests so any feedback you can give me will help in the learning process.