![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/mets.corals.io/wp-content/metras.v32.1/resources/views/ |
@extends('layouts.app') <?php $execludedPosts = [get_the_ID()]?> @section('content') <div class="row justify-content-center"> <div class="col-md-10"> @while(have_posts()) @php(the_post()) @includeFirst(['partials.content-single-'.get_post_type(), 'partials.content-single']) {{-- <style>--}} {{-- .posts-loop .post-{{the_ID()}}{--}} {{-- display: none;--}} {{-- }--}} {{-- </style>--}} @endwhile @if( isset($navigationPosts) ) <div class="pt-2"></div> <hr> <div class="single-post-navigation"> <div class="row d-flex flex-row"> <?php global $post ?> @foreach($navigationPosts as $key => $post) @if( isset($post) ) <div class="col-md-6 d-flex align-items-stretch post-nav-{{$key+1}}"> <?php setup_postdata($post) ?> <?php $execludedPosts[] = get_the_ID() ?> @include( App\cardPartial(), ['showDescription' => true, 'displayPostMeta' => false]) <?php wp_reset_postdata(); ?> </div> @endif @endforeach </div> </div> @endif @if(app\isMobile()) <hr> <?php query_posts([ 'post_type' => 'post', 'post__not_in' => [get_the_ID()], 'paged' => get_query_var('paged',0), 'posts_per_page' => 20, ]); ?> <div class="posts-loop" id="posts-infinite-scroll"> @include('partials.loops.mobile') </div> <?php wp_reset_query(); ?> @endif </div> </div> @endsection