Created
December 30, 2015 13:33
-
-
Save jitenbharadava/e67d7c4dad251f38d73e to your computer and use it in GitHub Desktop.
Meta Filed Show
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php if(get_post_meta($post->ID, '_Prifix_url_target', true) == "standard" ) | |
{ ?> | |
<a href="<?php echo get_post_meta($post->ID, '_Prifix_URL_link', true) ?>" target="_blank"> | |
<h1><?php the_title(); ?></h1> </a> | |
<?php } | |
else if(get_post_meta($post->ID, '_Prifix_url_target', true) == "custom" ){ ?> | |
<a href="<?php echo get_post_meta($post->ID, '_Prifix_URL_link',true) ?>" > | |
<h1><?php the_title(); ?></h1> </a> | |
<?php | |
} | |
else | |
{?> | |
<h1><?php the_title(); ?></h1> | |
<div class="meco-cant"><?php the_content(); ?></div> | |
<?php } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment