/
/
home
/
melaqxso
/
public_html
/
wp-content
/
themes
/
hub
/
templates
/
portfolio
/
single
/
parts
Server: server63.web-hosting.com (198.54.116.184)
You: 216.73.216.61
PHP 7.4.33
Dir:
/home/melaqxso/public_html/wp-content/themes/hub/templates/portfolio/single/parts
Edit:
/home/melaqxso/public_html/wp-content/themes/hub/templates/portfolio/single/parts/part-meta.php
<?php if ( class_exists( 'Liquid_Elementor_Addons' ) ){ $page_settings_manager = \Elementor\Core\Settings\Manager::get_settings_managers( 'page' ); $page_settings_model = $page_settings_manager->get_model( get_the_ID() ); $atts = explode("\n", str_replace("\r", "", $page_settings_model->get_settings( 'portfolio_attributes' ))); } else { $atts = get_post_meta( get_the_ID(), 'portfolio-attributes', true ); } if( !is_array( $atts ) ) { return; } foreach ( $atts as $attr ) { if( !empty( $attr ) ) { $attr = explode( "|", $attr ); $label = isset( $attr[0] ) ? $attr[0] : ''; $value = isset( $attr[1] ) ? $attr[1] : $label; echo '<div class="lqd-pf-single-meta-part">'; if( $label ) { echo '<p class="my-0">' . esc_html( $label ) . '</p>'; } echo '<p class="my-0">'. do_shortcode( $value ) . '</p>'; echo '</div>'; } }
Ukuran: 888 B