Sh3ll
OdayForums


Server : LiteSpeed
System : Linux premium84.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : claqxcrl ( 523)
PHP Version : 8.1.32
Disable Function : NONE
Directory :  /home/claqxcrl/www/wp-content/themes/newsup/template-parts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //home/claqxcrl/www/wp-content/themes/newsup/template-parts/content-search.php
<?php
/**
 * The template for displaying search results pages.
 *
 * @package Newsup
 */
?>
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
        <!-- mg-posts-sec mg-posts-modul-6 -->
        <div class="mg-posts-sec mg-posts-modul-6">
            <!-- mg-posts-sec-inner -->
                <div class="mg-posts-sec-inner">
                    <?php if ( have_posts() ) { /* Start the Loop */
                        while ( have_posts() ) { the_post(); ?>
                            <article class="d-md-flex mg-posts-sec-post">
                                <?php newsup_post_image_display_type($post); ?>
                                <div class="mg-sec-top-post py-3 col">
                                    <?php newsup_post_categories(); ?> 
                                        <h4 class="entry-title title"><a href="<?php the_permalink();?>"><?php the_title();?></a></h4>
                                        <!-- Show meta for posts and other types, hide for pages in search results -->
                                        <?php if ( is_search() && get_post_type() === 'page' ) {}
                                        else {
                                            newsup_post_meta();
                                        } ?>
                                        <div class="mg-content">
                                            <p><?php echo wp_trim_words( get_the_excerpt(), 20 ); ?></p>
                                    </div>
                                </div>
                            </article>
                        <?php } 
                        newsup_page_pagination();
                  
                    } else { ?>
                        <div class="mg-card-box padding-20 search">              
                            <h2><?php esc_html_e( "Nothing Found", 'newsup' ); ?></h2>
                            <p>
                                <?php esc_html_e( "Sorry, but nothing matched your search criteria. Please try again with some different keywords.", 'newsup' ); ?>
                            </p>
                            <?php get_search_form(); ?>
                        </div><!-- .blog_con_mn -->
                    <?php } ?>
                </div>
            <!-- // mg-posts-sec-inner -->
        </div>
        <!-- // mg-posts-sec block_6 -->
    <!--col-md-12-->
</div>

ZeroDay Forums Mini