HEX
Server: Apache/2.4.62 (Debian)
System: Linux MIA-VPS-VM01781 5.10.0-32-amd64 #1 SMP Debian 5.10.223-1 (2024-08-10) x86_64
User: webmaster (1001)
PHP: 8.2.29
Disabled: 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,
Upload Files
File: /var/www/sites/30291/public_html/wp-content/themes/fernanda-menezes/home.php
<?php get_header(); ?>

<main id="conteudo">
    <section class="section blog-archive-section">
        <div class="section-inner">
            <div class="section-title">
                <p class="eyebrow">Blog</p>
                <h1>Conteúdos para marcas em movimento.</h1>
                <p class="lead">Reflexões, bastidores e estratégias para fortalecer sua presença, comunicar valor e seguir com mais direção.</p>
            </div>

            <?php if (have_posts()) : ?>
                <div class="blog-grid">
                    <?php while (have_posts()) : the_post(); ?>
                        <article <?php post_class('blog-card'); ?>>
                            <div>
                                <time datetime="<?php echo esc_attr(get_the_date('c')); ?>"><?php echo esc_html(get_the_date()); ?></time>
                                <h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
                                <p class="muted"><?php echo esc_html(wp_trim_words(get_the_excerpt(), 26)); ?></p>
                            </div>
                            <a class="button secondary" href="<?php the_permalink(); ?>">Ler artigo</a>
                        </article>
                    <?php endwhile; ?>
                </div>

                <nav class="pagination-nav" aria-label="Paginação do blog">
                    <?php
                    the_posts_pagination(array(
                        'mid_size' => 1,
                        'prev_text' => 'Artigos anteriores',
                        'next_text' => 'Próximos artigos',
                    ));
                    ?>
                </nav>
            <?php else : ?>
                <div class="blog-card">
                    <div>
                        <time>Blog</time>
                        <h2>Os artigos aparecerão aqui</h2>
                        <p class="muted">Quando houver posts publicados no WordPress, eles serão listados nesta página.</p>
                    </div>
                </div>
            <?php endif; ?>
        </div>
    </section>
</main>

<?php get_footer(); ?>