This file contains 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: wpPERFORM.com Genesis Grid Image - Align Right | |
Description: Aligns attached image in thumbnail size to the right in Genesis grid loop | |
Version: 0.1 | |
License: GPL | |
Author: The wpPERFORM.com Team | |
Author URI: http://wpperform.com | |
*/ | |
add_filter( 'genesis_grid_loop_args','wpp_grid_image_left' ); |
This file contains 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 | |
// Template Name: Page With Posts In Categories | |
// | |
// For Genesis framework. To use: | |
// 1) Create a page | |
// 2) Set the page template in the Page Attributes panel to this template | |
// 3) Turn off comments and trackbacks | |
// 4) Set a custom field on the page of query_args_category__and equal to the numeric ID of the category | |
// 5) Add additional custom fields with the same name but different category ID to display multiple categories | |
This file contains 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 | |
// Template Name: Page With Posts In Categories Condensed | |
// | |
// For Genesis framework. To use: | |
// 1) Create a page | |
// 2) Set the page template in the Page Attributes panel to this template | |
// 3) Turn off comments and trackbacks | |
// 4) Set a custom field on the page of query_args_category__and equal to the numeric ID of the category | |
// 5) Add additional custom fields with the same name but different category ID to display multiple categories |
This file contains 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
// 5 changes to /classes/YARPP_Core.php for version 4.3.6 | |
// each change involves commenting out 1 line and replacing with revised version | |
// near line 489 | |
// $this->templates = glob(STYLESHEETPATH . '/yarpp-template-*.php'); | |
$this->templates = glob(YARPP_DIR . '/yarpp-templates' . '/yarpp-template-*.php'); | |
// near line 1121 | |
// } else if ((bool) $template && file_exists(STYLESHEETPATH.'/'.$template)) { | |
} else if ((bool) $template && file_exists(YARPP_DIR . '/yarpp-templates/' . $template)) { |
This file contains 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 /* | |
YARPP Template: Also Interested... | |
Description: This template returns the related posts with the relatedness score. | |
Author: mitcho (Michael Yoshitaka Erlewine) tweaked by the wpPERFORM.com team | |
*/ | |
?> | |
<h3 class="related-posts">You May Also Be Interested In ...</h3> | |
<?php if (have_posts()):?> | |
<ol> | |
<?php while (have_posts()) : the_post(); ?> |
This file contains 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 | |
remove_action('genesis_post_content', 'genesis_do_content'); | |
remove_action('genesis_post_content', 'genesis_do_post_content'); | |
remove_action('genesis_before_post_content', 'genesis_post_info'); | |
remove_action('genesis_post_content', 'genesis_do_post_image'); | |
remove_action('genesis_after_post_content', 'genesis_post_meta'); | |
//add_filter( 'pre_option_posts_per_page', 'custom_posts_per_page_filter' ); | |
function custom_posts_per_page_filter( $num ) { |
This file contains 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 | |
remove_action('genesis_post_content', 'genesis_do_post_content'); | |
add_action('genesis_post_content', 'custom_post_content'); | |
function custom_post_content() { | |
global $loop_counter; | |
if( absint($loop_counter) < 3 ) { | |
the_content(); ?> |
This file contains 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: wpPERFORM.com Genesis Connect for WooCommerce Helper | |
Description: Adds theme support for Genesis Connect for WooCommerce to Genesis themes | |
Version: 0.1 | |
License: GPL | |
Author: The wpPERFORM.com Team | |
Author URI: http://wpperform.com | |
*/ |
This file contains 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 | |
/* | |
Category template for Genesis framework to display 5 full posts, no post info or post meta | |
Author: wpPERFORM.com | |
To use, put a copy in child theme folder and rename to category-xx.php where xx is replaced by the numeric ID of the category | |
to which the template applies. | |
*/ |
OlderNewer