get_contents( get_template_directory() . '/changelog.txt' ); $shapely_changelog_lines = explode( PHP_EOL, $shapely_changelog ); foreach ( $shapely_changelog_lines as $shapely_changelog_line ) { if ( substr( $shapely_changelog_line, 0, 3 ) === "###" ) { echo '

' . esc_html( substr( $shapely_changelog_line, 3 ) ) . '

'; } else { echo esc_html( $shapely_changelog_line ), '
'; } } echo '
'; ?>