This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
$main_img_wppath = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), 'full')[0]; | |
$portfolio_cats = get_the_term_list( $post->ID, 'portfolio_category', '', ', '); | |
// declaring all possible custom fields (usually only some of them are populated in the portfolio page) | |
$portfolioPostIcon = get_post_meta($post->ID, 'portfolioPostIcon', true); | |
$customers = get_post_meta($post->ID, 'customers', true); | |
$relnotes = get_post_meta($post->ID, 'relnotes', true); | |
$appstore = get_post_meta($post->ID, 'appstore', true); |