This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<multiline label="styles-override"> | |
<style type="text/css"> | |
.class {color: red;} | |
@media screen and (max-width: 479px) { | |
[class="class"] {color: blue;} | |
} | |
</style> | |
</multiline> | |
<p>or</p> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php if (have_posts()) : ?> | |
<?php if (($wp_query->post_count) > 1) : ?> | |
<?php while (have_posts()) : the_post(); ?> | |
<!-- Do your post header stuff here for excerpts--> | |
<?php the_excerpt() ?> | |
<!-- Do your post footer stuff here for excerpts--> | |
<?php endwhile; ?> | |
<?php else : ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ----------------------- # | |
# Main Configs # | |
# ----------------------- # | |
url: http://samueldowens.github.io | |
title: Traversing the Internets | |
subtitle: Web Development in NYC | |
author: Samuel Owens | |
simple_search: http://google.com/search | |
description: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_site |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Completely nuke comments support | |
* Need to also also turn off comments/pingbacks at wp-admin > Settings > Discussion | |
* Need to also turn off comments for posts individually (Bulk Edit or DB find/replace) | |
* | |
* Adapted from: https://www.dfactory.eu/wordpress-how-to/turn-off-disable-comments/ | |
*/ | |
/** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
* Plugin Name: Jetpack by WordPress.com | |
* Plugin URI: http://wordpress.org/extend/plugins/jetpack/ | |
* Description: Bring the power of the WordPress.com cloud to your self-hosted WordPress. Jetpack enables you to connect your blog to a WordPress.com account to use the powerful features normally only available to WordPress.com users. | |
* Author: Automattic | |
* Version: 2.0.4 | |
* Author URI: http://jetpack.me | |
* License: GPL2+ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Jobify functions and definitions. | |
* | |
* Sets up the theme and provides some helper functions, which are used in the | |
* theme as custom template tags. Others are attached to action and filter | |
* hooks in WordPress to change core functionality. | |
* | |
* When using a child theme (see http://codex.wordpress.org/Theme_Development | |
* and http://codex.wordpress.org/Child_Themes), you can override certain |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* Register custom post types on the 'init' hook. */ | |
add_action( 'init', 'my_register_post_types' ); | |
/** | |
* Registers post types needed by the plugin. | |
* | |
* @since 0.1.0 | |
* @access public |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//FROM | |
//http://digwp.com/2010/03/wordpress-functions-php-template-custom-functions/ | |
//http://webstractions.com/wordpress/remove-recent-comments-inline-styl/ | |
//http://wpengineer.com/1438/wordpress-header/ | |
//https://github.com/boldperspective/Whiteboard-Framework | |
//REMOVE ADMIN BAR | |
add_filter( 'show_admin_bar', '__return_false' ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function im_setup() { | |
// ++++++++++++++++ REGISTER THEME OBJECTS ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ // | |
// Register and enqueue Javascript | |
function im_js() { | |
// Modernizr |