Uname: Linux webm012.cluster130.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Software: Apache
PHP version: 8.0.30 [ PHP INFO ] PHP os: Linux
Server Ip: 145.239.37.162
Your Ip: 216.73.216.190
User: dreampi (1009562) | Group: users (100)
Safe Mode: OFF
Disable Function:
_dyuweyrj4,_dyuweyrj4r,dl

name : content-style-4.php
<?php
$justify = !empty($settings['title_scrolling']) ? 'content-between' : '';
$this->add_render_attribute('content', 'class', ['service-content', $justify]);
$video_file = get_post_meta(get_the_ID(), 'service_video_file', true);
?>
<article class="service service-<?php the_ID(); ?> service-style-4">
    <div class="service-video">
        <?php
            if (!empty($video_file)) {
                $thumbnail_url = get_the_post_thumbnail_url(null, 'motiox-service-extra-large');
                echo '<video autoplay loop muted style="background-image: url(' . esc_url($thumbnail_url) . ');">
                    <source src="' . esc_url($video_file) . '" type="video/mp4">
                    ' . __('Your browser does not support the video tag.', 'motiox') . '
                  </video>';
            }
             else {
                the_post_thumbnail('motiox-service-extra-large');
             }
        ?>
    </div>

    <div <?php $this->print_render_attribute_string('content'); ?>>
        <?php if(isset($settings['title_scrolling']) && !empty($settings['title_scrolling'])) { ?>
            <div class="content-top">
                <div class="content-scrolling-wrapper">
                    <?php for ($i = 0; $i <= 2; $i++) { ?>
                        <div class="scrolling-title">
                            <?php
                            $scrolling_title_html = $settings['title_scrolling'];
                            echo '<a class="title-scrolling" href="' . esc_url(get_permalink()) . '">' . esc_html($scrolling_title_html) . '</a>';
                            ?>
                        </div>
                    <?php } ?>
                </div>
            </div>

        <?php } ?>

        <div class="content-bottom">
            <?php the_title('<h3 class="entry-title"><a href="' . esc_url(get_permalink()) . '" rel="bookmark">', '</a></h3>'); ?>
            <div class="entry-bottom">
                <div class="excerpt-content"><?php echo wp_trim_words(get_the_excerpt(), 35); ?></div>
                <a class="entry-btn more-link" href="<?php the_permalink() ?>">
                    <i class="motiox-icon-arrow-right-up"></i>
                </a>
            </div>
        </div>

    </div>
</article>
© 2026 GrazzMean-Shell