@@ 977-985 (lines=9) @@ | ||
974 | } |
|
975 | if ( ( !defined( 'PODS_DISABLE_META' ) || !PODS_DISABLE_META ) && is_object( $pods ) && !is_wp_error( $pods ) ) { |
|
976 | ||
977 | if ( isset( $pods->meta ) && is_array( $pods->meta ) && !empty( $pods->meta ) ) { |
|
978 | foreach ( $pods->meta as $name => $content ) { |
|
979 | if ( 'title' == $name ) |
|
980 | continue; |
|
981 | ?> |
|
982 | <meta name="<?php echo esc_attr( $name ); ?>" content="<?php echo esc_attr( $content ); ?>" /> |
|
983 | <?php |
|
984 | } |
|
985 | } |
|
986 | ||
987 | if ( isset( $pods->meta_properties ) && is_array( $pods->meta_properties ) && !empty( $pods->meta_properties ) ) { |
|
988 | foreach ( $pods->meta_properties as $property => $content ) { |
|
@@ 987-993 (lines=7) @@ | ||
984 | } |
|
985 | } |
|
986 | ||
987 | if ( isset( $pods->meta_properties ) && is_array( $pods->meta_properties ) && !empty( $pods->meta_properties ) ) { |
|
988 | foreach ( $pods->meta_properties as $property => $content ) { |
|
989 | ?> |
|
990 | <meta property="<?php echo esc_attr( $property ); ?>" content="<?php echo esc_attr( $content ); ?>" /> |
|
991 | <?php |
|
992 | } |
|
993 | } |
|
994 | ||
995 | if ( isset( $pods->meta_extra ) && 0 < strlen( $pods->meta_extra ) ) |
|
996 | echo $pods->meta_extra; |