Server IP : 172.67.158.161 / Your IP : 3.15.15.217 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/proc/thread-self/root/home/giankuin/./bnnagency.com/wp-content/themes/flatsome/template-parts/portfolio/ |
Upload File : |
<?php /** * Portfolio related */ 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>' );