I hereby claim:
- I am bmoredrew on github.
- I am bmoredrew (https://keybase.io/bmoredrew) on keybase.
- I have a public key whose fingerprint is 2B86 D9A4 6C9A 1BDC 85DD F73B AC84 7E2E BAF6 7B37
To claim this, I am signing this object:
<?php | |
$loop = new WP_Query( array( | |
'post_type' => 'team', | |
'posts_per_page' => 4, | |
)); | |
?> | |
<?php while ( $loop->have_posts() ) : $loop->the_post(); ?> | |
In the template: | |
<ul class="cf" id="port-grid"> | |
<li class="web"> | |
<a href="#"> | |
<img src="img/img1.jpg" alt=""> | |
<span> | |
<span>Title</span> | |
<span>Excerpt</span> | |
</span> | |
</a> |
include_once( CHILD_DIR . '/featured-post-widget.php' ); | |
add_action( 'widgets_init', 'load_custom_child_widget' ); | |
function load_custom_child_widget() { | |
unregister_widget( 'Genesis_Featured_Post' ); | |
register_widget( 'Genesis_Child_Featured_Post' ); | |
} |
I hereby claim:
To claim this, I am signing this object:
UPDATE wp_posts SET post_type = REPLACE(post_type,'old','new'); |
Add this in single.php | |
<div class="comments"> | |
<?php | |
if ( comments_open() || '0' != get_comments_number() ) : comments_template(); | |
endif; | |
?> | |
</div> | |
Add this to style.css to center comments section |
scp my_db.sql username@222.222.222.222:/username/my_folder/ |
mysql -u username -p password my_db < my_db.sql |
mysqldump -u username -p password my_db > my_db.sql |
<?php | |
$my_theme = TEMPLATEPATH . '/inc/'; | |
$includes = array( | |
$my_theme . 'theme-functions.php', // Custom Theme Functions | |
$my_theme . 'theme-custom-post-types.php', // CPT's | |
$my_theme . 'fields/init.php', // Custom Fields | |
$my_theme . 'stripe/lib.php' // Integrate Stripe | |
); |