Skip to content

Instantly share code, notes, and snippets.

View jasonhobbsllc's full-sized avatar

Jason Hobbs jasonhobbsllc

View GitHub Profile
@jasonhobbsllc
jasonhobbsllc / functions.php
Last active August 29, 2015 14:02
Brian Bourn trying to move post title
<?php
//* Move Post Title
if (is_singular( array('page','post') )) {
//* Move the entry title
remove_action( 'genesis_entry_header', 'genesis_entry_header_markup_open', 5 );
remove_action( 'genesis_entry_header', 'genesis_do_post_title' );
remove_action( 'genesis_entry_header', 'genesis_entry_header_markup_close', 15 );
add_action( 'genesis_after_header', 'genesis_entry_header_markup_open', 20 );
add_action( 'genesis_after_header', 'genesis_do_post_title', 25 );
@jasonhobbsllc
jasonhobbsllc / archive-staff.php
Created June 11, 2014 12:26 — forked from robincornett/archive-staff.php
Staff archive with thumbs on left, as click on images, full bio fades in. From Robin Cornett
<?php
//* Remove the entry meta in the entry header
remove_action( 'genesis_entry_header', 'genesis_post_info', 12 );
remove_action( 'genesis_entry_footer', 'genesis_post_meta' );
remove_action ('genesis_loop', 'genesis_do_loop'); // Remove the standard loop
add_action( 'genesis_loop', 'custom_do_loop' ); // Add custom loop
function custom_do_loop() {
@jasonhobbsllc
jasonhobbsllc / functions.php
Created June 11, 2014 12:40
Show Related Posts with Thumbnails in Genesis from Nick the Geek
<?php
add_image_size( 'related', 90, 70, true );
add_action( 'genesis_after_entry_content', 'child_related_posts' );
/**
* Outputs related posts with thumbnail
*
* @author Nick the Geek
* @url http://designsbynickthegeek.com/tutorials/related-posts-genesis
* @global object $post
@jasonhobbsllc
jasonhobbsllc / text.html
Created September 6, 2015 17:14
Create a button on the Rainmaker Platform by copying and pasting this snippet into your choice of post, page, widget area, etc.
<a href="#" class="button">Button Text Here</a>
@jasonhobbsllc
jasonhobbsllc / content.html
Created September 9, 2015 13:45
Display two buttons in two equal width columns using Rainmaker Platform. The buttons are automatically styled by your chosen Rainmaker Design Template.
<div class="clearfix">
<div class="one-half first">
<a href="#" class="button">Button Text Here</a>
</div>
<div class="one-half">
<a href="#" class="button">Button Text Here</a>
</div>
</div>
@jasonhobbsllc
jasonhobbsllc / custom.css
Created September 10, 2015 18:57
Add button class to older version of Rainmaker Design Templates.
.button {
-webkit-transition:all .2s ease-in-out;
-moz-transition:all .2s ease-in-out;
-ms-transition:all .2s ease-in-out;
-o-transition:all .2s ease-in-out;
transition:all .2s ease-in-out;
background-color:#00a99d;
border:0;
border-radius:3px;
color:#fff;
@jasonhobbsllc
jasonhobbsllc / content.html
Last active September 11, 2015 15:24
Copy and paste into your choice of content area within your Rainmaker Platform powered website. Replace the https://jasonhobbsllc.com/checkout/?product_id=8921 with your RM product url. Replace Free Registration with the text you wish to show on the button: link_text="Free Registration"
[popup type="iframe" link_text="Free Registration" link_class="button" href="https://jasonhobbsllc.com/popup-checkout/?product_id=8921" /]
@jasonhobbsllc
jasonhobbsllc / content-area.html
Last active November 20, 2015 15:27
Rainmaker LMS Favorite and Complete Buttons on the left half and the previous and next buttons in the right half.
<div class="clearfix">
<div class="one-half first">[lms_favorite]</div>
<div class="one-half">[lms_complete]</div>
</div>
@jasonhobbsllc
jasonhobbsllc / content-area.html
Last active September 22, 2015 14:33
First pass at a user dashboard with 8 areas displayed equally between two columns.
<div class="clearfix">
<div class="one-half first ssd-mod">
<span class="dashicons dashicons-groups"></span>
<h2>Agree on who will do what: clarify mutual expectations</h2>
With any project, the person implementing is responsible for certain things; the manager providing support is responsible for others. It's important to establish expectations and rules at the beginning. Here you see how.
</div>
<div class="one-half ssd-mod">
<span class="dashicons dashicons-location-alt"></span>
<h2>Begin to identify what to develop</h2>
People often have an idea of what to develop – e.g. better presentations, quicker decision making, etc. But frequently a clearer focus is needed. In this chapter you see how to identify specific development areas.
@jasonhobbsllc
jasonhobbsllc / content-area.html
Created September 23, 2015 15:31
Creates an expert box
<div class=“expertbox”>Type in your expert content here.</div>