HEX
Server: Apache
System: Linux pars3.abtinweb.com 4.18.0-553.83.1.lve.el8.x86_64 #1 SMP Wed Nov 12 10:04:12 UTC 2025 x86_64
User: parsata2 (1091)
PHP: 8.2.31
Disabled: show_source, system, shell_exec, passthru, exec, popen, proc_open
Upload Files
File: /home/parsata2/.trash/gallery/gallery-lists.php
<section class="o-section c-section--gallery-img-lists">
	<div class="c-gallery-img-lists">
		<div class="o-section__wrapper">
			<ul>

				<?php
				// $paged = (get_query_var('paged')) ? absint(get_query_var('paged')) : 1;
				$args = array(
					'post_type' => 'gallery',
					'posts_per_page' => '8',
					'paged' => $paged
				);
				$cat_query = new WP_Query($args);
				if ($cat_query->have_posts()):
					while ($cat_query->have_posts()):
						$cat_query->the_post();
						?>
						<li>
							<a href="<?php echo get_the_permalink(); ?>" title="<?php echo get_the_title(); ?>">
								<div>
									<img src="<?php echo get_the_post_thumbnail_url(); ?>" alt="">
									<div class="card-blog-top">
										<span class="logo">
												<svg width="60" height="60" viewBox="0 0 62 86" fill="none"
													 xmlns="http://www.w3.org/2000/svg">
								<path
									d="M0.34 13.4805C0.23 34.4905 0.12 55.5005 0 76.5105L23.93 41.2905C16.07 32.0205 8.2 22.7505 0.34 13.4805Z"
									fill="#B49B58"></path>
								<path
									d="M60.84 0C60.95 27.47 61.06 54.94 61.18 82.41C59.11 82.55 56.85 82.53 54.44 82.24C42.42 80.79 34.14 73.5 30.34 69.6L41.29 61.17C42.89 63.26 44.63 65.4 46.51 67.57C49.36 70.87 52.2 73.84 54.94 76.5C54.08 72.95 53.24 69.36 52.41 65.71C50.88 58.97 49.48 52.34 48.2 45.82C32.75 58.96 17.3 72.11 1.86 85.25C21.51 56.85 41.18 28.42 60.84 0Z"
									fill="#B49B58"></path>
							</svg>
</span>
									</div>
								</div>

								<div>
									<h2>    <?php echo get_the_title(); ?></h2>
									<p>
										<?php echo get_the_excerpt(); ?>
									</p>
									<div class="more-detail">
										<span>
											<?php echo get_the_date() ?>
										</span>
										<span>مشاهده بیشتر
					<svg width="17" height="17" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
										<circle cx="12.5" cy="12.5" r="12.5" fill="#00AFEF"></circle>
										<path
											d="M13.8281 6.875L14.825 7.87188L10.05 12.6766L14.8266 17.4813L13.8297 18.4781L8.0875 12.6781L13.8281 6.875Z"
											fill="white"></path>
									</svg>
											</span>
									</div>

								</div>
							</a>
						</li>

					<?php
					endwhile;
				endif;
				wp_reset_postdata();

				$big = 999999999; // need an unlikely integer   ?>
			</ul>
		</div>
	</div>
</section>