Reputation
Top tag
Next privilege 5 Rep.
Participate in meta
Badges
0 0 0
Impact
~151 people reached

  • 0 posts edited
  • 0 helpful flags
  • 0 votes cast
Oct
11
comment Fallback for empty custom fields
For some reason, WP didn't like me doing that, or I added it incorrectly: Fatal error: Can't use function return value in write context in /home/toasterd/public_html/bctderezzed.co/wp-content/themes/trece/tour-template.‌​php on line 83 when entered as <?php if(!empty(get_post_meta($post->ID, "Pricing_Land_Only", true))) { echo get_post_meta($post->ID, "Pricing_Land_Only", true); } else { echo "TBD or not applicable"; } ?>