wp content missing
-
I installed a plugin that ruined my site. I restored it back to its original the best I could from fresh wp_admin/wp_includes and root files. I deleted the new entries in mySQL database. No backups. The other themes work but my custom theme is blank. The site is lanaicomputers.com. It blanks out here: <?php include(‘menu.php’); ?>.
page.php:
<?php include('header.php'); ?> <body class="color_red"> <!-- Backround image. Just paste yours. No extra code. Highly recommend to use your own images --> <!-- background images by Victor1558 under CC BY 2.0 license -> https://www.flickr.com/photos/76029035@N02/ --> <img src="<?php bloginfo('template_directory'); ?>/img/main_bg_1.jpg" id="bg_main" alt="" /> <!--recommended image dimentions 1200x800px with weight under 120kb !note! don't use very light images. It can damage readability of the white text --> <div class="container"> <!-- Main navigation --> <?php include('menu.php'); ?> <!-- /Main navigation --> <?php wp_reset_query(); if(have_posts()){ the_post(); ?>
When I look at the menu.php:
<div class="row"> <div class="span12"> <div class="navbar"> <div class="navbar-inner"> <div class="container"> <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </a> <a class="brand" href="<?php bloginfo('home'); ?>">Project name</a> <div class="nav-collapse"> <div class="topnav"> <div id="access" role="navigation"> <div class="menu"> <?php wp_reset_query(); wp_nav_menu(array("menu"=>'menu'));?> <!--<ul> <li ><a href="index.html" class="selected" >Home</a></li> <li><a href="#" >About Us</a></li> <li><a href="#" >Services </a></li> <li><a href="#" >Contact Us</a></li> <li><a href="#" >Blog</a></li> </ul>--> </div> </div> </div> <!-- social navigation area --> <ul class="nav pull-right"> <?php wp_reset_query(); query_posts('page_id=12'); if(have_posts()){ the_post(); ?> <li><a href="<?php echo get_post_meta($post->ID,'facebook',true);?>" rel="tooltip" data-placement="bottom" title="Facebook" target="_blank"><img src="<?php bloginfo('template_directory'); ?>/img/facebook.jpg"></a></li> <li><a href="<?php echo get_post_meta($post->ID,'twitter',true);?>" rel="tooltip" data-placement="bottom" title="Twitter" target="_blank"><img src="<?php bloginfo('template_directory'); ?>/img/twiter.jpg"></a></li> <li><a href="<?php echo get_post_meta($post->ID,'gplus',true);?>" rel="tooltip" data-placement="bottom" title="Google +" target="_blank"><img src="<?php bloginfo('template_directory'); ?>/img/g_plus.jpg"></a></li> <li><a href="<?php echo get_post_meta($post->ID,'linkedin',true);?>" rel="tooltip" data-placement="bottom" title="Linkedin" target="_blank"><img src="<?php bloginfo('template_directory'); ?>/img/linkedin.jpg"></a></li> <?php } ?> </ul> </div> </div> </div> </div> </div> </div>
What am I doing wrong? Do I need to at an entry in my SQL database? I’m lost.
- The topic ‘wp content missing’ is closed to new replies.