I want to know if there is a way that 2 different custom fields that have basicly the same value function to be combined.
1) meta_name: my_link and meta_value: a link 2) meta_name: other_link and meta_value: other link
It should work like this: The general call in my template is
<?php if ( get_post_meta($post->ID, 'my_link', true) ) : ?> <?php echo $my_link; ?> <?php endif; ?>
So if in the post is present meta_name: other_link and not my_link and in the template is queried my_link, I want the other_link meta_name to be recognized as meta_name: my_link.
I searched all over. Thanks in advance.