• Resolved e_des

    (@e_des)


    I developed on a custom template which worked well on my local server. My pages no longer show up after I exported the database and set up my site on my hosting company’s server. When I switch over to the default theme they appear, so it’s clearly something in my theme. I just can’t find it.

    My site is here. (it only has placeholder content). http://www.paulsantoleri.com/

    PS- I’m using default permalinks.

    Thanks for any help!

Viewing 10 replies - 1 through 10 (of 10 total)
  • Given that I can see some content on your site using a non-default theme, I’m not sure what you mean when you say that your pages don’t show.

    Thread Starter e_des

    (@e_des)

    I have a top navigation in the header with “About”, “Press”, and “Contact” pages. The nav, and subsequently, the pages aren’t appearing. My posts are there, just not these additional pages. I can temporarily switch themes to show you what I mean if that’s at all helpful.

    Thanks!

    You need to check your header.php file. There’s no top nav block being generated.

    If you drop a copy of the file into the WordPress pastebin and post the pastebin url here, perhaps someone will be able to spot the problem and suggest a solution.

    Thread Starter e_des

    (@e_des)

    Here’s the pastbin URL:
    http://wordpress.pastebin.com/WMn8DfFE

    I did see that the nav block isn’t being generated. What’s so perplexing is that it is generated when I host the site locally and/or when I have a different theme.

    Thanks again!

    Sorry but the code in the pastebin is not the code for your current theme header.

    Thread Starter e_des

    (@e_des)

    ??? I just downloaded it and checked it against the one that I posted. It’s the same. I’ve been experimenting just now and may have had an older version up in an attempt to isolate the problem. But the one that is up now is the same as the pastbin code.

    I’m starting to think the issue is where I cut the code apart and I’m missing a closing tag somewhere.

    From your site:

    <body class="home blog">
    <div id="page">
    
    <div id="header" role="banner">
    	<div id="headerimg">
    		<h1><a href="http://www.paulsantoleri.com/">Paul Santoleri</a></h1>
    
    		<div class="description"></div>
    	</div>
    </div>

    From the code in the pastebin:

    <body>
    <div id="page">
    	<div id="header">
    		<div id="headerimg">
    			<h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
    			<div class="description"><?php bloginfo('description'); ?></div>
    		</div>
    		<ul id="nav">
    			<?php wp_list_pages('sort_column=menu_order&depth=1&title_li=');?>
    		</ul>
    	</div>
    	<!--/header -->

    Very different markup…

    Thread Starter e_des

    (@e_des)

    Perhaps this is the problem….

    The code that I posted is the header.php file that is in my custom theme. I honestly don’t know where the header code is being pulled from in the site. My assumption was that it appeared differently because that’s how WorPress stiched the files together. Clearly, I’m a newbie to WorPress and I don’t know anything at all about php…

    Your site is currently using a theme that looks as if was based on the Kubrick (default) theme.

    Thread Starter e_des

    (@e_des)

    Eureka.

    Thank you!

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

The topic ‘Pages not appearing’ is closed to new replies.