Sid Gifari File Manager
🏠 Root
/
home
/
nradmin
/
www
/
wp-content
/
themes
/
flatsome
/
template-parts
/
portfolio
/
📝 Editing: portfolio-related.php
<?php /** * Portfolio related. * * @package Flatsome\Templates * @flatsome-version 3.16.0 */ if ( get_theme_mod( 'portfolio_related', 1 ) == 0 ) { return; } $terms = get_the_terms( get_the_ID(), 'featured_item_category' ); $term_id = $terms ? current( $terms )->term_id : ''; $height = get_theme_mod( 'portfolio_height' ); $height = $height ? $height : ''; echo do_shortcode( '<div class="portfolio-related">[ux_portfolio image_height="' . $height . '" class="portfolio-related" exclude="' . get_the_ID() . '" cat="' . $term_id . '"]</div>' );
💾 Save
❌ Cancel
Sid Gifari File Manager v1.0 | Terminal Auto-Sync Enabled | Current Path: /home/nradmin/www/wp-content/themes/flatsome/template-parts/portfolio