I found what I did wrong. Should’ve set the to $link_secondary.
if ( ! ( $link_secondary = get_post_meta( get_the_ID(), $url_secondary_field, true ) ) ) {
$link_secondary = false;
}
-
This reply was modified 6 years, 9 months ago by saribri.
-
This reply was modified 6 years, 9 months ago by saribri.