• Hello, i have just installed a wordpress site and have built my custom theme. Every thing works pretty well except for the fact that some pages don’t show any content at all. I have tried to search on how to fix this but i can’t find any solution, Because my own problem has pages that don’t even enter ‘the loop’. I have tried to echo things within the loop to make sure that it enters but to no avail. My theme is still offline so i could not provide a link to it.

Viewing 4 replies - 1 through 4 (of 4 total)
  • It is quite difficult to provide any kind of support (or help) without sopme detailed information such as:

    What kind of customization you did on wordpress?

    Can you share the code there you see the issues?

    What settings you have in your dashboard?

    What do you mean by “the loop”? Please share the source code…

    Thread Starter gastonche

    (@gastonche)

    <?php get_header(); ?>
    <style type="text/css">
    	.submit input{
    		height: 50px;
    		width: 200px;
    		background: #f88b0c;
    	}
    </style>
    <div class="row">
    	<?php while ( have_posts() ) : the_post(); ?>
    	<div class="col-md-12 ">
    		<h2 class="title ">
    			<center>
    				<?the_title()?>
    				<hr>
    			</center>
    		</h2>
    	</div>
    	<div class="col-md-12">
    		<?php if(has_post_thumbnail())?>
    			<?php the_post_thumbnail(); ?>
    	</div>
    	<div class="col-md-12">
    		<p>
    			<?php the_content(); ?>
    		</p>
    	</div>
    	<?php endwhile;?>
    </div>
    
    <?php get_footer(); ?>

    this is my source code for page.php

    That code runs fine if you swap to the Twenty-sixteen theme and replace teh existing page.php with that code.

    Without access to the entire theme it is going to be difficult to help you out.

    You say ‘some’ pages don’t work – what is the difference between them and pages that do work?

    @gastonche, thank you for the information but just like @juggledad mentioned, we need more information such as working page code VS non-working page code.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Some Pages Not showing Up.’ is closed to new replies.