Файловый менеджер - Редактировать - /home/digitalm/tendepavia/wp-content/plugins/wordpress-seo/admin/views/tabs/metas/paper-content/author-archive-settings.php
Назад
<?php /** * WPSEO plugin file. * * @package WPSEO\Admin\Views\Archive * * @uses Yoast_Form $yform Form object. */ $yform->toggle_switch( 'disable-author', [ 'off' => __( 'On', 'wordpress-seo' ), 'on' => __( 'Off', 'wordpress-seo' ), ], __( 'Author archives', 'wordpress-seo' ) ); ?> <div id='author-archives-titles-metas-content' class='archives-titles-metas-content'> <div class="yoast-settings-section"> <?php $author_archives_help = new WPSEO_Admin_Help_Panel( 'noindex-author-wpseo', esc_html__( 'Help on the author archives search results setting', 'wordpress-seo' ), sprintf( /* translators: 1: expands to <code>noindex</code>; 2: link open tag; 3: link close tag. */ esc_html__( 'Not showing the archive for authors in the search results technically means those will have a %1$s robots meta and will be excluded from XML sitemaps. %2$sMore info on the search results settings%3$s.', 'wordpress-seo' ), '<code>noindex</code>', '<a href="' . esc_url( WPSEO_Shortlinker::get( 'https://yoa.st/show-x' ) ) . '" target="_blank" rel="noopener noreferrer">', '</a>' ) ); $yform->index_switch( 'noindex-author-wpseo', __( 'author archives', 'wordpress-seo' ), $author_archives_help->get_button_html() . $author_archives_help->get_panel_html() ); ?> <div id='noindex-author-noposts-wpseo-container'> <?php $author_archives_no_posts_help = new WPSEO_Admin_Help_Panel( 'noindex-author-noposts-wpseo', esc_html__( 'Help on the authors without posts archive search results setting', 'wordpress-seo' ), sprintf( /* translators: 1: expands to <code>noindex</code>; 2: link open tag; 3: link close tag. */ esc_html__( 'Not showing the archives for authors without posts in the search results technically means those will have a %1$s robots meta and will be excluded from XML sitemaps. %2$sMore info on the search results settings%3$s.', 'wordpress-seo' ), '<code>noindex</code>', '<a href="' . esc_url( WPSEO_Shortlinker::get( 'https://yoa.st/show-x' ) ) . '" target="_blank" rel="noopener noreferrer">', '</a>' ) ); $yform->index_switch( 'noindex-author-noposts-wpseo', __( 'archives for authors without posts', 'wordpress-seo' ), $author_archives_no_posts_help->get_button_html() . $author_archives_no_posts_help->get_panel_html() ); ?> </div> </div> <?php echo '<div class="yoast-settings-section">'; $recommended_replace_vars = new WPSEO_Admin_Recommended_Replace_Vars(); $editor_specific_replace_vars = new WPSEO_Admin_Editor_Specific_Replace_Vars(); $editor = new WPSEO_Replacevar_Editor( $yform, [ 'title' => 'title-author-wpseo', 'description' => 'metadesc-author-wpseo', 'page_type_recommended' => $recommended_replace_vars->determine_for_archive( 'author' ), 'page_type_specific' => $editor_specific_replace_vars->determine_for_archive( 'author' ), 'paper_style' => false, ] ); $editor->render(); echo '</div>'; /** * WARNING: This hook is intended for internal use only. * Don't use it in your code as it will be removed shortly. */ // phpcs:ignore Yoast.NamingConventions.ValidHookName.MaxExceeded -- Added _internal suffix for clarity. do_action( 'Yoast\WP\SEO\admin_author_archives_meta_internal', $yform ); /** * Allow adding custom fields to the admin meta page - Author archives panel in the Archives tab. * * @deprecated 19.10 No replacement available. * * @param Yoast_Form $yform The Yoast_Form object. */ do_action_deprecated( 'Yoast\WP\SEO\admin_author_archives_meta', [ $yform ], '19.10', '', 'This action is going away with no replacement. If you want to add settings that interact with Yoast SEO, please create your own settings page.' ); ?> </div>
| ver. 1.4 |
Github
|
.
| PHP 8.3.23 | Генерация страницы: 0.05 |
proxy
|
phpinfo
|
Настройка