Showing a static heading.
-
I am using the following code to show the custom posts information but I have a static heading for this that I only want to show when there is something in the field – “other-informaiton-2” The way I have it now it shows on the page all the time. Can you please advise on this issue.
<h4>Travel, Food, Lodging and other information:</h4>
<p><?php echo types_render_field(“other-information-2”, array(“argument1″=>”value1″,”argument2″=>”value2″,”argument2″=>”value2”));?></p>Thank you.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Showing a static heading.’ is closed to new replies.