Skip to content

Instantly share code, notes, and snippets.

View motorcitymobi's full-sized avatar

Cameron Cecchini motorcitymobi

View GitHub Profile
Here are a few questions that will tee us up for a good conversation:
- Can you tell me about your project in a few sentences?
- What’s the timeframe? Does a certain event depend on this project launching?
- What are you looking for from us? Do you want us to design, build, and launch the whole site? Or do you have developers or other partners lined up and only need us for design?
- Have you already started on any part of the project? Do you have existing work? A new logo? Some rough designs or ideas for the site?
- How large is your team? What are the roles you envision on your end?
- How did you hear about our work? What specifically interests you about it? Any projects that you’re keen on?
- How much money have you set aside for this project?
- Are you talking to others about this project? Might we ask how many? What do you like about their work?
anonymous
anonymous / Batman nav..markdown
Created June 1, 2015 18:32
Batman nav.
@srikat
srikat / functions.php
Last active August 29, 2015 14:08
How to display only the first category that a Post belongs to in Genesis. http://sridharkatakam.com/display-first-category-post-belongs-genesis/
<?php
//* Do NOT include the opening php tag
add_shortcode( 'post_category', 'sk_show_the_first_category_name_only' );
/**
* Custom shortcode that returns the first hyperlinked category that entry belongs to
*
* @author Sridhar Katakam
* @link http://codex.wordpress.org/Function_Reference/get_the_category#Show_the_First_Category_Name_Only
*/
jQuery(document).ready(function($){
// FitVids
$('.entry-content').fitVids();
// Equal Heights
// -- Content/Sidebar
$('.content-sidebar-wrap').data('equalizer');
$('.content-sidebar-wrap > .content').data('equalizer-watch');
<?php
/* add link at beginning of excerpt */
add_filter( 'genesis_entry_content' , 'lgd_clickable_open', 1 );
function lgd_clickable_open() {
if (is_home() || is_front_page() || is_archive() ) {
printf( '<a href="%s" alt="%s">', get_permalink(), the_title_attribute( 'echo=0' ) );
}
}
@PurpleHippoDesign
PurpleHippoDesign / remove-post-info-for-cpt.php
Created June 26, 2014 16:07
Remove post info and post info on custom post type
<?php // Get rid of this tag
// Remove Post Info, Post Meta from CPT
function pbh_remove_post_info() {
if( 'testimonial' == get_post_type() ) {
remove_action( 'genesis_entry_header', 'genesis_post_info', 12 );
remove_action( 'genesis_entry_footer', 'genesis_post_meta' );
}
}
@joshuadavidnelson
joshuadavidnelson / taxonomy-archive-list-shortcode.php
Last active December 7, 2022 15:55
Shortcode to create a list or dropdown link to taxonomy archives
<?php
/**
* Shortcode to create a list or dropdown link to taxonomy archives
*
* @author Joshua David Nelson, josh@jdn.im
**/
function jdn_taxonomy_list( $atts ) {
$a = shortcode_atts( array(
'taxonomy' => '',
@neilgee
neilgee / slicknav.php
Last active December 6, 2016 15:54
Using SlickNav on WordPress and Genesis Mobile Menus
<?php
//do not copy above opening php tag
/**
* Using SlickNav as Mobile Menus
*
* @package Slick Nav Mobile Menu
* @author Neil Gee
* @link https://wpbeaches.com/using-slick-responsive-menus-genesis-child-theme/
* @copyright (c) 2014, Neil Gee
jQuery(document).ready(function($) {
$(".featured-single").backstretch([BackStretchImg.src],{duration:3000,fade:750});
});