# Wordpress Page.html - Getting the page content to show

**URL:** https://forum.pinegrow.com/t/wordpress-page-html-getting-the-page-content-to-show/1078
**Category:** Pinegrow WP
**Created:** [July 6, 2017, 8:16pm UTC](https://forum.pinegrow.com/t/wordpress-page-html-getting-the-page-content-to-show/1078 "2017-07-06T20:16:30Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![zero2xiii](https://avatars.discourse-cdn.com/v4/letter/z/7ba0ec/32.png) [@zero2xiii](https://forum.pinegrow.com/u/zero2xiii)
#### Post date: [July 6, 2017, 8:16pm UTC](https://forum.pinegrow.com/t/wordpress-page-html-getting-the-page-content-to-show/1078/1 "2017-07-06T20:16:30Z")

</div>

Good day All,

I hope this is a simple query.

Currently I have a wordpress theme with all the pages as per the tutorial videos, however I am stuck now as they do not explain how to edit the “page.html” file.

There are 3 pages created in my wordpress: “Contact Us”; “Products”; “Sample Page”. These display correctly in the menu and once you click on them the “Page.php” is activated as expected, however the “content” of the page is not displaying.

I have 2 elements on the page:  
Page Title:

> # \<?php wp\_title(); ?\>

Paragraph:

> Should be the content of the page created

I am having trouble with the paragraph section.  
This is my current code snippet: [https://pastebin.com/wu9zLbce](https://pastebin.com/wu9zLbce)

Please help me with how to get the page created in wordpress to display here.

---

<div class="post-metadata">

### Author: ![Rob](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/rob/32/9_2.png) [@Rob](https://forum.pinegrow.com/u/Rob)
#### Post date: [July 6, 2017, 8:48pm UTC](https://forum.pinegrow.com/t/wordpress-page-html-getting-the-page-content-to-show/1078/2 "2017-07-06T20:48:47Z")

</div>

Hi @zero2xiii have you read this article? ([http://docs.pinegrow.com/how-to-use-wordpress-pages-and-posts-templates/](http://docs.pinegrow.com/how-to-use-wordpress-pages-and-posts-templates/)) It might be of help

---

<div class="post-metadata">

### Author: ![zero2xiii](https://avatars.discourse-cdn.com/v4/letter/z/7ba0ec/32.png) [@zero2xiii](https://forum.pinegrow.com/u/zero2xiii)
#### Post date: [July 7, 2017, 7:39am UTC](https://forum.pinegrow.com/t/wordpress-page-html-getting-the-page-content-to-show/1078/3 "2017-07-07T07:39:08Z")

</div>

HI Rob,

I have had a read through it and I have applied the “Define page template” property. However the page content is still not displaying. The “P” section’s content is not being replaced by the page’s content. The correct file is used by wordpress.

How do I get the page content to display here?

---

<div class="post-metadata">

### Author: ![cmoore](https://avatars.discourse-cdn.com/v4/letter/c/6de8d8/32.png) [@cmoore](https://forum.pinegrow.com/u/cmoore)
#### Post date: [January 2, 2018, 7:06pm UTC](https://forum.pinegrow.com/t/wordpress-page-html-getting-the-page-content-to-show/1078/4 "2018-01-02T19:06:09Z")

</div>

Hi, did you ever figure out how to get the content of the pages to show?

---

<div class="post-metadata">

### Author: ![Emmanuel](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/emmanuel/32/6294_2.png) [@Emmanuel](https://forum.pinegrow.com/u/Emmanuel)
#### Post date: [January 3, 2018, 8:06am UTC](https://forum.pinegrow.com/t/wordpress-page-html-getting-the-page-content-to-show/1078/5 "2018-01-03T08:06:45Z")

</div>

@zero2xiii and @cmoore Please, go to [http://docsbeta.pinegrow.com/how-to-get-woocommerce-to-run-in-a-wordpress-theme-created-with-pinegrow/#bonus-files](http://docsbeta.pinegrow.com/how-to-get-woocommerce-to-run-in-a-wordpress-theme-created-with-pinegrow/#bonus-files) and download the sample theme.

There, you will find the theme from the video tutorial and you will be able to analyze the page.html template.

Note: I don’t remember if we cover the page.html template in the video tutorial but I guess that the loop is missing in your template.

---

<div class="post-metadata">

### Author: ![cmoore](https://avatars.discourse-cdn.com/v4/letter/c/6de8d8/32.png) [@cmoore](https://forum.pinegrow.com/u/cmoore)
#### Post date: [January 3, 2018, 9:14am UTC](https://forum.pinegrow.com/t/wordpress-page-html-getting-the-page-content-to-show/1078/6 "2018-01-03T09:14:53Z")

</div>

@Emmanuel I must be missing something. I have a static page for the home page and couldn’t get it to work. But, I also just purchased the PG WP Starter Theme to see what it’s doing differently. I have text in WP for the Home page. I have created and index.html and page.html and exported the theme and the text on the Home page is still not showing???

I also took a look at the example you showed, but didn’t see anything different from the starter theme.

---

<div class="post-metadata">

### Author: ![cmoore](https://avatars.discourse-cdn.com/v4/letter/c/6de8d8/32.png) [@cmoore](https://forum.pinegrow.com/u/cmoore)
#### Post date: [January 3, 2018, 9:22am UTC](https://forum.pinegrow.com/t/wordpress-page-html-getting-the-page-content-to-show/1078/7 "2018-01-03T09:22:08Z")

</div>

@Emmanuel, Here is the page.php file that gets created from the PG WP Starter Theme:

```
 <?php
get_header(); ?>

<section>
    <div class="container-fluid">
        <div class="row">
            <div class="col-sm-9">
                <?php if ( have_posts() ) : ?>
                    <?php while ( have_posts() ) : the_post(); ?>
                        <?php get_template_part( 'template-parts/content-page' ); ?>
                    <?php endwhile; ?>
                <?php else : ?>
                    <p><?php _e( 'Sorry, no posts matched your criteria.', 'pg_wp_starter_theme' ); ?></p>
                <?php endif; ?>
                <?php if ( comments_open() || get_comments_number() ) : ?>
                    <?php comments_template(); ?>
                <?php endif; ?>
            </div>
            <div class="col-sm-3">
                <?php if ( is_active_sidebar( 'right_sidebar' ) ) : ?>
                    <aside id="main_sidebar">
                        <?php dynamic_sidebar( 'right_sidebar' ); ?>
                    </aside>
                <?php endif; ?>
            </div>
        </div>
    </div>
</section>                

<?php get_footer(); ?>

```

Given this, the text in WP for the Home page shown below doesn’t show up.

 ![58](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/1X/cb60e71d51e7a33a76a0960d54cdf988a6e44a06.png)

---

<div class="post-metadata">

### Author: ![Emmanuel](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/emmanuel/32/6294_2.png) [@Emmanuel](https://forum.pinegrow.com/u/Emmanuel)
#### Post date: [January 3, 2018, 10:33am UTC](https://forum.pinegrow.com/t/wordpress-page-html-getting-the-page-content-to-show/1078/8 "2018-01-03T10:33:19Z")

</div>

The question is: When you use the starter theme OR the theme package I have provided and you export to a WordPress theme and you activate the theme, do you get the content of the page ?

If yes, then, there is an issue somewhere in your theme and without having a look at your whole project, it’s going to be difficult to help \> [support@pinegrow.com](mailto:support@pinegrow.com)

Cheers.

---

<div class="post-metadata">

### Author: ![cmoore](https://avatars.discourse-cdn.com/v4/letter/c/6de8d8/32.png) [@cmoore](https://forum.pinegrow.com/u/cmoore)
#### Post date: [January 3, 2018, 11:39am UTC](https://forum.pinegrow.com/t/wordpress-page-html-getting-the-page-content-to-show/1078/9 "2018-01-03T11:39:53Z")

</div>

If I use just the starter theme, not change anything and export it after creating the index.html and page.html. The content does not show on the page. I’ll contact you on support. 🙂
