Plugin Directory

Changeset 606129


Ignore:
Timestamp:
09/30/2012 01:55:17 PM (14 years ago)
Author:
ethanhackett
Message:

Version 3.0.0

Location:
post-tiles/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • post-tiles/trunk/post-tiles.css

    r606103 r606129  
     1/* @override
     2    http://www.posttiles.com/wp-content/plugins/post-tiles/post-tiles.css?ver=3.4.2 */
     3
    14/* Admin CSS */
    25#color-picker-example {
     
    246249
    247250/* Responsive Code */
    248 ul#post-tiles.responsive li a {
     251ul#post-tiles.responsive li a, ul#post-tiles.responsive-mobile li a {
    249252    width: 90%;
    250253    height: 90%;
  • post-tiles/trunk/post-tiles.php

    r606103 r606129  
    292292
    293293
     294
    294295/* ***************************** */
    295296// Start Frontend Code
     
    312313       
    313314       // Get and set the excerpt length
    314         $excerpt_length = get_option('excerpt-length');
    315         if(empty($excerpt_length)){
    316               $excerpt_length = "12";
     315        $excerpt_shortcode = $atts['excerpt'];
     316        if (isset($excerpt_shortcode)) {
     317            $excerpt_length =  $excerpt_shortcode;
     318        } else {
     319            $excerpt_length = get_option('excerpt-length');
     320            if(empty($excerpt_length)){
     321                  $excerpt_length = "12";
     322            }   
    317323        }
    318         
     324        
    319325       // Configure Categories For Query
    320326       $cat_num = $atts['categories'];     
     
    368374       }
    369375       $posttiles_li_height = $posttiles_height+20;
     376       ?>
     377       <style media="screen" type="text/css">
     378                ul#post-tiles li {
     379                    width: <?php echo $posttiles_li_width; ?>px;
     380                    height: <?php echo $posttiles_li_height; ?>px;
     381                }
     382                ul#post-tiles li a {
     383                    width: <?php echo $posttiles_width; ?>px;
     384                    height: <?php echo $posttiles_height; ?>px;
     385                }       
     386       </style><?php
    370387       
    371388       // If jquery is on(true) then output the following
     
    381398                    ul#post-tiles li, #category-key {
    382399                        opacity: 0;
    383                     }
    384                     ul#post-tiles li {
    385                         width: <?php echo $posttiles_li_width; ?>px;
    386                         height: <?php echo $posttiles_li_height; ?>px;
    387                     }
    388                     ul#post-tiles li a {
    389                         width: <?php echo $posttiles_width; ?>px;
    390                         height: <?php echo $posttiles_height; ?>px;
    391400                    }       
    392401           </style><?php
     
    467476       wp_reset_query();
    468477       
     478       // If responsive it true add responsive class
     479       if ($responsive_key == "true") {
     480            $responsive = "class='responsive'";
     481       }
    469482       
    470483       // Display Key
     
    472485       $show_key_jquery = get_option('category-key-jquery');
    473486       $featured_images_key= get_option('featured-images');
    474        
    475        
    476        // If responsive it true add responsive class
    477        if ($responsive_key == "true") {
    478             $responsive = "class='responsive'";
    479        }
    480487       
    481488       // If it's empty then the default value is false (default)
Note: See TracChangeset for help on using the changeset viewer.