HEX
Server: Apache/2.4.41
System: Linux mainweb 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC 2024 x86_64
User: nationalmedicaregrp (1119)
PHP: 8.3.7
Disabled: exec,passthru,shell_exec,system,popen,proc_open,pcntl_exec
Upload Files
File: /home/flbestac/public_html/wp-content/plugins/wp-seopress/inc/admin/sections/Titles.php
<?php

defined('ABSPATH') or exit('Please don&rsquo;t call the plugin directly. Thanks :)');

function seopress_print_section_info_titles()
{
    $docs = seopress_get_docs_links(); ?>
    <div class="sp-section-header">
        <h2>
            <?php esc_attr_e('Home', 'wp-seopress'); ?>
        </h2>
    </div>

    <div class="seopress-notice">
        <p>
            <?php esc_attr_e('Title and meta description are used by search engines to generate the snippet of your site in search results page.', 'wp-seopress'); ?>
        </p>
    </div>

    <p>
        <?php esc_attr_e('Customize your title & meta description for homepage.', 'wp-seopress'); ?>
    </p>

    <span class="dashicons dashicons-external seopress-help"></span>
    <a class="seopress-help" href="<?php echo esc_url($docs['titles']['wrong_meta']); ?>" target="_blank">
        <?php esc_attr_e('Wrong meta title / description in SERP?', 'wp-seopress'); ?></a>

    <script>
        function sp_get_field_length(e) {
            if (e.val().length > 0) {
                meta = e.val() + ' ';
            } else {
                meta = e.val();
            }
            return meta;
        }
    </script>

<?php
}

function seopress_print_section_info_single()
{
?>
    <div class="sp-section-header">
        <h2>
            <?php esc_attr_e('Post Types', 'wp-seopress'); ?>
        </h2>
    </div>
    <p>
        <?php esc_attr_e('Customize your titles & metas for Single Custom Post Types.', 'wp-seopress'); ?>
    </p>

    <div class="seopress-notice">
        <p>
            <?php
            /* translators: %1$s: <code>public => true</code>, %2$s: <code>show_ui => true</code>*/
            printf(esc_attr__('Only post types registered with the %1$s and %2$s arguments will be listed here.', 'wp-seopress'), '<code>public => true</code>', '<code>show_ui => true</code>');
            ?>
        </p>
    </div>

<?php
}

function seopress_print_section_info_advanced()
{
?>
    <div class="sp-section-header">
        <h2>
            <?php esc_attr_e('Advanced', 'wp-seopress'); ?>
        </h2>
    </div>
    <p>
        <?php esc_attr_e('Customize your metas for all pages.', 'wp-seopress'); ?>
    </p>

<?php
}

function seopress_print_section_info_tax()
{
?>
    <div class="sp-section-header">
        <h2>
            <?php esc_attr_e('Taxonomies', 'wp-seopress'); ?>
        </h2>
    </div>
    <p>
        <?php esc_attr_e('Customize your metas for all taxonomies archives.', 'wp-seopress'); ?>
    </p>

    <div class="seopress-notice">
        <p>
            <?php
            /* translators: %1$s: <code>public => true</code>, %2$s: <code>show_ui => true</code>*/
            printf(esc_attr__('Only taxonomies registered with the %1$s and %2$s arguments will be listed here.', 'wp-seopress'), '<code>public => true</code>', '<code>show_ui => true</code>');
            ?>
        </p>
    </div>

<?php
}

function seopress_print_section_info_archives()
{
?>
    <div class="sp-section-header">
        <h2>
            <?php esc_attr_e('Archives', 'wp-seopress'); ?>
        </h2>
    </div>
    <p>
        <?php esc_attr_e('Customize your metas for all archives.', 'wp-seopress'); ?>
    </p>

<?php
}