Tutorial by Examples

Code <h1><?php echo get_option( 'blogname' ); ?></h1> Output Name of the blog in H1 style
Code <p><?php echo esc_html( sprintf( __( 'Character set: %s', 'textdomain' ), get_option( 'blog_charset' ) ) ); ?></p> Output Character set: UTF-8
Code <?php echo get_option( 'something_bla_bla_bla' ); ?> Output false Code <?php echo get_option( 'something_bla_bla_bla', 'Oh no!' ); ?> Output Oh no!

Page 1 of 1