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 / page-sitemap.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
page-sitemap.php
83 lines
1 <?php
2 /**
3 * Sitemap settings page
4 *
5 * @package XML Sitemap & Google News
6 */
7
8 ?>
9 <style type="text/css">
10 <?php require XMLSF_DIR . '/assets/admin.css'; ?>
11 </style>
12 <div class="wrap">
13
14 <h1><?php esc_html_e( 'XML Sitemap', 'xml-sitemap-feed' ); ?></h1>
15
16 <p>
17 <?php printf( /* translators: Plugin name */ esc_html__( 'These settings control the XML Sitemaps generated by the %s plugin.', 'xml-sitemap-feed' ), esc_html__( 'XML Sitemap & Google News', 'xml-sitemap-feed' ) ); ?>
18 </p>
19
20 <nav class="nav-tab-wrapper">
21 <a class="nav-tab<?php echo 'general' === $active_tab ? ' nav-tab-active' : '" href="?page=xmlsf&tab=general'; ?>"><?php echo esc_html( translate( 'General' ) ); // phpcs:ignore WordPress.WP.I18n.LowLevelTranslationFunction ?></a>
22 <a class="nav-tab<?php echo 'post_types' === $active_tab ? ' nav-tab-active' : '" href="?page=xmlsf&tab=post_types'; ?>"><?php esc_attr_e( 'Post types', 'xml-sitemap-feed' ); ?></a>
23 <?php
24 if ( empty( $disabled ) || ! in_array( 'taxonomies', (array) $disabled, true ) ) {
25 ?>
26 <a class="nav-tab<?php echo 'taxonomies' === $active_tab ? ' nav-tab-active' : '" href="?page=xmlsf&tab=taxonomies'; ?>"><?php esc_attr_e( 'Taxonomies', 'xml-sitemap-feed' ); ?></a>
27 <?php
28 }
29 if ( empty( $disabled ) || ! in_array( 'users', (array) $disabled, true ) ) {
30 ?>
31 <a class="nav-tab<?php echo 'authors' === $active_tab ? ' nav-tab-active' : '" href="?page=xmlsf&tab=authors'; ?>"><?php esc_attr_e( 'Authors', 'xml-sitemap-feed' ); ?></a>
32 <?php
33 }
34 ?>
35 <a class="nav-tab<?php echo 'advanced' === $active_tab ? ' nav-tab-active' : '" href="?page=xmlsf&tab=advanced'; ?>"><?php echo esc_html( translate( 'Advanced' ) ); // phpcs:ignore WordPress.WP.I18n.LowLevelTranslationFunction ?></a>
36 <?php do_action( 'xmlsf_sitemap_nav_tabs', $active_tab ); ?>
37 </nav>
38
39 <div class="main">
40 <form id="xmlsf-settings-form" method="post" action="options.php">
41
42 <?php do_action( 'xmlsf_settings_before', $active_tab ); ?>
43
44 <?php settings_fields( 'xmlsf_' . $active_tab ); ?>
45
46 <?php do_settings_sections( 'xmlsf_' . $active_tab ); ?>
47
48 <?php do_action( 'xmlsf_settings_after', $active_tab ); ?>
49
50 <?php submit_button(); ?>
51
52 </form>
53 </div>
54
55 <div class="sidebar">
56 <?php
57 if ( ! \XMLSF\Admin\Sitemap::compatible_with_advanced() ) {
58 echo '<div style="background:rgb(252, 229, 231); margin-left: -14px; padding: 5px 10px; border: 4px solid rgb(214, 73, 54); border-radius: 3px; margin-bottom: 20px; font-weight: bold;">';
59 include XMLSF_DIR . '/views/admin/section-advanced-compat-message.php';
60 echo '</div>';
61 }
62 ?>
63
64 <h3><span class="dashicons dashicons-welcome-view-site"></span> <?php echo esc_html( translate( 'View' ) ); // phpcs:ignore WordPress.WP.I18n.LowLevelTranslationFunction ?></h3>
65 <p>
66 <?php
67 printf(
68 /* translators: Sitemap name with URL */
69 esc_html__( 'Open your %s', 'xml-sitemap-feed' ),
70 '<strong><a href="' . esc_attr( $sitemap_url ) . '" target="_blank">' . esc_html__( 'XML Sitemap Index', 'xml-sitemap-feed' ) . '</a></strong><span class="dashicons dashicons-external"></span>'
71 );
72 ?>
73 </p>
74
75 <?php do_action( 'xmlsf_admin_sidebar' ); ?>
76
77 </div>
78
79 </div>
80 <script>
81 <?php require XMLSF_DIR . '/assets/admin.js'; ?>
82 </script>
83