public static function get_options()
 {
     self::$options = get_option('postlinks');
     if (self::$options) {
         if (isset(self::$options['ids'])) {
             self::$query['include'] = self::$options['ids'];
         }
         if (isset(self::$options['orderby'])) {
             self::$query['orderby'] = self::$options['orderby'];
         }
         if (isset(self::$options['order'])) {
             self::$query['order'] = self::$options['order'];
         }
         if (isset(self::$options['count'])) {
             self::$query['numberposts'] = self::$options['count'];
         }
     }
 }
 public static function display_page()
 {
     $footer_posts = footerPostlinks::get_posts();
     self::view('main', compact('footer_posts'));
 }