• I am updating a website for a friend of mine. But somehow something has gone terribly wrong.
    I tried to adjust some code (remove the cufon font replacement) the website was a lot faster but, somehow none of my page was showing up…
    I had also a problem with the database, so I made a new database, a new wordpress 3 install, and used the theme without any adaptions.
    But it still will not work.
    Not the page, but all posts are displayed..

    https://outdoor-stevents.nl/website/?page_id=235
    This is an example page which was filled with text, but is only showing posts..
    All other themes display the pages normally…

    Do you have any clue or suggestions?
    I have made an export so I don’t need anything else, but I want this theme because my friend used it for a while..

    Hope you can help me out,

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter daand

    (@daand)

    Might be solved by removing some php which grabbed wrong templates somehow..

    Thread Starter daand

    (@daand)

    Did not work:
    Installed everything on sub directory with new database prefix..

    https://outdoor-stevents.nl/website/?page_id=235
    https://outdoor-stevents.nl/website/
    The page should be displayed but it wont..

    Thread Starter daand

    (@daand)

    Found out that somehow the page loads another template..

    https://outdoor-stevents.nl/contact

    Page.php gives:

    <?php
    
      if ( is_page(opt('services_page')) ) {
      include(TEMPLATEPATH . '/template-services.php');
    
      } elseif ( is_page(opt('blog_page')) ) {
      include(TEMPLATEPATH . '/template-blog.php');
    
      } elseif ( is_page(opt('blog2_page')) ) {
      include(TEMPLATEPATH . '/template-blog2.php');
    
      } elseif ( is_page(opt('blog1_page')) ) {
      include(TEMPLATEPATH . '/template-blog1.php');
    
      } elseif ( is_page(opt('portfolio_page')) ) {
      include(TEMPLATEPATH . '/template-portfolio.php');
    
      } elseif ( is_page(opt('contact_page')) ) {
      include(TEMPLATEPATH . '/template-contact.php');
    
      } else {
    
      get_header(); { ?>
    
    <?php } ?>

    And instead of displaying the page it displays template-blog.php

    So a figured out the problem pretty specific i think, but i dont know why, or how to solve it..

    Thread Starter daand

    (@daand)

    Anyone got idea’s?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Page not displayed, only all posts..’ is closed to new replies.