Need a PHP lesson
-
Hi, I want to write a PHP statement that says:
Check custom field "my_title"
If "my_title" exists AND "my_title" is not empty {
echo "my_title";
} else {
<?php the_title(); ?>
}
I’m a total PHP newbie, please please please help me out. Thanks!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Need a PHP lesson’ is closed to new replies.