Jump to content
Sign in to follow this  
KateMacwil

Custom Field Not Displaying

Recommended Posts

Hi

I have a added a custom field to my posts called "Event Date".

When I display my widget sidebar for recent posts the text "Event Date:" is showing, however my php variable is displaying instead of its contents.
I have tried surrounding this var in <?php $sEventDate ?> - and nothing displays.

I have also tried this: <?php echo $sEventDate ?> and still nothing displays

What have I done wrong?

issue-event-date.png

Share this post


Link to post
Share on other sites

There is some context missing here. What software are you using? What is a custom field? Is the software actually built in PHP?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×