Copy and pasted index.php in Editor, now front page is blank
-
The wierdest thing, I was messing with the index.php in the Editor, so I copy and pasted the entirety of it to IA writer. In order to revert the changes, I pasted it back in:
<?php get_header(); ?> </br> <div class=“row” align=center> <a href=“#”><img src=“<?php echo get_template_directory_uri(); ?>/img/denizensplash.jpg”></a> </div> </br> </br> <div class=“row”> <h2 align= center>I Create Dynamic and Iconic Characters<img src=“<?php echo get_template_directory_uri(); ?>/img/face.png”></img></h2> </div> </br> </br> <div class=“wrapper” align=center> </br> </br> <?php if (is_page()) { ?> <?php the_post();the_content(); ?> <?php } else { ?> <h4>Recent Posts:</h4> <?php $the_query = new WP_Query( ‘showposts=3’ ); ?> <?php while ($the_query -> have_posts()) : $the_query -> the_post(); ?> <h4><a href=“<?php the_permalink() ?>”><?php the_title(); ?></a></li></h4> <p><?php the_excerpt(__(‘(more…)’)); ?></p> <?php end while;?> <?php }?> </div> </br> <div class=“row”> <h4 align=center>Hover over the circles below to view my current projects:</h4> </div> <div class=“wrapper” align=center> <div class=“slider”> <img class=“default” src=“http://placehold.it/1200x500” /> <img class=“circle-hover” src=“http://placehold.it/1200x500/5A2EAB” /> <img class=“circle-hover” src=“<?php echo get_template_directory_uri(); ?>/img/ccslide.jpg” /> <img class=“circle-hover” src=“<?php echo get_template_directory_uri(); ?>/img/cdf.jpg” /> <img class=“circle-hover” src=“http://placehold.it/1200x500/FFA91E” /> <img class=“circle-hover” src=“http://placehold.it/1200x500/3EA76E” /> </div> <div class=“circles”> <a class=“purple-circle” href=“http://denizencomic.com”> <img src=“<?php echo get_template_directory_uri(); ?>/img/denizen.png” alt=“”></a> <a class=“blue-circle” href=“http://creature-codex.com”> <img src=“<?php echo get_template_directory_uri(); ?>/img/cc.png” alt=“”></a> <a class=“red-circle”href=“http://characterdesignforge.com”> <img src=“<?php echo get_template_directory_uri(); ?>/img/forge.png” alt=“”> </a> <a class=“orange-circle”href=“http://tribaldroid.com”> <img src=“<?php echo get_template_directory_uri(); ?>/img/tribal.png” alt=“”></a> <a class=“green-circle” href=“/portfolio.html”> <img src=“<?php echo get_template_directory_uri(); ?>/img/bageldenizen.png” alt=“”></a> </br> </div></div> </br> </br> <?php get_footer(); ?>
Now the other pages, like posts, are still up, but the front page is blank. Any help or suggestions? Thank you!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Copy and pasted index.php in Editor, now front page is blank’ is closed to new replies.