PluginProbe ʕ •ᴥ•ʔ
XML Sitemap & Google News / trunk
XML Sitemap & Google News vtrunk
5.7.7 5.7.5 5.7.6 5.7.4 trunk 1.0 2.0 2.1 3.0 3.2 3.3 3.4 3.5 3.6.1 3.7.4 3.8.8 3.9.3 4.0.1 4.1.4 4.2.3 4.3.2 4.4.1 4.5.1 4.6.3 4.7.5 4.8.3 4.9.4 5.0.7 5.1.2 5.2.7 5.3.6 5.4.6 5.4.9 5.5.1 5.5.2 5.5.3 5.5.4 5.5.5 5.5.6 5.5.7 5.5.8 5.5.9 5.6 5.6.1 5.6.2 5.6.3 5.7 5.7.1 5.7.2 5.7.3
xml-sitemap-feed / views / admin / field-robots.php
xml-sitemap-feed / views / admin Last commit date
field-bulk-edit.php 8 months ago field-meta-box-news.php 7 months ago field-meta-box.php 6 months ago field-news-categories.php 7 months ago field-news-hierarchical.php 6 months ago field-news-keywords.php 6 months ago field-news-name.php 9 months ago field-news-notifier.php 5 months ago field-news-post-type.php 8 months ago field-news-stocktickers.php 6 months ago field-quick-edit.php 11 months ago field-robots.php 11 months ago field-sitemap-author-settings.php 6 months ago field-sitemap-authors.php 7 months ago field-sitemap-custom.php 11 months ago field-sitemap-disable.php 11 months ago field-sitemap-notifier.php 2 months ago field-sitemap-post-type-settings.php 2 months ago field-sitemap-post-types-limit.php 11 months ago field-sitemap-post-types.php 7 months ago field-sitemap-server.php 6 months ago field-sitemap-slug.php 8 months ago field-sitemap-taxonomies.php 7 months ago field-sitemap-taxonomy-settings.php 6 months ago field-sitemap-urls.php 11 months ago field-sitemaps.php 11 months ago help-tab-advanced.php 6 months ago help-tab-authors.php 6 months ago help-tab-news-categories.php 11 months ago help-tab-news-hierarchical.php 8 months ago help-tab-news-keywords.php 11 months ago help-tab-news-name.php 11 months ago help-tab-news-notifier.php 6 months ago help-tab-news-post-types.php 11 months ago help-tab-news-sidebar.php 11 months ago help-tab-news-stocktickers.php 11 months ago help-tab-news.php 11 months ago help-tab-post-types-general.php 11 months ago help-tab-post-types.php 6 months ago help-tab-robots.php 11 months ago help-tab-sidebar.php 11 months ago help-tab-sitemaps.php 11 months ago help-tab-support.php 6 months ago help-tab-taxonomies.php 6 months ago notice-xmlsf-advanced-news.php 11 months ago notice-xmlsf-advanced.php 11 months ago page-sitemap-news.php 6 months ago page-sitemap.php 7 months ago section-advanced-compat-message.php 9 months ago section-advanced-intro.php 11 months ago section-advanced-news-compat-message.php 9 months ago section-bwt-data.php 2 months ago section-bwt-oauth-intro.php 6 months ago section-bwt-oauth-stage-1.php 6 months ago section-bwt-oauth-stage-2.php 6 months ago section-gsc-data-news.php 3 months ago section-gsc-data.php 2 months ago section-gsc-oauth-intro.php 6 months ago section-gsc-oauth-stage-1-2.php 2 months ago section-gsc-oauth-stage-3.php 6 months ago section-ping-log.php 3 months ago sidebar-advanced-plug.php 2 months ago sidebar-bwt-connect.php 6 months ago sidebar-contribute.php 9 months ago sidebar-gsc-connect.php 6 months ago sidebar-help.php 6 months ago sidebar-links.php 6 months ago sidebar-news-advanced-plug.php 6 months ago sidebar-news-links.php 6 months ago sidebar-news-tools.php 7 months ago sidebar-priority-support.php 7 months ago sidebar-tools.php 7 months ago
field-robots.php
39 lines
1 <?php
2 /**
3 * Robots.txt field
4 *
5 * @package XML Sitemap & Google News
6 */
7
8 ?>
9 <fieldset>
10 <legend class="screen-reader-text"><?php esc_html_e( 'Additional robots.txt rules', 'xml-sitemap-feed' ); ?></legend>
11
12 <?php if ( ! xmlsf()->using_permalinks() ) { ?>
13 <p class="description">
14 <?php printf( /* Translators: Permalinks */ esc_html__( 'Not available because of this site\'s %s settings.', 'xml-sitemap-feed' ), '<a href="' . esc_url( admin_url( 'options-permalink.php' ) ) . '">' . esc_html( translate( 'Permalinks' ) ) . '</a>' ); ?>
15 <?php esc_html_e( 'Either switch to another Permalink structure or create a static robots.txt file in the site root and place your rules there.', 'xml-sitemap-feed' ); ?>
16 </p>
17 <?php } elseif ( ! isset( $rules['robots\.txt$'] ) ) { ?>
18 <p class="description">
19 <?php esc_html_e( 'No rewrite rule for robots.txt was found. Please verify your Permalink settings.', 'xml-sitemap-feed' ); ?>
20 </p>
21 <?php } elseif ( $static ) { ?>
22 <p class="description">
23 <?php esc_html_e( 'A static robots.txt file has been found. To manage your robots.txt from here, please copy its content and delete the file.', 'xml-sitemap-feed' ); ?>
24 </p>
25 <?php } else { ?>
26 <label for="xmlsf_robots">
27 <?php
28 printf( /* translators: robots.txt, linked. */
29 esc_html__( 'Rules that will be appended to the %s generated by WordPress:', 'xml-sitemap-feed' ),
30 '<a href="' . esc_attr( trailingslashit( get_bloginfo( 'url' ) ) ) . 'robots.txt" target="_blank">robots.txt</a>'
31 );
32 ?>
33 </label>
34 <br/>
35 <textarea name="xmlsf_robots" id="xmlsf_robots" class="large-text" cols="50" rows="6"><?php echo esc_textarea( trim( get_option( 'xmlsf_robots', '' ) ) ); ?></textarea>
36 <?php } ?>
37
38 </fieldset>
39