在Wordpress岗位区域的失去的背景

时间:2014-04-23 20:18:01

标签: html css wordpress

我需要一些认真的帮助。我在Wordpress网站上工作并删除了我不应该拥有的东西,现在我无法取回它,而且,我不确定删除了什么。似乎受影响的唯一页面是主页,而其余页面都很好。

我试图从侧边栏中删除一些内容,现在它们已经消失了,但是帖子背景消失了(需要是白色的),并且页脚被推到了左侧。

我已经通过浏览器查看了网页编码,我可以识别出它的内容,但是,我无法在Wordpress文件中找到它。

感谢任何帮助。

该网站位于:http://mathenyheatcool.com/

这是我正在编辑的代码(我在@底部工作):

enter code here
<?php
/*
Template Name: Matheny Home Page
*/
?>



<?php get_header(); ?>


<?php if (have_posts()) : while (have_posts()) : the_post();?>
<div class="post">
<?php the_content(); ?>

</div>
<?php endwhile; endif; ?>




<div id="matheny-sidebar-block">

<div style="width:100%;text-align:center;"><a href="http://www.mathenyheatcool.com/contact-us/schedule-service/">
<img src="http://www.mathenyheatcool.com/wp-content/uploads/2012/03/schedule-repair-service.png" alt="Heating and Cooling Repair Service"></a></div>

<br />


<div style="width:100%;text-align:left;">

<?php
$monthname = date("F");
if($monthname == "March" || $monthname == "April" || $monthname == "May"){
echo '<a href="http://www.mathenyheatcool.com/schedule-service/"><span style="font-size:large;color:#D2691E;">It\'s Time for Spring Maintenance</span></a>';



echo '<br /><strong>Get Your AC Cleaned & Checked</strong><br/><div style="text-align:left;font-size:small;">Preventative maintenance means fewer systems failures and prolongs the life of your heating and cooling equipment and ensures efficient operation. <a href="http://www.mathenyheatcool.com/services/#heating_cooling_maintenance">Planned Maintenance Contracts</a> are available.</div><a href="http://www.mathenyheatcool.com/schedule-service/"><strong>Click Here</a> or call us at 314-727-9000</strong></div><div style="font-size:small;"> to schedule your cooling system maintenance appointment.';
}
elseif($monthname == "September" || $monthname == "October" || $monthname == "November")  {
echo '<a href="http://www.mathenyheatcool.com/schedule-service/"><span style="font-size:large;color:#D2691E;">It\'s Time for Fall Maintenance</span></a>';


echo '<br /><strong>Get Your Heating Cleaned & Checked</strong><br/><div style="text-align:left;font-size:small;">Preventative maintenance means fewer systems failures and prolongs the life of your heating and cooling equipment and ensures efficient operation. <a href="http://www.mathenyheatcool.com/services/#heating_cooling_maintenance">Planned Maintenance Contracts</a> are available.</div><a href="http://www.mathenyheatcool.com/schedule-service/"><strong>Click Here</a> or call us at 314-727-9000</strong></div><div style="font-size:small;"> to schedule your heating system maintenance appointment.';
}
else{
echo '<a href="http://www.mathenyheatcool.com/schedule-service/"><span style="font-size:large;color:#D2691E;">Need Regular Maintenance?</span></a>';


echo '<br /><strong>Get Your System Cleaned & Checked</strong><br/><div style="text-align:left;font-size:small;">Preventative maintenance means fewer systems failures and prolongs the life of your heating and cooling equipment and ensures efficient operation. <a href="http://www.mathenyheatcool.com/services/#heating_cooling_maintenance">Planned Maintenance Contracts</a> are available.</div><a href="http://www.mathenyheatcool.com/schedule-service/"><strong>Click Here</a> or call us at 314-727-9000</strong></div><div style="font-size:small;"> to schedule your heating and cooling system maintenance appointment.';

}
?>
</div>

<br /><br />
<div style="width:100%;text-align:center;"><a href="http://www.mathenyheatcool.com/schedule-comfort-consultation/">
<span style="font-size:x-large;color:#707070;">Time for new equipment?</span>
<img src="http://mathenyheatcool.com/wp-content/uploads/2012/03/new_air_conditioner.jpg" /></a><br /><strong>Free In-Home Comfort Consultation</strong><br/><div style="text-align:left;font-size:small;">We are an independent American Standard Customer Care dealer specializing in high-efficiency heating and cooling systems.</div><a href="http://www.mathenyheatcool.com/schedule-comfort-consultation/"><strong>Click Here</a> or call us at 314-727-9000</strong></div><div style="font-size:small;"> to schedule your free in-home Comfort Consultation.</div>

 <br /><br />

<br />

</div>




<?php get_sidebar('home1'); ?> 

</div>

<?php get_footer(); ?>

0 个答案:

没有答案