/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/




function dzign_avada_display_services_categories_in_meta( $post_meta, $post_id ) {

    // Only apply to CPT "services"
    if ( get_post_type( $post_id ) !== 'services' ) {
        return $post_meta;
    }

    // Get the taxonomy terms for this post
    $terms = get_the_term_list( $post_id, 'services_category', '', ', ' );

    if ( $terms ) {
        $post_meta['terms'] = $terms;
    }

    return $post_meta;
}
add_filter( 'fusion_post_meta_fields', 'dzign_avada_display_services_categories_in_meta', 10, 2 );





<?php
$image_2_id = get_field('featured_image_2');
$image_3_id = get_field('featured_image_3');

if ( $image_2_id ) {
    // Displays the medium size image
    echo wp_get_attachment_image( $image_2_id, 'medium' ); 
}

if ( $image_3_id ) {
    // Displays the full size image
    echo wp_get_attachment_image( $image_3_id, 'full' ); 
}
?>