| Server IP : 192.241.186.36 / Your IP : 216.73.216.164 Web Server : Apache/2.4.29 (Ubuntu) System : Linux webserver7 4.15.0-194-generic #205-Ubuntu SMP Fri Sep 16 19:49:27 UTC 2022 x86_64 User : root ( 0) PHP Version : 7.4.32 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/html/adsonicdigital/wp-content/plugins/seo-by-rank-math/includes/settings/titles/ |
Upload File : |
<?php /** * The misc settings. * * @package RankMath * @subpackage RankMath\Settings */ use RankMath\Helper; defined( 'ABSPATH' ) || exit; $dep = [ [ 'disable_date_archives', 'off' ] ]; $cmb->add_field( [ 'id' => 'disable_date_archives', 'type' => 'switch', 'name' => esc_html__( 'Date Archives', 'rank-math' ), 'desc' => sprintf( // Translators: placeholder is an example URL. esc_html__( 'Enable or disable the date archives (e.g: %s). If this option is disabled, the date archives will be redirected to the homepage.', 'rank-math' ), '<code>domain.com/2019/06/</code>' ), 'options' => [ 'on' => esc_html__( 'Disabled', 'rank-math' ), 'off' => esc_html__( 'Enabled', 'rank-math' ), ], 'default' => 'on', ] ); $cmb->add_field( [ 'id' => 'date_archive_title', 'type' => 'text', 'name' => esc_html__( 'Date Archive Title', 'rank-math' ), 'desc' => esc_html__( 'Title tag on day/month/year based archives.', 'rank-math' ), 'classes' => 'rank-math-supports-variables rank-math-title rank-math-advanced-option', 'default' => '%date% %page% %sep% %sitename%', 'dep' => $dep, 'sanitization_cb' => [ '\RankMath\CMB2', 'sanitize_textfield' ], 'attributes' => [ 'data-exclude-variables' => 'seo_title,seo_description' ], ] ); $cmb->add_field( [ 'id' => 'date_archive_description', 'type' => 'textarea_small', 'name' => esc_html__( 'Date Archive Description', 'rank-math' ), 'desc' => esc_html__( 'Date archive description.', 'rank-math' ), 'classes' => 'rank-math-supports-variables rank-math-description rank-math-advanced-option', 'dep' => $dep, 'attributes' => [ 'class' => 'cmb2-textarea-small wp-exclude-emoji', 'data-gramm' => 'false', 'rows' => 2, 'data-exclude-variables' => 'seo_title,seo_description', ], ] ); $cmb->add_field( [ 'id' => 'date_archive_robots', 'type' => 'multicheck', /* translators: post type name */ 'name' => esc_html__( 'Date Robots Meta', 'rank-math' ), 'desc' => esc_html__( 'Custom values for robots meta tag on date page.', 'rank-math' ), 'options' => Helper::choices_robots(), 'select_all_button' => false, 'dep' => $dep, 'classes' => 'rank-math-advanced-option rank-math-robots-data', ] ); $cmb->add_field( [ 'id' => 'date_advanced_robots', 'type' => 'advanced_robots', 'name' => esc_html__( 'Date Advanced Robots', 'rank-math' ), 'sanitization_cb' => [ '\RankMath\CMB2', 'sanitize_advanced_robots' ], 'dep' => $dep, 'classes' => 'rank-math-advanced-option', ] ); $cmb->add_field( [ 'id' => '404_title', 'type' => 'text', 'name' => esc_html__( '404 Title', 'rank-math' ), 'desc' => esc_html__( 'Title tag on 404 Not Found error page.', 'rank-math' ), 'classes' => 'rank-math-supports-variables rank-math-title rank-math-advanced-option', 'default' => 'Page Not Found %sep% %sitename%', 'sanitization_cb' => [ '\RankMath\CMB2', 'sanitize_textfield' ], 'attributes' => [ 'data-exclude-variables' => 'seo_title,seo_description' ], ] ); $cmb->add_field( [ 'id' => 'search_title', 'type' => 'text', 'name' => esc_html__( 'Search Results Title', 'rank-math' ), 'desc' => esc_html__( 'Title tag on search results page.', 'rank-math' ), 'classes' => 'rank-math-supports-variables rank-math-title rank-math-advanced-option', 'default' => '%search_query% %page% %sep% %sitename%', 'sanitization_cb' => [ '\RankMath\CMB2', 'sanitize_textfield' ], 'attributes' => [ 'data-exclude-variables' => 'seo_title,seo_description' ], ] ); $cmb->add_field( [ 'id' => 'noindex_search', 'type' => 'toggle', 'name' => esc_html__( 'Noindex Search Results', 'rank-math' ), 'desc' => esc_html__( 'Prevent search results pages from getting indexed by search engines. Search results could be considered to be thin content and prone to duplicate content issues.', 'rank-math' ), 'default' => 'on', 'classes' => 'rank-math-advanced-option', ] ); $cmb->add_field( [ 'id' => 'noindex_archive_subpages', 'type' => 'toggle', 'name' => esc_html__( 'Noindex Subpages', 'rank-math' ), 'desc' => esc_html__( 'Prevent all paginated pages from getting indexed by search engines.', 'rank-math' ), 'default' => 'off', 'classes' => 'rank-math-advanced-option', ] ); $cmb->add_field( [ 'id' => 'noindex_paginated_pages', 'type' => 'toggle', 'name' => esc_html__( 'Noindex Paginated Single Pages', 'rank-math' ), 'desc' => esc_html__( 'Prevent paginated pages of single pages and posts to show up in the search results. This also applies for the Blog page.', 'rank-math' ), 'default' => 'off', 'classes' => 'rank-math-advanced-option', ] ); $cmb->add_field( [ 'id' => 'noindex_password_protected', 'type' => 'toggle', 'name' => esc_html__( 'Noindex Password Protected Pages', 'rank-math' ), 'desc' => esc_html__( 'Prevent password protected pages & posts from getting indexed by search engines.', 'rank-math' ), 'default' => 'off', 'classes' => 'rank-math-advanced-option', ] );