403Webshell
Server IP : 66.29.132.124  /  Your IP : 3.143.7.53
Web Server : LiteSpeed
System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : wavevlvu ( 1524)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/wavevlvu/misswavenigeria.com/wp-content/themes/siteorigin-corp/loops/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/wavevlvu/misswavenigeria.com/wp-content/themes/siteorigin-corp/loops/loop-portfolio.php
<?php
/**
 * Loop Name: Portfolio (only for Jetpack portfolio projects)
 *
 * @license GPL 2.0
 */
?>

<?php if ( post_type_exists( 'jetpack-portfolio' ) && ! ( is_tax( 'jetpack-portfolio-type' ) || is_tax( 'jetpack-portfolio-tag' ) ) ) { ?>
	<?php wp_enqueue_script( 'jquery-isotope' ); ?>
	<div class="portfolio-filter-terms">
		<button data-filter="*" class="active"><?php echo esc_html__( 'All', 'siteorigin-corp' ); ?></button>
		<?php
		$taxonomy = 'jetpack-portfolio-type';
		$tax_terms = get_terms( $taxonomy );

		foreach ( $tax_terms as $tax_term ) { ?>
				<button data-filter=".<?php echo $tax_term->slug; ?>"><?php echo $tax_term->slug; ?></button>
			<?php }
		?>
	</div>
<?php } ?>

<div class="portfolio-loop" id="portfolio-loop">
	<?php

	$args = array(
		'post_type'      => 'jetpack-portfolio',
		'paged'          => $paged,
		'posts_per_page' => get_option( 'jetpack_portfolio_posts_per_page' ),
	);

	if ( ! is_post_type_archive() ) {
		$portfolio_query = new WP_Query( $args );
	} else {
		$portfolio_query = $wp_query;
	}

	if ( post_type_exists( 'jetpack-portfolio' ) && $portfolio_query->have_posts() ) { ?>

		<div id="projects-container">

			<?php
		while ( $portfolio_query->have_posts() ) {
			$portfolio_query->the_post();

			get_template_part( 'template-parts/content', 'portfolio' );
		} ?>

		</div><?php

		if ( is_rtl() ) {
			the_posts_pagination( array(
				'prev_text' => '&rarr;',
				'next_text' => '&larr;',
			) );
		} else {
			the_posts_pagination( array(
				'prev_text' => '&larr;',
				'next_text' => '&rarr;',
			) );
		}
	} else {
		get_template_part( 'template-parts/content', 'none' );
	}
	?>

</div><!-- .portfolio-loop -->

Youez - 2016 - github.com/yon3zu
LinuXploit