Return to Snippet

Revision: 43964
at April 4, 2011 09:47 by alexeihidalgo


Initial Code
<?php $FIELDNAME = get_post_meta($post->ID, 'FIELDNAME', true);
	
	if($FIELDNAME) : ?>

	<a title="Click Here To Purchase Tickets" href="<?php get_custom_field_value('FIELDNAME', true) ?>" rel="bookmark">PURCHASE TIX</a>

	<?php endif; ?>

Initial URL

                                

Initial Description

                                

Initial Title
Show custom field only if populated Wordpress

Initial Tags
wordpress

Initial Language
PHP