PluginProbe
WPSSO Core – Complete Schema Markup and Meta Tags / 22.7.0
WPSSO Core – Complete Schema Markup and Meta Tags v22.7.0
22.7.0 22.6.1 22.6.0 22.5.3 22.5.2 22.5.1 22.4.0 22.3.0 22.2.1 22.2.0 22.1.3 22.1.2 22.1.1 22.1.0 22.0.0 21.13.3 21.13.2 trunk 21.13.1
wpsso / lib / messages-tooltip-meta-org.php

messages-tooltip-meta-org.php in WPSSO Core – Complete Schema Markup and Meta Tags 22.7.0, at lib/messages-tooltip-meta-org.php

208 lines 6.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 * License: GPLv3
4 * License URI: https://www.gnu.org/licenses/gpl.txt
5 * Copyright 2012-2026 Jean-Sebastien Morisset (https://wpsso.com/)
6 */
7
8 if ( ! defined( 'ABSPATH' ) ) {
9
10 die( 'These aren\'t the droids you\'re looking for.' );
11 }
12
13 if ( ! defined( 'WPSSO_PLUGINDIR' ) ) {
14
15 die( 'Do. Or do not. There is no try.' );
16 }
17
18 if ( ! class_exists( 'WpssoMessagesTooltipMetaOrg' ) ) {
19
20 /*
21 * Instantiated by WpssoMessagesTooltipMeta->get() only when needed.
22 */
23 class WpssoMessagesTooltipMetaOrg extends WpssoMessages {
24
25 public function get( $msg_key = false, $info = array() ) {
26
27 $text = '';
28
29 switch ( $msg_key ) {
30
31 case 'tooltip-meta-org_name': // Organization Name.
32
33 $text = __( 'A name for this organization (required).', 'wpsso' );
34
35 break;
36
37 case 'tooltip-meta-org_name_alt': // Organization Alternate Name.
38
39 $text = __( 'An alternate name for this organization.', 'wpsso' );
40
41 break;
42
43 case 'tooltip-meta-org_desc': // Organization Description.
44
45 $text = __( 'A description for this organization.', 'wpsso' );
46
47 break;
48
49 case 'tooltip-meta-org_schema_type': // Organization Schema Type.
50
51 $text = __( 'You may choose a more accurate Schema type for this organization (default is Organization).', 'wpsso' ) . ' ';
52
53 $text .= sprintf( __( 'Note that Google considers a Schema Organization sub-type, which is also a Schema Place sub-type like <a href="%s">Schema LocalBusiness</a> for example, as a place and not an organization.', 'wpsso' ), 'https://schema.org/LocalBusiness' ) . ' ';
54
55 $text .= __( 'For this reason, the Schema Organization selector does not include any Schema Place sub-types.', 'wpsso' ) . ' ';
56
57 break;
58
59 case 'tooltip-meta-org_is_default': // Organization Is Default.
60
61 $text = __( 'You may choose this organization as the default publisher, provider, etc.', 'wpsso' ) . ' ';
62
63 break;
64
65 case 'tooltip-meta-org_place_id': // Organization Location.
66
67 $text = __( 'Select an optional location for this organization.', 'wpsso' );
68
69 break;
70
71 case 'tooltip-meta-org_url': // Organization WebSite URL.
72
73 $text = __( 'The website URL for this organization.', 'wpsso' );
74
75 break;
76
77 case 'tooltip-meta-org_logo_url': // Organization Logo URL.
78
79 $text = $this->p->msgs->get( 'tooltip-site_org_logo_url' );
80
81 break;
82
83 case 'tooltip-meta-org_banner_url': // Organization Banner URL.
84
85 $text = $this->p->msgs->get( 'tooltip-site_org_banner_url' );
86
87 break;
88
89 case 'tooltip-meta-org_pub_principles_url': // Publishing Principles URL.
90
91 $text .= __( 'A document describing the editorial principles of an Organization that relate to their activities as a publisher.', 'wpsso' );
92
93 break;
94
95 case 'tooltip-meta-org_corrections_policy_url': // Corrections Policy URL.
96
97 $text .= __( 'A statement describing (in news media, the newsroom\'s) disclosure and correction policy for errors.', 'wpsso' );
98
99 break;
100
101 case 'tooltip-meta-org_diversity_policy_url': // Diversity Policy URL.
102
103 $text .= __( 'A statement describing (in news media, the newsroom\'s) diversity policy on both staffing and sources.', 'wpsso' );
104
105 break;
106
107 case 'tooltip-meta-org_ethics_policy_url': // Ethics Policy URL.
108
109 $text .= __( 'A statement describing the personal, organizational, and corporate standards of behavior expected by the organization.', 'wpsso' );
110
111 break;
112
113 case 'tooltip-meta-org_fact_check_policy_url': // Fact Checking Policy URL.
114
115 $text .= __( 'A statement describing verification and fact-checking processes for a news media organization or other fact-checking organization.', 'wpsso' );
116
117 break;
118
119 case 'tooltip-meta-org_feedback_policy_url': // Feedback Policy URL.
120
121 $text = __( 'A statement about public engagement activities (for news media, the newsroom\'s), including involving the public - digitally or otherwise - in coverage decisions, reporting and activities after publication.', 'wpsso' );
122
123 break;
124
125 case 'tooltip-meta-org_contact_id': // Organization Contact Points.
126
127 $text = __( 'A contact point - for example, a customer service department or mailing address.', 'wpsso' );
128
129 break;
130
131 case 'tooltip-meta-org_award': // Organization Awards.
132
133 $text = __( 'Awards this organization has won.', 'wpsso' );
134
135 break;
136
137 case 'tooltip-meta-org_offer_catalogs': // Offer Catalogs.
138
139 $text = __( 'A list of offer catalogs for this organization, including the catalog name, description and URL.', 'wpsso' );
140
141 break;
142
143 /*
144 * Organization Service section.
145 */
146 case 'tooltip-meta-org_service_latitude': // Service Latitude.
147
148 $text = $this->p->msgs->get( 'tooltip-meta-schema_service_latitude' );
149
150 break;
151
152 case 'tooltip-meta-org_service_longitude': // Service Longitude.
153
154 $text = $this->p->msgs->get( 'tooltip-meta-schema_service_longitude' );
155
156 break;
157
158 case 'tooltip-meta-org_service_radius': // Service Radius.
159
160 $text = $this->p->msgs->get( 'tooltip-meta-schema_service_radius' );
161
162 break;
163
164 case 'tooltip-meta-org_service_area_id': // Service Areas.
165
166 $text = $this->p->msgs->get( 'tooltip-meta-schema_service_area_id' );
167
168 break;
169
170 /*
171 * News Media Organization section.
172 */
173 case 'tooltip-meta-org_masthead_url': // Masthead Page URL.
174
175 $text .= __( 'A link to the masthead page or a page listing top editorial management.', 'wpsso' );
176
177 break;
178
179 case 'tooltip-meta-org_coverage_policy_url': // Coverage Priorities Policy URL.
180
181 $text .= __( 'A statement on coverage priorities, including any public agenda or stance on issues.', 'wpsso' );
182
183 break;
184
185 case 'tooltip-meta-org_no_bylines_policy_url': // No Bylines Policy URL.
186
187 $text .= __( 'A statement about policy on use of unnamed sources and the decision process required.', 'wpsso' );
188
189 break;
190
191 case 'tooltip-meta-org_sources_policy_url': // Unnamed Sources Policy URL.
192
193 $text .= __( 'A statement about policy on use of unnamed sources and the decision process required.', 'wpsso' );
194
195 break;
196
197 default:
198
199 $text = apply_filters( 'wpsso_messages_tooltip_meta_org', $text, $msg_key, $info );
200
201 break;
202 }
203
204 return $text;
205 }
206 }
207 }
208