Skip to content

Instantly share code, notes, and snippets.

View jlengstorf's full-sized avatar
💭
partyin

Jason Lengstorf jlengstorf

💭
partyin
View GitHub Profile
<?php
function retrieveEntries($db, $page, $url=NULL)
{
/*
* If an entry ID was supplied, load the associated entry */
var_dump($page);
var_dump($url);
if(isset($url)) {
<?php
/**
* Retrieves the thumbnail URL to use for a post
* @param string $text The body of the post (get_content)
* @param string $size The image size to retrieve
* @return string The image URL to use
*/
function rw_get_thumb_url($text, $size){
global $post;
nav {
&.navbar {
.navbar-header {
.navbar-toggle {
}
.navbar-brand {
}
}