{{-- Template Name: HauN Code --}} @extends('layouts.app') @section('content') @php($haun_code = get_query_var('haun_code'))
@php $posts = array( 'post_type' => 'post', 'post_status' => 'publish', 'posts_per_page' => -1, 'meta_query' => array( array( 'key' => '_haun_metabox_options', 'value' => '"haun_original_title";s:' . strlen($haun_code) . ':"' . $haun_code . '"', 'compare' => 'LIKE' ) ) ); $wp_query = new WP_Query( $posts ); @endphp @while($wp_query->have_posts()) @php($wp_query->the_post()) @include('partials.post-item') @endwhile @php(wp_reset_postdata())
@endsection