my goal was to replace the [?php echo get_post_meta(1717, 'Ref', true); ?] with [?php echo get_post_meta($post->ID, 'Ref', true); ?] ###>my goal was to replace the [?php echo get_post_meta(1717, 'Ref', true); ?] with [?php echo get_post_meta($post->ID, 'Ref', true); ?]