| Server IP : 35.201.19.92 / Your IP : 216.73.216.228 Web Server : nginx System : Linux pod-200961 6.8.0-1055-gke #61-Ubuntu SMP Tue May 26 22:57:42 UTC 2026 x86_64 User : fpm200098 ( 200098) PHP Version : 8.2.34 Disable Function : apache_child_terminate,apache_get_modules,apache_get_version,apache_getenv,apache_note,apache_setenv,disk_free_space,disk_total_space,diskfreespace,dl,exec,fastcgi_finish_request,link,opcache_compile_file,opcache_get_configuration,opcache_invalidate,opcache_is_script_cached,opcache_reset,passthru,pclose,pcntl_exec,popen,posix_getpid,posix_getppid,posix_getpwuid,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_uname,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,realpath_cache_get,shell_exec,show_source,symlink,system MySQL : OFF | cURL : ON | WGET : OFF | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /nas/content/live/questfamilyday/wp-content/plugins/wp-seopress-pro/inc/admin/callbacks/ |
Upload File : |
<?php
defined('ABSPATH') or exit('Please don’t call the plugin directly. Thanks :)');
function seopress_rss_before_html_callback() {
$options = get_option('seopress_pro_option_name');
$check = isset($options['seopress_rss_before_html']) ? $options['seopress_rss_before_html'] : null;
printf(
'<textarea id="seopress_rss_before_html" name="seopress_pro_option_name[seopress_rss_before_html]" rows="4" placeholder="' . esc_html__('Enter your HTML content', 'wp-seopress-pro') . '" aria-label="' . esc_html__('Display content before each post', 'wp-seopress-pro') . '">%s</textarea>',
esc_html($check)); ?>
<p class="description">
<?php esc_html_e('HTML tags allowed: strong, em, br, a href', 'wp-seopress-pro'); ?>
</p>
<p class="description">
<?php esc_html_e('Dynamic variables: %%sitetitle%%, %%tagline%%, %%post_author%%, %%post_permalink%%, %%post_title%%', 'wp-seopress-pro'); ?>
</p>
<?php
}
function seopress_rss_after_html_callback() {
$options = get_option('seopress_pro_option_name');
$check = isset($options['seopress_rss_after_html']) ? $options['seopress_rss_after_html'] : null;
printf(
'<textarea id="seopress_rss_after_html" name="seopress_pro_option_name[seopress_rss_after_html]" rows="4" aria-label="' . esc_html__('Display content after each post', 'wp-seopress-pro') . '" placeholder="' . esc_html__('Enter your HTML content', 'wp-seopress-pro') . '">%s</textarea>',
esc_html($check)); ?>
<p class="description">
<?php esc_html_e('HTML tags allowed: strong, em, br, a href', 'wp-seopress-pro'); ?>
</p>
<p class="description">
<?php esc_html_e('Dynamic variables: %%sitetitle%%, %%tagline%%, %%post_author%%, %%post_permalink%%, %%post_title%%', 'wp-seopress-pro'); ?>
</p>
<?php
}
function seopress_rss_post_thumbnail_callback() {
$options = get_option('seopress_pro_option_name');
$check = isset($options['seopress_rss_post_thumbnail']); ?>
<label for="seopress_rss_post_thumbnail">
<input id="seopress_rss_post_thumbnail" name="seopress_pro_option_name[seopress_rss_post_thumbnail]"
type="checkbox" <?php if ('1' == $check) { ?>
checked="yes"
<?php } ?>
value="1"/>
<?php esc_html_e('Display post thumbnail for each post if available', 'wp-seopress-pro'); ?>
</label>
<pre><?php echo esc_html('<media:content medium="image" url="https://example.com/my-post-thumbnail.jpg" width="300" height="300" />'); ?></pre>
<?php if (isset($options['seopress_rss_post_thumbnail'])) {
esc_attr($options['seopress_rss_post_thumbnail']);
}
}
function seopress_rss_disable_comments_feed_callback() {
$options = get_option('seopress_pro_option_name');
$check = isset($options['seopress_rss_disable_comments_feed']); ?>
<label for="seopress_rss_disable_comments_feed">
<input id="seopress_rss_disable_comments_feed" name="seopress_pro_option_name[seopress_rss_disable_comments_feed]"
type="checkbox" <?php if ('1' == $check) { ?>
checked="yes"
<?php } ?>
value="1"/>
<?php esc_html_e('Remove feed link in source code', 'wp-seopress-pro'); ?>
</label>
<pre><?php echo esc_html('<link rel="alternate" type="application/rss+xml" title="Site title Comments Feed" href="https://example.com/comments/feed/" />'); ?></pre>
<?php if (isset($options['seopress_rss_disable_comments_feed'])) {
esc_attr($options['seopress_rss_disable_comments_feed']);
}
}
function seopress_rss_disable_posts_feed_callback() {
$options = get_option('seopress_pro_option_name');
$check = isset($options['seopress_rss_disable_posts_feed']); ?>
<label for="seopress_rss_disable_posts_feed">
<input id="seopress_rss_disable_posts_feed" name="seopress_pro_option_name[seopress_rss_disable_posts_feed]"
type="checkbox" <?php if ('1' == $check) { ?>
checked="yes"
<?php } ?>
value="1"/>
<?php esc_html_e('Remove feed link in source code (default WordPress RSS feed)', 'wp-seopress-pro'); ?>
</label>
<pre><?php echo esc_html('<link rel="alternate" type="application/rss+xml" title="Site title Feed" href="https://example.com/feed/" />'); ?></pre>
<?php if (isset($options['seopress_rss_disable_posts_feed'])) {
esc_attr($options['seopress_rss_disable_posts_feed']);
}
}
function seopress_rss_disable_extra_feed_callback() {
$options = get_option('seopress_pro_option_name');
$check = isset($options['seopress_rss_disable_extra_feed']); ?>
<label for="seopress_rss_disable_extra_feed">
<input id="seopress_rss_disable_extra_feed" name="seopress_pro_option_name[seopress_rss_disable_extra_feed]"
type="checkbox" <?php if ('1' == $check) { ?>
checked="yes"
<?php } ?>
value="1"/>
<?php esc_html_e('Remove feed link in source code (author, categories, custom taxonomies, custom post type, comments feed for a single post...)', 'wp-seopress-pro'); ?>
</label>
<pre><?php echo esc_html('<link rel="alternate" type="application/rss+xml" title="Site title - My post title - Comments Feed" href="https://example.com/my-post-slug/feed/" />'); ?></pre>
<?php if (isset($options['seopress_rss_disable_extra_feed'])) {
esc_attr($options['seopress_rss_disable_extra_feed']);
}
}
function seopress_rss_disable_all_feeds_callback() {
$options = get_option('seopress_pro_option_name');
$check = isset($options['seopress_rss_disable_all_feeds']); ?>
<label for="seopress_rss_disable_all_feeds">
<input id="seopress_rss_disable_all_feeds" name="seopress_pro_option_name[seopress_rss_disable_all_feeds]"
type="checkbox" <?php if ('1' == $check) { ?>
checked="yes"
<?php } ?>
value="1"/>
<?php esc_html_e('Disable all WordPress RSS feeds (all feeds will no longer be accessible and will be redirected to the homepage)', 'wp-seopress-pro'); ?>
</label>
<?php if (isset($options['seopress_rss_disable_all_feeds'])) {
esc_attr($options['seopress_rss_disable_all_feeds']);
}
}