WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Display PAGE content (not POST) (2 posts)

  1. rahulkhosla
    Member
    Posted 1 year ago #

    Hi,

    I have a file called about.php

    Contents:

    <?php
    /* Template Name: About */
    get_header();
    ?>
    <div id="main">
      		<h2><?php wp_title($display); ?></h2>
            <div id="pageHolding">
    
        	</div>
    </div>
    
    <div id="delimiter"></div>
    
    <?php get_footer(); ?>

    How do I get the PAGE content that I wrote in WP-Admin area to appear in #pageHolding div?

    Thanks

  2. rahulkhosla
    Member
    Posted 1 year ago #

    Never mind I done it, just use a default template.

Topic Closed

This topic has been closed to new replies.

About this Topic