• Resolved wrighzaa

    (@wrighzaa)


    I am developing a custom theme and somewhere along the line my pages’ content (entered through the regular content editor of the page editor) will not format correctly. For instance, if I enter a list in the content of the page, it renders as just a single paragraph.

    I’m newer to developing themes, so is it possible I left out a php file that specifies how to render page content (other than the loop)?

    So far, I have an index.php, page.php, front-page.php, and some page-slug.php’s. When I switched to twentysixteen theme, the page content would format correctly, so there is a problem with my theme. Does anyone have an idea of where to start?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Dos this happen across all template pages or is it specific to one template?

    Thread Starter wrighzaa

    (@wrighzaa)

    Even the pages that draw from page.php. Not just the template pages (like page-about.php, or page-contact.php)

    Thread Starter wrighzaa

    (@wrighzaa)

    Thank you for your response. I just looked at my code and saw that I had copied a “the loop” with the_excerpt() used instead of the_content() so I suppose that fixes this problem. I appreciate your response and willingness to help!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Page Content Will Not Format Correctly (Custom Theme)’ is closed to new replies.