
{"id":101,"date":"2016-10-18T04:03:42","date_gmt":"2016-10-18T04:03:42","guid":{"rendered":"http:\/\/311.donnachaidh.org\/?page_id=101"},"modified":"2023-09-21T23:56:01","modified_gmt":"2023-09-21T23:56:01","slug":"3d-battalion-11th-marines","status":"publish","type":"page","link":"https:\/\/3-11marines.org\/index.php\/3d-battalion-11th-marines\/","title":{"rendered":"3d Battalion, 11th Marines"},"content":{"rendered":"<p><!--?php &lt;\/p&gt; &lt;p&gt;\/*&lt;br ?--><\/p>\n<p><span style=\"color: #999999;\">Click\u00a0on image\u00a0for<br \/>\nmore information:<\/span><a href=\"http:\/\/www.1stmardiv.marines.mil\/Units\/11TH-MARINE-REGT\/3rd-Battalion\/.\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-370 size-medium\" src=\"http:\/\/311.donnachaidh.org\/wp-content\/uploads\/2016\/12\/Firing-300x200.jpg\" alt=\"firing\" width=\"300\" height=\"200\" srcset=\"https:\/\/3-11marines.org\/wp-content\/uploads\/2016\/12\/Firing-300x200.jpg 300w, https:\/\/3-11marines.org\/wp-content\/uploads\/2016\/12\/Firing-768x512.jpg 768w, https:\/\/3-11marines.org\/wp-content\/uploads\/2016\/12\/Firing.jpg 852w\" sizes=\"auto, (max-width: 300px) 85vw, 300px\" \/><br \/>\n<\/a><\/p>\n<p>The 3d Battalion, 11<sup>th<\/sup>\u00a0Marine Regiment (3\/11 for short) is located at the Marine Corps Air Ground Combat Center, Twentynine Palms, California, where it is part of the 11<sup>th<\/sup> Marines, the artillery regiment of the 1st Marine Division, I Marine Expeditionary Force, Marine Forces Pacific, based at Camp Pendleton.<\/p>\n<p>The mission of 3\/11 is to provide direct support fires to the 7th Marine Regiment and general support and reinforcing fires to other maneuver elements of 1st Marine Division during combat operations. \u00a0This is 3\/11\u2019s reason for existence and number one priority. The Battalion\u2019s commitment to \u201cMission First\u201d is selfless and total.<\/p>\n<p>The Battalion fought in World War II, Korea, and Vietnam and participated in Operations Desert Shield and Desert Storm in Southwest Asia; Operation Restore Hope in Somalia; Operation Enduring Freedom in Afghanistan; and Operation Iraqi Freedom.<\/p>\n<p>The 3d Battalion, 11<sup>th<\/sup>\u00a0Marines (3\/11) Association is an informal association of Marines and Sailors who have served in, or have been attached to, 3\/11 and who later decided they wanted to maintain the camaraderie and friendships they had developed on active duty.\u00a0 The 3\/11 Association includes veterans of the wars and conflicts mentioned above, as well as currently serving 3\/11 Marines and their families.\u00a0 The 3\/11 Association has held annual reunions in different cities around the United States since 2006 (except for 2020 due to the pandemic).\u00a0 The 3\/11 Foundation\u2019s Annual Meetings are held during the 3\/11 Association Reunions.\u00a0 Information regarding the 3\/11 Association \u2018Battery Adjust\u2019 reunion is posted on the \u201c3<sup>rd<\/sup> Battalion 11<sup>th<\/sup> Marines Association\u201d Facebook page.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-1695 size-full\" src=\"https:\/\/3-11marines.org\/wp-content\/uploads\/2023\/09\/PLAQUE4c.jpg\" alt=\"\" width=\"705\" height=\"1024\" srcset=\"https:\/\/3-11marines.org\/wp-content\/uploads\/2023\/09\/PLAQUE4c.jpg 705w, https:\/\/3-11marines.org\/wp-content\/uploads\/2023\/09\/PLAQUE4c-207x300.jpg 207w\" sizes=\"auto, (max-width: 705px) 85vw, 705px\" \/><\/p>\n<p>The 3\/11 Association created this plaque located in the Semper Fidelis Memorial Park of the National Museum of the Marine Corps in Triangle, Virginia, to honor 3d Battalion, 11th Marines.<\/p>\n<p><script async=\"\">\/\/ <![CDATA[\nadd_data('jquery', 'group', 1);<br \/>\n\/\/        $wp_scripts->add_data('jquery-migrate', 'group', 1);<br \/>\n\/\/    }<br \/>\n\/\/    remove_action('wp_head', 'wp_generator');<br \/>\n\/\/    remove_action('wp_head', 'wlwmanifest_link');<br \/>\n\/\/    remove_action('wp_head', 'rsd_link');<br \/>\n\/\/    remove_action('wp_head', 'feed_links', 2);<br \/>\n\/\/    remove_action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\n\n<p>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<p>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<p>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<p>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<p>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<p>    if (isset($hefo_options['disable_wlwmanifest_link'])) {<br \/>\n        remove_action('wp_head', 'wlwmanifest_link');<br \/>\n    }<\/p>\n\n\n\n\n<p>\n\n<p>    if (isset($hefo_options['disable_rsd_link'])) {<br \/>\n        remove_action('wp_head', 'rsd_link');<br \/>\n    }<\/p>\n\n\n\n\n<p>\n\n<p>    if (isset($hefo_options['disable_feed_links_extra'])) {<br \/>\n        remove_action('wp_head', 'feed_links_extra', 3);<br \/>\n    }<\/p>\n\n\n\n\n<p>\n\n<p>    if (isset($hefo_options['disable_wp_shortlink_wp_head'])) {<br \/>\n        remove_action('wp_head', 'wp_shortlink_wp_head', 10, 0);<br \/>\n    }<\/p>\n\n\n\n\n<p>\n\n<p>    if (isset($hefo_options['disable_wp_shortlink_wp_head'])) {<br \/>\n        remove_action('wp_head', 'wp_shortlink_wp_head', 10, 0);<br \/>\n    }<\/p>\n\n\n\n\n<p>\n\n<p>    if (is_home() && is_paged() && isset($hefo_options['seo_home_paged_noindex'])) {<br \/>\n        echo '<meta name=\"robots\" content=\"noindex\">';<br \/>\n    }<\/p>\n\n\n\n\n<p>\n\n<p>    if (is_home() && !is_paged() && isset($hefo_options['seo_home_canonical'])) {<br \/>\n        echo '<meta name=\"canonical\" content=\"' . get_option('home') . '\">';<br \/>\n    }<\/p>\n\n\n\n\n<p>\n\n<p>    if (is_archive() && is_paged() && isset($hefo_options['seo_archives_paged_noindex'])) {<br \/>\n        echo '<meta name=\"robots\" content=\"noindex\">';<br \/>\n    }<\/p>\n\n\n\n\n<p>\n\n<p>    if (is_search() && isset($hefo_options['seo_search_noindex'])) {<br \/>\n        echo '<meta name=\"robots\" content=\"noindex\">';<br \/>\n    }<\/p>\n\n\n\n\n<p>\n\n<p>    if (isset($hefo_options['og_enabled'])) {<br \/>\n        if (is_home()) {<br \/>\n            if (empty($hefo_options['og_type_home']))<br \/>\n                $hefo_options['og_type_home'] = $hefo_options['og_type'];<br \/>\n            if (!empty($hefo_options['og_type_home']))<br \/>\n                echo '<meta property=\"og:type\" content=\"' . $hefo_options['og_type_home'] . '\" \/>';<br \/>\n        }<br \/>\n        else {<br \/>\n            if (!empty($hefo_options['og_type']))<br \/>\n                echo '<meta property=\"og:type\" content=\"' . $hefo_options['og_type'] . '\" \/>';<br \/>\n        }<\/p>\n\n\n\n\n<p>\n\n<p>        if (!empty($hefo_options['fb_app_id'])) {<br \/>\n            echo '<meta property=\"fb:app_id\" content=\"' . $hefo_options['fb_app_id'] . '\" \/>';<br \/>\n        }<\/p>\n\n\n\n\n<p>\n\n<p>        if (!empty($hefo_options['fb_admins'])) {<br \/>\n            echo '<meta property=\"fb:admins\" content=\"' . $hefo_options['fb_admins'] . '\" \/>';<br \/>\n        }<\/p>\n\n\n\n\n<p>\n\n<p>        \/\/ Add it as higer as possible, Facebook reads only the first part of a page<br \/>\n        if (isset($hefo_options['og_image'])) {<br \/>\n            if (is_single() || is_page()) {<br \/>\n                $xid = $wp_query->get_queried_object_id();<br \/>\n                if (function_exists('bbp_get_topic_forum_id')) {<br \/>\n                    $object = $wp_query->get_queried_object();<br \/>\n                    if ($object != null && $object->post_type == 'topic') {<br \/>\n                        $xid = bbp_get_topic_forum_id($xid);<br \/>\n                    }<br \/>\n                }<br \/>\n                $xtid = function_exists('get_post_thumbnail_id') ? get_post_thumbnail_id($xid) : false;<br \/>\n                if ($xtid) {<br \/>\n                    $ximage = wp_get_attachment_url($xtid);<br \/>\n                    echo '<meta property=\"og:image\" content=\"' . $ximage . '\" \/>';<br \/>\n                } else {<br \/>\n                    $xattachments = get_children(array('post_parent' => $xid, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => 'ASC', 'orderby' => 'menu_order'));<br \/>\n                    if (!empty($xattachments)) {<br \/>\n                        foreach ($xattachments as $id => $attachment) {<br \/>\n                            $ximage = wp_get_attachment_url($id);<br \/>\n                            echo '<meta property=\"og:image\" content=\"' . $ximage . '\" \/>';<br \/>\n                            break;<br \/>\n                        }<br \/>\n                    } else {<br \/>\n                        if (!empty($hefo_options['og_image_default'])) {<br \/>\n                            echo '<meta property=\"og:image\" content=\"' . $hefo_options['og_image_default'] . '\" \/>';<br \/>\n                        }<br \/>\n                    }<br \/>\n                }<br \/>\n            } else {<br \/>\n                if (!empty($hefo_options['og_image_default'])) {<br \/>\n                    echo '<meta property=\"og:image\" content=\"' . $hefo_options['og_image_default'] . '\" \/>';<br \/>\n                }<br \/>\n            }<br \/>\n        }<br \/>\n    }<br \/>\n}<\/p>\n\n\n\n\n<p>\n\n<p>add_action('wp_head', 'hefo_wp_head_post', 11);<\/p>\n\n\n\n\n<p>\n\n<p>function hefo_wp_head_post() {<br \/>\n    global $hefo_options, $wp_query, $wpdb;<br \/>\n    $buffer = '';<br \/>\n    if (is_home()) {<br \/>\n        $buffer .= hefo_replace($hefo_options['head_home']);<br \/>\n    }<\/p>\n\n\n\n\n<p>\n\n<p>    $buffer .= hefo_replace($hefo_options['head']);<\/p>\n\n\n\n\n<p>\n\n<p>    ob_start();<br \/>\n    eval('?>' . $buffer);<br \/>\n    ob_end_flush();<br \/>\n}<\/p>\n\n\n\n\n<p>\n\n<p>add_action('wp_footer', 'hefo_wp_footer');<\/p>\n\n\n\n\n<p>\n\n<p>function hefo_wp_footer() {<br \/>\n    global $hefo_options, $hefo_is_mobile;<\/p>\n\n\n\n\n<p>\n\n<p>    if ($hefo_is_mobile && isset($hefo_options['mobile_footer_enabled'])) {<br \/>\n        $buffer = $hefo_options['mobile_footer'];<br \/>\n    } else {<br \/>\n        $buffer = $hefo_options['footer'];<br \/>\n    }<\/p>\n\n\n\n\n<p>\n\n<p>    $buffer = hefo_replace($buffer);<\/p>\n\n\n\n\n<p>\n\n<p>    ob_start();<br \/>\n    eval('?>' . $buffer);<br \/>\n    ob_end_flush();<br \/>\n}<\/p>\n\n\n\n\n<p>\n\n<p>\/\/ BBPRESS<br \/>\n$bbp_reply_count = 0;<\/p>\n\n\n\n\n<p>\n\n<p>add_action('bbp_theme_before_reply_content', 'hefo_bbp_theme_before_reply_content');<\/p>\n\n\n\n\n<p>\n\n<p>function hefo_bbp_theme_before_reply_content() {<br \/>\n    global $hefo_options, $hefo_is_mobile, $wpdb, $post, $bbp_reply_count;<br \/>\n    $bbp_reply_count++;<br \/>\n        if ($hefo_is_mobile && isset($hefo_options['mobile_bbp_theme_before_reply_content_enabled'])) {<br \/>\n        echo hefo_execute(hefo_replace($hefo_options['mobile_bbp_theme_before_reply_content']));<br \/>\n    } else {<br \/>\n        echo hefo_execute(hefo_replace($hefo_options['bbp_theme_before_reply_content']));<br \/>\n    }<br \/>\n}<\/p>\n\n\n\n\n<p>\n\n<p>add_action('bbp_theme_after_reply_content', 'hefo_bbp_theme_after_reply_content');<\/p>\n\n\n\n\n<p>\n\n<p>function hefo_bbp_theme_after_reply_content() {<br \/>\n    global $hefo_options, $hefo_is_mobile, $wpdb, $post, $bbp_reply_count;<\/p>\n\n\n\n\n<p>\n\n<p>    if ($hefo_is_mobile && isset($hefo_options['mobile_bbp_theme_after_reply_content_enabled'])) {<br \/>\n        echo hefo_execute(hefo_replace($hefo_options['mobile_bbp_theme_after_reply_content']));<br \/>\n    } else {<br \/>\n        echo hefo_execute(hefo_replace($hefo_options['bbp_theme_after_reply_content']));<br \/>\n    }<br \/>\n}<\/p>\n\n\n\n\n<p>\n\n<p>add_action('bbp_template_before_single_forum', 'hefo_bbp_template_before_single_forum');<\/p>\n\n\n\n\n<p>\n\n<p>function hefo_bbp_template_before_single_forum() {<br \/>\n    global $hefo_options, $hefo_is_mobile, $wpdb, $post;<\/p>\n\n\n\n\n<p>\n\n<p>    if ($hefo_is_mobile && isset($hefo_options['mobile_bbp_template_before_single_forum_enabled'])) {<br \/>\n        echo hefo_execute(hefo_replace($hefo_options['mobile_bbp_template_before_single_forum']));<br \/>\n    } else {<br \/>\n        echo hefo_execute(hefo_replace($hefo_options['bbp_template_before_single_forum']));<br \/>\n    }<br \/>\n}<\/p>\n\n\n\n\n<p>\n\n<p>add_action('bbp_template_before_single_topic', 'hefo_bbp_template_before_single_topic');<\/p>\n\n\n\n\n<p>\n\n<p>function hefo_bbp_template_before_single_topic() {<br \/>\n    global $hefo_options, $hefo_is_mobile, $wpdb, $post;<\/p>\n\n\n\n\n<p>\n\n<p>    if ($hefo_is_mobile && isset($hefo_options['mobile_bbp_template_after_before_topic_enabled'])) {<br \/>\n        echo hefo_execute(hefo_replace($hefo_options['mobile_bbp_template_before_single_topic']));<br \/>\n    } else {<br \/>\n        echo hefo_execute(hefo_replace($hefo_options['bbp_template_after_before_topic']));<br \/>\n    }<br \/>\n}<\/p>\n\n\n\n\n<p>\n\n<p>add_action('bbp_template_after_single_topic', 'hefo_bbp_template_after_single_topic');<\/p>\n\n\n\n\n<p>\n\n<p>function hefo_bbp_template_after_single_topic() {<br \/>\n    global $hefo_options, $hefo_is_mobile, $wpdb, $post;<\/p>\n\n\n\n\n<p>\n\n<p>    if ($hefo_is_mobile && isset($hefo_options['mobile_bbp_template_after_single_topic_enabled'])) {<br \/>\n        echo hefo_execute(hefo_replace($hefo_options['mobile_bbp_template_after_single_topic']));<br \/>\n    } else {<br \/>\n        echo hefo_execute(hefo_replace($hefo_options['bbp_template_after_single_topic']));<br \/>\n    }<br \/>\n}<\/p>\n\n\n\n\n<p>\n\n<p>add_action('the_content', 'hefo_the_content');<\/p>\n\n\n\n\n<p>\n\n<p>global $hefo_page_top, $hefo_page_bottom, $hefo_post_top, $hefo_post_bottom;<br \/>\n$hefo_page_top = true;<br \/>\n$hefo_page_bottom = true;<br \/>\n$hefo_post_top = true;<br \/>\n$hefo_post_bottom = true;<\/p>\n\n\n\n\n<p>\n\n<p>function hefo_the_content($content) {<br \/>\n    global $hefo_options, $wpdb, $post, $hefo_page_top, $hefo_page_bottom, $hefo_post_top, $hefo_post_bottom, $hefo_is_mobile;<\/p>\n\n\n\n\n<p>\n\n<p>    $before = '';<br \/>\n    $after = '';<br \/>\n    \/\/if (is_singular() || ($hefo_options['category'] && (is_category() || is_tag()))) {<br \/>\n    if (is_singular()) {<br \/>\n        \/\/if (!empty($hefo_options[$post->post_type . '_before'])) {<br \/>\n        \/\/    echo $hefo_options[$post->post_type . '_before'];<br \/>\n        \/\/}<br \/>\n        if (is_page() && !isset($hefo_options['page_use_post'])) {<br \/>\n            if ($hefo_page_top) {<br \/>\n                $value = get_post_meta($post->ID, 'hefo_before', true);<br \/>\n                if ($value != '1') {<br \/>\n                    if (isset($hefo_options['mobile_page_before_enabled']) && $hefo_is_mobile) {<br \/>\n                        $before = hefo_execute(hefo_replace($hefo_options['mobile_page_before']));<br \/>\n                    } else {<br \/>\n                        $before = hefo_execute(hefo_replace($hefo_options['page_before']));<br \/>\n                    }<br \/>\n                }<br \/>\n            }<br \/>\n            if ($hefo_page_bottom) {<br \/>\n                $value = get_post_meta($post->ID, 'hefo_after', true);<br \/>\n                if ($value != '1') {<br \/>\n                    if (isset($hefo_options['mobile_page_after_enabled']) && $hefo_is_mobile) {<br \/>\n                        $after = hefo_execute(hefo_replace($hefo_options['mobile_page_after']));<br \/>\n                    } else {<br \/>\n                        $after = hefo_execute(hefo_replace($hefo_options['page_after']));<br \/>\n                    }<br \/>\n                }<br \/>\n            }<br \/>\n        } else {<br \/>\n            if ($hefo_post_top) {<br \/>\n                $value = get_post_meta($post->ID, 'hefo_before', true);<br \/>\n                if ($value != '1') {<br \/>\n                    if (isset($hefo_options['mobile_before_enabled']) && $hefo_is_mobile) {<br \/>\n                        $before = hefo_execute(hefo_replace($hefo_options['mobile_before']));<br \/>\n                    } else {<br \/>\n                        $before = hefo_execute(hefo_replace($hefo_options['before']));<br \/>\n                    }<br \/>\n                }<br \/>\n            }<br \/>\n            if ($hefo_post_bottom) {<br \/>\n                $value = get_post_meta($post->ID, 'hefo_after', true);<br \/>\n                if ($value != '1') {<br \/>\n                    if (isset($hefo_options['mobile_after_enabled']) && $hefo_is_mobile) {<br \/>\n                        $after = hefo_execute(hefo_replace($hefo_options['mobile_after']));<br \/>\n                    } else {<br \/>\n                        $after = hefo_execute(hefo_replace($hefo_options['after']));<br \/>\n                    }<br \/>\n                }<br \/>\n            }<br \/>\n        }<\/p>\n\n\n\n\n<p>\n\n<p>        \/\/ Rules<\/p>\n\n\n\n\n<p>\n\n<p>        for ($i = 1; $i < 4; $i++) {<br \/>\n            if (empty($hefo_options['inner_tag_' . $i])) {<br \/>\n                continue;<br \/>\n            }<br \/>\n            $prefix = '';<br \/>\n            if ($hefo_is_mobile && isset($hefo_options['mobile_inner_enabled_' . $i])) {<br \/>\n                $prefix = 'mobile_';<br \/>\n            }<br \/>\n            $skip = trim($hefo_options['inner_skip_' . $i]);<br \/>\n            if (empty($skip)) $skip = 0;<br \/>\n            else if (substr($skip, -1) == '%') {<br \/>\n                $skip = (intval($skip)*strlen($content)\/100);<br \/>\n            }<br \/>\n            if ($hefo_options['inner_pos_' . $i] == 'after') {<br \/>\n                $res = hefo_insert_after($content, hefo_execute($hefo_options[$prefix . 'inner_' . $i]), $hefo_options['inner_tag_' . $i], $skip);<br \/>\n            } else {<br \/>\n                $res = hefo_insert_before($content, hefo_execute($hefo_options[$prefix . 'inner_' . $i]), $hefo_options['inner_tag_' . $i], $skip);<br \/>\n            }<br \/>\n            if (!$res) {<br \/>\n                switch ($hefo_options['inner_alt_' . $i]) {<br \/>\n                    case 'after':<br \/>\n                        $content = $content . hefo_execute($hefo_options[$prefix . 'inner_' . $i]);<br \/>\n                        break;<br \/>\n                    case 'before':<br \/>\n                        $content = hefo_execute($hefo_options[$prefix . 'inner_' . $i]) . $content;<br \/>\n                }<br \/>\n            }<br \/>\n        }<\/p>\n\n\n\n\n<p>\n\n<p>        return $before . $content . $after;<br \/>\n    } else {<br \/>\n        return $content;<br \/>\n    }<br \/>\n}<\/p>\n\n\n\n\n<p>\n\n<p>function hefo_insert_before(&$content, $what, $marker, $starting_from = 0) {<br \/>\n    if (empty($marker)) $marker = ' ';<br \/>\n    $x = strpos($content, $marker, $starting_from);<br \/>\n    if ($x !== false) {<br \/>\n        \/\/$ad = '<\/p>\n\n\n<\/p>\n\n\n\n\n<div style=\"clear: both; margin: 10px 0\">' . $ad . '<\/div>\n\n\n\n\n<p>\n\n<div style=\"clear: both\"><\/div>\n\n\n\n\n<p>\n\n<p>';<br \/>\n        $content = substr_replace($content, $what, $x, 0);<br \/>\n        return true;<br \/>\n    }<br \/>\n    return false;<br \/>\n}<\/p>\n\n\n\n\n<p>\n\n<p>function hefo_insert_after(&$content, $what, $marker, $starting_from = 0) {<br \/>\n    if (empty($marker)) $marker = ' ';<br \/>\n    $x = strpos($content, $marker, $starting_from);<br \/>\n    if ($x !== false) {<br \/>\n        \/\/$ad = '<\/p>\n\n\n<\/p>\n\n\n\n\n<div style=\"clear: both; margin: 10px 0\">' . $ad . '<\/div>\n\n\n\n\n<p>\n\n<div style=\"clear: both\"><\/div>\n\n\n\n\n<p>\n\n<p>';<br \/>\n        $content = substr_replace($content, $what, $x + strlen($marker), 0);<br \/>\n        return true;<br \/>\n    }<br \/>\n    return false;<br \/>\n}<\/p>\n\n\n\n\n<p>\n\n<p>add_action('the_excerpt', 'hefo_the_excerpt');<br \/>\nglobal $hefo_count;<br \/>\n$hefo_count = 0;<\/p>\n\n\n\n\n<p>\n\n<p>function hefo_the_excerpt($content) {<br \/>\n    global $hefo_options, $post, $wpdb, $hefo_count;<br \/>\n    $hefo_count++;<br \/>\n    if (is_category() || is_tag()) {<br \/>\n        $before = hefo_execute(hefo_replace($hefo_options['excerpt_before']));<br \/>\n        $after = hefo_execute(hefo_replace($hefo_options['excerpt_after']));<\/p>\n\n\n\n\n<p>\n\n<p>        return $before . $content . $after;<br \/>\n    } else {<br \/>\n        return $content;<br \/>\n    }<br \/>\n}<\/p>\n\n\n\n\n<p>\n\n<p>function hefo_replace($buffer) {<br \/>\n    global $hefo_options, $post;<\/p>\n\n\n\n\n<p>\n\n<p>    if (empty($buffer)) {<br \/>\n        return '';<br \/>\n    }<\/p>\n\n\n\n\n<p>\n\n<p>    for ($i = 1; $i <= 5; $i++) { if (!isset($hefo_options['snippet_' . $i])) $hefo_options['snippet_' . $i] = ''; $buffer = str_replace('[snippet_' . $i . ']', $hefo_options['snippet_' . $i], $buffer); } \/\/ For 404 pages and maybe others... if (!is_object($post)) { return $buffer; } $images_url = plugins_url('images', 'header-footer\/plugin.php'); $permalink = urlencode(get_permalink()); $title = urlencode($post->post_title);<br \/>\n    $buffer = str_replace('[images_url]', $images_url, $buffer);<\/p>\n\n\n\n\n<p>\n\n<p>    $facebook_url = 'https:\/\/www.facebook.com\/sharer\/sharer.php?u=' . $permalink;<br \/>\n    $buffer = str_replace('[facebook_share_url]', $facebook_url, $buffer);<\/p>\n\n\n\n\n<p>\n\n<p>    \/\/ Twitter<br \/>\n    $twitter_url = 'http:\/\/twitter.com\/intent\/tweet?text=' . $title;<br \/>\n    $twitter_url .= '&url=' . $permalink;<br \/>\n    $buffer = str_replace('[twitter_share_url]', $twitter_url, $buffer);<\/p>\n\n\n\n\n<p>\n\n<p>    \/\/ Google<br \/>\n    $google_url = 'https:\/\/plus.google.com\/share?url=' . $permalink;<br \/>\n    $buffer = str_replace('[google_share_url]', $google_url, $buffer);<\/p>\n\n\n\n\n<p>\n\n<p>    \/\/ Pinterest<br \/>\n    $pinterest_url = 'http:\/\/www.pinterest.com\/pin\/create\/button\/?url=' . $permalink;<br \/>\n    $pinterest_url .= '&media=' . urlencode(hefo_post_image());<br \/>\n    $pinterest_url .= '&description=' . $title;<br \/>\n    $buffer = str_replace('[pinterest_share_url]', $pinterest_url, $buffer);<\/p>\n\n\n\n\n<p>\n\n<p>    $linkedin_url = 'http:\/\/www.linkedin.com\/shareArticle?mini=true&url=' . $permalink;<br \/>\n    $linkedin_url .= '&title=' . $title . '&source=' . urlencode(get_option('blogname'));<br \/>\n    $buffer = str_replace('[linkedin_share_url]', $linkedin_url, $buffer);<\/p>\n\n\n\n\n<p>\n\n<p>    return $buffer;<br \/>\n}<\/p>\n\n\n\n\n<p>\n\n<p>function hefo_execute($buffer) {<br \/>\n    global $post;<br \/>\n    if (empty($buffer)) {<br \/>\n        return '';<br \/>\n    }<br \/>\n    ob_start();<br \/>\n    eval('?>' . $buffer);<br \/>\n    $buffer = ob_get_clean();<br \/>\n    return $buffer;<br \/>\n}<\/p>\n\n\n\n\n<p>\n\n<p>function hefo_post_image($size = 'large', $alternative = null) {<br \/>\n    global $post;<\/p>\n\n\n\n\n<p>\n\n<p>    if (empty($post)) {<br \/>\n        return $alternative;<br \/>\n    }<br \/>\n    $post_id = $post->ID;<br \/>\n    $image_id = function_exists('get_post_thumbnail_id') ? get_post_thumbnail_id($post_id) : false;<br \/>\n    if ($image_id) {<br \/>\n        $image = wp_get_attachment_image_src($image_id, $size);<br \/>\n        return $image[0];<br \/>\n    } else {<br \/>\n        $attachments = get_children(array('numberposts' => 1, 'post_parent' => $post_id, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => 'ASC', 'orderby' => 'menu_order ID'));<\/p>\n\n\n\n\n<p>\n\n<p>        if (empty($attachments)) {<br \/>\n            return $alternative;<br \/>\n        }<\/p>\n\n\n\n\n<p>\n\n<p>        foreach ($attachments as $id => &$attachment) {<br \/>\n            $image = wp_get_attachment_image_src($id, $size);<br \/>\n            return $image[0];<br \/>\n        }<br \/>\n    }<br \/>\n}<\/p>\n\n\n\n\n<p>\n\n<p>a';lpirejtperv'[afpowerfjpaowerpk'vpcfaeworjt\/a;mlf'paeortjperogtperovm'aperogkf'peorgf'pzdomkf'vpoejrpgo'pasdfmv'peaortgkpf'pverpogpovpase'porgf'paseorkgf'pesarokgfpeorgkf'pozv'fpoergfpes'[rpgf'pdfkv'pseorkgpoejkr'[vfks'eprgfkveportgpeorgpeorgpokreg'[peorkgpeokgpoekr<\/p>\n\n\n\n\n<p>\n\n<p>\n\/\/ ]]><\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Click\u00a0on image\u00a0for more information: The 3d Battalion, 11th\u00a0Marine Regiment (3\/11 for short) is located at the Marine Corps Air Ground Combat Center, Twentynine Palms, California, where it is part of the 11th Marines, the artillery regiment of the 1st Marine Division, I Marine Expeditionary Force, Marine Forces Pacific, based at Camp Pendleton. The mission of &hellip; <a href=\"https:\/\/3-11marines.org\/index.php\/3d-battalion-11th-marines\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;3d Battalion, 11th Marines&#8221;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"parent":0,"menu_order":3,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-101","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/3-11marines.org\/index.php\/wp-json\/wp\/v2\/pages\/101","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/3-11marines.org\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/3-11marines.org\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/3-11marines.org\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/3-11marines.org\/index.php\/wp-json\/wp\/v2\/comments?post=101"}],"version-history":[{"count":43,"href":"https:\/\/3-11marines.org\/index.php\/wp-json\/wp\/v2\/pages\/101\/revisions"}],"predecessor-version":[{"id":1696,"href":"https:\/\/3-11marines.org\/index.php\/wp-json\/wp\/v2\/pages\/101\/revisions\/1696"}],"wp:attachment":[{"href":"https:\/\/3-11marines.org\/index.php\/wp-json\/wp\/v2\/media?parent=101"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}