WordPress.org

Plugin Directory

Changeset 566395


Ignore:
Timestamp:
07/02/12 12:23:14 (22 months ago)
Author:
wpsmith
Message:

0.6.2 update. props GaryJ

Location:
genesis-custom-post-types-archives/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • genesis-custom-post-types-archives/trunk/lib/functions.php

    r546360 r566395  
    5858         
    5959    if ( is_post_type_archive() && ! gcpta_is_doing_grid_loop() ) 
    60         add_action( 'genesis_post_content', 'gcpta_do_post_image' ); 
     60        add_action( 'genesis_post_content', 'gcpta_do_post_image', 5 ); 
    6161} 
    6262 
     
    374374     
    375375    if ( is_post_type_archive() && genesis_get_option( 'gcpta_content_archive_thumbnail_' . $post->post_type, 'gcpta-settings-' . $post->post_type ) && 'grid' != genesis_get_option( 'gcpta_loop_' . $post->post_type, 'gcpta-settings-' . $post->post_type ) ) { 
    376         $img = genesis_get_image( array( 'format' => 'html', 'size' => genesis_get_option( 'gcpta_image_size_' . $post->post_type, 'gcpta-settings-' . $post->post_type ), 'attr' => array( 'class' => genesis_get_option( 'gcpta_image_size_' . $post->post_type, 'gcpta-settings-' . $post->post_type ) . ' post-image test' ) ) ); 
     376        $img = genesis_get_image( array( 'format' => 'html', 'size' => genesis_get_option( 'gcpta_image_size_' . $post->post_type, 'gcpta-settings-' . $post->post_type ), 'attr' => array( 'class' => genesis_get_option( 'gcpta_image_size_' . $post->post_type, 'gcpta-settings-' . $post->post_type ) . ' post-image' ) ) ); 
    377377        if ( $img ) 
    378378            printf( '<a href="%s" title="%s">%s</a>', get_permalink(), the_title_attribute( 'echo=0' ), $img ); 
  • genesis-custom-post-types-archives/trunk/lib/seo-functions.php

    r546279 r566395  
    109109 
    110110    global $post; 
    111     $post_type = get_query_var( 'post_type' ); 
     111    //$post_type = get_query_var( 'post_type' ); 
    112112 
    113113    /** Defaults */ 
    114114    $meta = array( 
    115         'noindex'   => genesis_get_option( 'gcpta_noarchive_' . $post_type, 'gcpta-settings-' . $post->post_type ) ? 'noindex' : '', 
    116         'nofollow'  => genesis_get_option( 'gcpta_nofollow_' . $post_type, 'gcpta-settings-' . $post->post_type ) ? 'nofollow' : '', 
    117         'noarchive' => genesis_get_option( 'gcpta_noarchive_' . $post_type, 'gcpta-settings-' . $post->post_type ) ? 'noarchive' : '', 
     115        'noindex'   => genesis_get_option( 'gcpta_noarchive_' . $post->post_type, 'gcpta-settings-' . $post->post_type ) ? 'noindex' : '', 
     116        'nofollow'  => genesis_get_option( 'gcpta_nofollow_' . $post->post_type, 'gcpta-settings-' . $post->post_type ) ? 'nofollow' : '', 
     117        'noarchive' => genesis_get_option( 'gcpta_noarchive_' . $post->post_type, 'gcpta-settings-' . $post->post_type ) ? 'noarchive' : '', 
    118118        'noodp'     => genesis_get_seo_option( 'noodp' ) ? 'noodp' : '', 
    119119        'noydir'    => genesis_get_seo_option( 'noydir' ) ? 'noydir' : '', 
     
    124124    $meta['noindex'] = $paged > 1 && ! genesis_get_seo_option( 'canonical_archives' ) ? 'noindex' : $meta['noindex']; 
    125125     
    126     /** noindex added if sitewide option true */     
    127     $meta['noindex']   = genesis_get_seo_option( 'noarchive' ) ? 'noarchive' : $meta['noindex']; 
    128  
    129126    /** Strip empty array items */ 
    130127    $meta = array_filter( $meta ); 
  • genesis-custom-post-types-archives/trunk/readme.txt

    r546284 r566395  
    4444== Changelog == 
    4545 
     46= 0.6.1 = 
     47* Removed test class props GaryJ. 
     48* Added priority (5) to gcpta_do_post_image to come back into alignment with genesis_do_image. props GaryJ. 
     49 
    4650= 0.6.0 = 
    4751* Added Simple Sidebars support 
Note: See TracChangeset for help on using the changeset viewer.