Skip to content

Instantly share code, notes, and snippets.

View SpencerCooley's full-sized avatar

Spencer Cooley SpencerCooley

View GitHub Profile
<?php query_posts('category_name=home-quote&posts_per_page=1'); ?>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<?php include 'custom_variables.php'?>
<div class="english">
<div class="home_quote">
<p>
<span class="quote_mark">"</span> <?php the_content_rss(); ?><span class="quote_mark">"</span>
</p>
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=179459922132059";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-like-box" data-href="http://www.facebook.com/Laredohousingauthority" data-width="292" data-show-faces="true" data-stream="false" data-header="true"></div>
map.on('click', function(e) {
var marker = new L.Marker(e.latlng, {draggable:true});
map.addLayer(marker);
});
/*code for features page*/
.feature_title{
font-weight:bold;
font-size:20px;
margin-bottom:15px;
margin-top:30px;
}
.features_para{
font-size:15px;
/*fix image sizing on do page*/
/*in viewing the source I noticed that the style image element actually has an ID of #MainBody_style_picture*/
/*if you look at style.css and search for #style_picture you will see it has a width of 400px and margin-bottom of 10px;*/
/*I suspect that the MainBody addition is messing this up*/
div#comments_wrap{
top:22px;
}
#sign_up_form{
margin-top:20px;
float:left;
}
input.registration_input{
height:34px;
width:350px;
border-radius:8px;
git push origin master
git commit -m "put a message here such as.... just changed the background-color"
git clone [email protected]:yourapp.phpfogapp.com