Try this:
<?php $description = get_post_meta( $post->ID, 'page-description', true ); ?>
<div id="page-title">
<?php if( $description !='' ) { ?>
<p><?php echo $description; ?></p>
<?php } ?>
Related Posts:
- How set featured posts using checkbox in post edit screen?
- Add a checkbox to post screen that adds a class to the title
- Custom Field in Featured image for A particular post
- Convert custom fields to post categories
- Update all posts automatically when using post_meta
- I am trying to create a simple frontend form for posting
- Prevent duplicate posts in wp_insert_post using custom fields
- HTML code in Custom field
- Better post meta efficiency?
- How to show posts rank based on custom field value
- Add custom field to all posts in specific category
- Adding a Nav menu to post admin
- meta_box or custom_field as a second tinymce post-instance?
- Guest Author – How to modify my custom function code if the guest author URL will follow a particular pattern/format?
- Create A Metabox For A Custom Field
- get_post_custom stripping styling issue
- Change post format using custom field
- How to change what the post creation page looks like?
- Sanitizing `wp_editor();` Values for Database, Edit, and Display
- How can I make existing custom fields easier to edit/add in my theme?
- Add custom fields to post programmatically
- How to get Advanced Custom Field Value According using POST ID? [closed]
- How to add a custom field after wp post
- Custom fields on a virtual page
- What Is meta_id In wp_postmeta?
- Get a custom field of all posts on current blog page
- Only display posts after current date
- Add custom field automatically (add_post_meta) with value based on number of words of article
- Global $post not working in OOP function WordPress
- How can I get a post field value using javascript?
- Automatic value for custom fields for posts
- Understanding and using metaboxes in posts
- Duplicating Table of Contents for Paginated Post
- Guest Author – How to display posts on /author/ archive page
- WP_Query orderby not working with meta_value_num and menu_order
- How do I correctly set up a WP-Query to only show upcoming event-posts?
- Is there a way to notify specific users when new posts are published to specific pages?
- Categories list into registration form
- Add a custom meta box in the post options that loads some html code in the header
- Cannot retrieve a custom RSS field from posts
- Query Posts by Custom Field
- Customize rel=canonical tag for single blog post
- How to I retrieve the ID from the Posts page?
- Get post ID from a link
- Create a list of posts with topic headdings
- Add field to user meta table in database when link is clicked
- Hide custom metabox value from custom fields
- Get post meta retrieving wrong value
- Edit multiple custom post types while saving a new or edited post
- if in category but only with post meta
- Output Post with ACF Fields into other Post
- Saving Post Data in Another Database
- After ajax image is outside the “ tag
- Edit custom fields in posts list
- Add multiple meta keys to a post at once
- WP_Query custom field pass the post id
- If custom field is empty, use one from a previous post
- saving/reading custom field value does not work – no value gets POSTed
- Why my meta boxes won’t show in front post page?
- Adding external field to my post form (admin side) and to post show (frontend side)
- How To Use Custom Fields With .mp3 Links
- how can display a post on home screen without images
- Display content between two dates?
- Will multiple category descriptions effect my search engine optimization?
- Automate post update for all posts?
- How to save template data into wp_post table (post_content column)
- Override WordPress core post-template.php block template
- Only the most recent post is showing on my category page (working on localhost, not live site)
- Post meta not working
- Custom Fields – How to get the list of a specific active widget each time it rendered
- Adding an option to post editor to show a site disclaimer or message
- Saving canvas generated image when saving post causes 404 error
- Need to display a Jan 1st post as the site’s front page on Jan 1st, and Jan 2nd post as front page on Jan 2nd etc
- Is there a way to save different data when USER interacts with the same POST?
- How do you update post date (year only) in a separate custom field?
- How do I display posts ordered by a date custom field?
- WP_Query sort by meta_value_num or date
- Auto populate custom fields by post date
- ACF Relationship – Get Parent’s Post Object
- Extracting a TLD from the content and assign to custom field
- How to retrieve a post by inputing the url in a custom field and displaying it on an options page
- Custom fields in normal posts
- get_the_ID() fails the first time, returns a value the second time it’s called
- Apply comment to different post (not the current post) [duplicate]
- Order posts by separate menu order for different sub-categories
- How to only allow post to be deleted if custom field doesn’t exist
- How to custom sort-out editing-panel fields?
- Delete old post with new post
- How can I create a menu items from meta box based on users input
- Home page: using custom fields for posts and pages
- How would I attach media/images to a post based on a ID stored in a each post’s custom field
- How do I insert a custom field in a user submitted post?
- Attaching global meta to custom fields
- First Custom Post Custom Fields Empty After New Custom Post
- How to Do Custom Fields to Output a Definition List
- Display a custom field rating system in the front end
- How enter custom post meta or custom field on box post list archive page?
- How to make a local “scroll to ID” on post?
- Read more opens attachment
- Image inside the content is replaced with featured image from my older post