PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/footcrew.com/ads/wp-content/themes/classipress/parts/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : /home/trave494/footcrew.com/ads/wp-content/themes/classipress/parts/content-author-ad_listing.php

<?php
/**
 * Author page listings content template.
 *
 * @package ClassiPress\Templates
 * @since 4.0.0
 */

/**
 * Filters the default Author listing args.
 *
 * @since 4.0.0
 *
 * @param array $args The default arguments.
 */
$args = apply_filters( 'cp_author_listing_items_args', array(
	'post_type'           => APP_POST_TYPE,
	'posts_per_page'      => 10,
	'ignore_sticky_posts' => true,
	'author'              => $author->ID,
	'orderby'             => 'rand',
) );

$author_listings = new WP_Query( $args );

if ( ! $author_listings->have_posts() ) {
	return;
}
?>
<script>
jQuery( function( $ ) {
	$( '.items-featured' ).slick( {
		adaptiveHeight: false,
		rtl: $('html').attr('dir') === 'rtl',
		slidesToShow: 2,
		slidesToScroll: 2,
		responsive: [ {
		breakpoint: 840,
		settings: {
			slidesToShow: 1,
			slidesToScroll: 1
		}
		} ]
	} )
	.fadeTo( 'slow' , 1 );
} );
</script>

<div class="row author-listings">

	<div class="columns">

		<section>

			<h3 class="section-title"><?php _e( 'My Listings', APP_TD ); ?></h3>

			<div class="items-featured" style="opacity: 0;">

				<?php while ( $author_listings->have_posts() ) : $author_listings->the_post(); ?>

					<?php get_template_part( 'parts/content-item', get_post_type() ); ?>

				<?php endwhile; ?>

			</div> <!-- .items-featured -->

		</section>

	</div> <!-- .columns -->

</div> <!-- .row -->

<?php wp_reset_query(); ?>