KateMacwil Posted June 13, 2018 Share Posted June 13, 2018 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? Link to comment Share on other sites More sharing options...
Ingolme Posted June 13, 2018 Share Posted June 13, 2018 There is some context missing here. What software are you using? What is a custom field? Is the software actually built in PHP? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now