HEX
Server: Apache/2.4.41 (Ubuntu)
System: Linux wordpress-ubuntu-s-2vcpu-4gb-fra1-01 5.4.0-169-generic #187-Ubuntu SMP Thu Nov 23 14:52:28 UTC 2023 x86_64
User: root (0)
PHP: 7.4.33
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/delta/wp-content/themes/delta/templates/partials/small-post-card.twig
<a href="{{ function('get_permalink', post.ID) }}" >
    <div class="blog-list__single">
        <div class="blog-list__single-img">
            <img src="{{ function('get_the_post_thumbnail_url', post.ID) }}" alt="{{ post.post_title }}" >
        </div>
        <div class="blog-list__single-wrap">
            <div class="blog-list__single-title">
                <div class="blog-list__single-date">
                    <h6 class="p">{{ post.date|date("M d, Y") }}</h6>

                    {% set number_of_words = post.post_content|split(' ')|length %}
                    {% set read_time = (number_of_words / words_per_minute)|round(0, 'ceil') %}
                    <h6 class="p blog-list__single-read">{{ read_time }} {{ t('min read') }}</h6>
                </div>
                <h5 class="t-700">{{ post.post_title }}</h5>
            </div>
            <div class="blog-list__single-content">
                {{ post.post_excerpt }}
            </div>
        </div>
    </div>
</a>