Hi there!
I've a template that's using custom field for the post title.
The problem is that I've an old database and the new theme does not recognize the post titles. And if I write a new post and put the title in the normal field it doesn't appear. It only recognizes the custom field.
What I have in the current theme is:
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<?php
$mypost = get_post($post->ID);
$posttime = $mypost->post_date;
...
I would like to know how can I "call" the old database post title when I don't have a post with the title custom field. Maybe with an "else"?
Thanks for your time and help!