If you’re ever in need of getting options, whether it’s those on the WordPress Dashboard or ones you’ve created by yourself, WordPress has a very easy, very simple built in function. get_option() gets any option in the database. Say you need to grab the posts to display per page (in the Settings>Reading admin page), you simply put:
<?php echo get_option('posts_per_page'); ?>
.
Handy tip for the day!