Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End [Solved] Custom Fields get_post_meta question Re: [Solved] Custom Fields get_post_meta question

#64728
Dominic
Member

I’m not all that good at php, but what you have done with Doc’s code looks ok to me!

I’m assuming the problem is that the links aren’t showing up at all?

I’m guessing you have some css styling on the anchor tags to give them height and width?
ie., you have this:

Code:
echo ‘

Website:

‘;

rather than:

Code:
echo ‘

Website: Visit Website

‘;

Other than that, I sometimes find that my supposedly empty custom fields (when made using the flutter plugin) have blank characters in them.
So I use the following:

Code:
Website:

‘;
}
?>

I hope I haven’t led you up the garden path here. I’m pretty new to php.