Classes/Page/Part/MetatagPart.php
protected function generateGeoPosMetaTags()
    {
        // Geo-Position
        if (!empty($this->tsSetupSeo['geoPositionLatitude']) && !empty($this->tsSetupSeo['geoPositionLongitude'])) {
            $this->metaTagList['geo.icmb']     = array(
                'tag'        => 'meta',
                'attributes' => array(
                    'name'    => 'ICBM',
                    'content' => $this->tsSetupSeo['geoPositionLatitude'] . ', '
                        . $this->tsSetupSeo['geoPositionLongitude'],
                ),
            );
            $this->metaTagList['geo.position'] = array(
                'tag'        => 'meta',
                'attributes' => array(
                    'name'    => 'geo.position',
                    'content' => $this->tsSetupSeo['geoPositionLatitude'] . ';'
                        . $this->tsSetupSeo['geoPositionLongitude'],
                ),
            );
        }

        // Geo-Region
        if (!empty($this->tsSetupSeo['geoRegion'])) {
            $this->metaTagList['geo.region'] = array(
                'tag'        => 'meta',
                'attributes' => array(
                    'name'    => 'geo.region',
                    'content' => $this->tsSetupSeo['geoRegion'],
                ),
            );
        }

        // Geo Placename
        if (!empty($this->tsSetupSeo['geoPlacename'])) {
            $this->metaTagList['geo.placename'] = array(
                'tag'        => 'meta',
                'attributes' => array(
                    'name'    => 'geo.placename',
                    'content' => $this->tsSetupSeo['geoPlacename'],
                ),
            );
        }
    }
protected function generateGeoPosMetaTags()
    {
        // Geo-Position
        if (!empty($this->tsSetupSeo['geoPositionLatitude']) && !empty($this->tsSetupSeo['geoPositionLongitude'])) {
            $this->metaTagList['geo.icmb']     = array(
                'tag'        => 'meta',
                'attributes' => array(
                    'name'    => 'ICBM',
                    'content' => $this->tsSetupSeo['geoPositionLatitude'] . ', '
                        . $this->tsSetupSeo['geoPositionLongitude'],
                ),
            );
            $this->metaTagList['geo.position'] = array(
                'tag'        => 'meta',
                'attributes' => array(
                    'name'    => 'geo.position',
                    'content' => $this->tsSetupSeo['geoPositionLatitude'] . ';'
                        . $this->tsSetupSeo['geoPositionLongitude'],
                ),
            );
        }

        // Geo-Region
        if (!empty($this->tsSetupSeo['geoRegion'])) {
            $this->metaTagList['geo.region'] = array(
                'tag'        => 'meta',
                'attributes' => array(
                    'name'    => 'geo.region',
                    'content' => $this->tsSetupSeo['geoRegion'],
                ),
            );
        }

        // Geo Placename
        if (!empty($this->tsSetupSeo['geoPlacename'])) {
            $this->metaTagList['geo.placename'] = array(
                'tag'        => 'meta',
                'attributes' => array(
                    'name'    => 'geo.placename',
                    'content' => $this->tsSetupSeo['geoPlacename'],
                ),
            );
        }
    }
protected function generateGeoPosMetaTags ( ) { // Geo-Position if ( ! empty ( $ this -> tsSetupSeo [ 'geoPositionLatitude' ] ) && ! empty ( $ this -> tsSetupSeo [ 'geoPositionLongitude' ] ) ) { $ this -> metaTagList [ 'geo.icmb' ] = array ( 'tag' => 'meta' , 'attributes' => array ( 'name' => 'ICBM' , 'content' => $ this -> tsSetupSeo [ 'geoPositionLatitude' ] . ', ' . $ this -> tsSetupSeo [ 'geoPositionLongitude' ] , ) , ) ; $ this -> metaTagList [ 'geo.position' ] = array ( 'tag' => 'meta' , 'attributes' => array ( 'name' => 'geo.position' , 'content' => $ this -> tsSetupSeo [ 'geoPositionLatitude' ] . ';' . $ this -> tsSetupSeo [ 'geoPositionLongitude' ] , ) , ) ; } // Geo-Region if ( ! empty ( $ this -> tsSetupSeo [ 'geoRegion' ] ) ) { $ this -> metaTagList [ 'geo.region' ] = array ( 'tag' => 'meta' , 'attributes' => array ( 'name' => 'geo.region' , 'content' => $ this -> tsSetupSeo [ 'geoRegion' ] , ) , ) ; } // Geo Placename if ( ! empty ( $ this -> tsSetupSeo [ 'geoPlacename' ] ) ) { $ this -> metaTagList [ 'geo.placename' ] = array ( 'tag' => 'meta' , 'attributes' => array ( 'name' => 'geo.placename' , 'content' => $ this -> tsSetupSeo [ 'geoPlacename' ] , ) , ) ; } }
Generate geo position MetaTags
Generate geo position MetaTags