Return to Snippet

Revision: 31750
at September 12, 2010 06:11 by dloop

Initial Code
	<?php if (get_post_meta($post->ID, "customtitle", true)) : ?>
	<?php $key="customtitle"; echo get_post_meta($post->ID, $key, true); ?>
	<?php else : ?>
	<?php the_title(); ?>
	<?php endif; ?>

Initial URL

Initial Description
To create a post or page title that is different than the title above the permalink. :: HOW TO :: in the wordpress post or page administration panel -> custum field panel -> name: "customtitle" // value: "Your Post or Page Title".

Initial Title
Wordpress: Custom Field Post or Page Title H1

Initial Tags

Initial Language