?php /* * Goodlayers Function Registered File * --------------------------------------------------------------------- * @version 1.0 * @author Goodlayers * @link http://goodlayers.com * @copyright Copyright (c) Goodlayers * --------------------------------------------------------------------- * This file use to register the wordpress function to the framework, * and also use filter to hook some necessary events. * --------------------------------------------------------------------- */ // Include the shortcode support for the text widget add_filter('widget_text', 'do_shortcode'); // Add support to post and comment RSS feed links to head add_theme_support( 'automatic-feed-links' ); // Set the max content width if ( ! isset( $content_width ) ){ $content_width = 960; } // enable featured image if(function_exists('add_theme_support')){ add_theme_support('post-thumbnails'); } // enable navigation menu if(function_exists('add_theme_support')){ add_theme_support('menus'); register_nav_menus(array('main_menu' =>'Main Navigation Menu')); } // Enable and register custom sidebar if (function_exists('register_sidebar')){ // default sidebar array $sidebar_attr = array( 'name' => '', 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

' ); $sidebar_id = 0; $gdl_sidebar = array("Footer 1", "Footer 2", "Footer 3", "Footer 4"); foreach( $gdl_sidebar as $sidebar_name ){ $sidebar_attr['name'] = $sidebar_name; //$sidebar_attr['id'] = sanitize_title('gdl-' . $sidebar_name); $sidebar_attr['id'] = 'custom-sidebar' . $sidebar_id++ ; register_sidebar($sidebar_attr); } $gdl_sidebar = array("Site Map 1", "Site Map 2", "Site Map 3"); $sidebar_attr['before_title'] = '

'; $sidebar_attr['after_title'] = '

'; foreach( $gdl_sidebar as $sidebar_name ){ $sidebar_attr['name'] = $sidebar_name; //$sidebar_attr['id'] = sanitize_title($sidebar_name); $sidebar_attr['id'] = 'custom-sidebar' . $sidebar_id++ ; register_sidebar($sidebar_attr); } $gdl_sidebar = get_option( THEME_SHORT_NAME.'_create_sidebar' ); if(!empty($gdl_sidebar)){ $xml = new DOMDocument(); $xml->loadXML($gdl_sidebar); foreach( $xml->documentElement->childNodes as $sidebar_name ){ $sidebar_attr['name'] = $sidebar_name->nodeValue; //$sidebar_attr['id'] = sanitize_title($sidebar_name->nodeValue); $sidebar_attr['id'] = 'custom-sidebar' . $sidebar_id++ ; register_sidebar($sidebar_attr); } } } // Flush rewrite rules for custom post types. add_action( 'load-themes.php', 'gdl_flush_rewrite_rules' ); function gdl_flush_rewrite_rules() { global $pagenow, $wp_rewrite; if ( 'themes.php' == $pagenow && isset( $_GET['activated'] ) ){ $wp_rewrite->flush_rules(); } } // add filter to hook when user press "insert into post" to include the attachment id add_filter('media_send_to_editor', 'add_para_media_to_editor', 20, 2); function add_para_media_to_editor($html, $id){ if(strpos($html, 'href')){ $pos = strpos($html, ' [wpml_translate lang=en]LANG EN[/wpml_translate] add_shortcode('wpml_translate', 'webtreats_lang_test'); function webtreats_lang_test( $atts, $content = null ) { extract(shortcode_atts(array( 'lang' => '' ), $atts)); $lang_active = ICL_LANGUAGE_CODE; if($lang == $lang_active){ return $content; } } // Custom Post type Feed add_filter('request', 'myfeed_request'); function myfeed_request($qv) { if (isset($qv['feed']) && !isset($qv['post_type'])) $qv['post_type'] = array('post', 'portfolio'); return $qv; } //Get custom post type shown in archive /* function include_custom_post_types( $query ) { global $wp_query; if ( is_category() || is_tag() || is_date() ) { $query->set( 'post_type' , 'portfolio' ); } return $query; } add_filter( 'pre_get_posts' , 'include_custom_post_types' ); */ ?> MSGC Mississippi Gulf Coast Specials - Golf Packages, etc.
Golf Package Reservations: (800) 673-3764

MISSISSIPPI “GOLF COAST” GETAWAY
4 Days Golf! DON’T MISS THIS SPRING GOLF TRIP!

Available MARCH 1 to MAY 31, 2016
SUNDAY to TUESDAY ARRIVAL.

3 NIGHTS 4 DAYS OF GOLF

MINIMUM 4 GOLFERS AT THIS GREAT PRICE!

This quick getaway golf trip is WHAT YOU ARE LOOKING FOR!  Packages start at $452 ($113 per day!) double occupancy.*

Lodging: Clarion Hotel Gulfport Airport 3 nights (Double Occupancy)

Golf: 4 rounds – Courses included in package price:

  • Diamondhead Country Club (Cardinal or Pine),
  • Hickory Hills Country Club,
  • Sunkist Country Club and
  • Windance Golf Club

BOOK THIS PACKAGE TODAY!

Click Here to Reserve this Package
or Request a Customized Golf Package Proposal

If you prefer – Call Toll Free 888-465-3382

HAVE A LARGE GROUP? CALL FOR GROUP LEADER DISCOUNTS!

*Price is per person based double occupancy. Any Mississippi Golf Association golf course may be substituted, surcharges may apply. Price is subject to change. Holidays and special events are excluded from this special.