Custom fields with if else conditionals
-
Hopefully somebody can assist me because I’m having no luck. I’m not an experienced coder but I’d really like to accomplish this. I want to link the title of my posts to external sources and I hope to use a conditional+custom field to do this. The custom field key is titled “source” and the value will be a url. So id like to say..
IF source (the key of my custom field) url (the value of my custom field) ELSE <?php the_permalink() ?>
Could somebody please give me some help?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Custom fields with if else conditionals’ is closed to new replies.