Uname: Linux premium294.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
Software: LiteSpeed
PHP version: 8.1.32 [ PHP INFO ] PHP os: Linux
Server Ip: 104.21.112.1
Your Ip: 216.73.216.230
User: mjbynoyq (1574) | Group: mjbynoyq (1570)
Safe Mode: OFF
Disable Function:
NONE

name : loop-title.php
<?php
/**
 * Docs archive loop title template
 *
 * This template can be overridden by copying it to yourtheme/documentor/archive/loop-title.php.
 *
 * @author  softaculous
 * @package documentor/Templates
 * @version 1.0.0
 */

if ( ! defined( 'ABSPATH' ) ) {
    exit;
}

// phpcs:disable
$articles       = get_pages(
    array(
        'child_of'  => get_the_ID(),
        'post_type' => 'docs',
    )
);
$articles_count = count( $articles );
// phpcs:enable

?>

<a href="<?php the_permalink(); ?>" class="documentor-archive-list-item-title">
    <?php the_post_thumbnail( 'documentor_archive' ); ?>
    <span>
        <span>
            <?php
            // translators: %s articles count.
            printf( esc_html( _n( '%s Article', '%s Articles', $articles_count, 'documentor' ) ), esc_html( $articles_count ) );
            ?>
        </span>
        <h2><?php the_title(); ?></h2>
    </span>
</a>
© 2025 XylotrechusZ