Plugin Directory

Changeset 415405


Ignore:
Timestamp:
07/26/2011 01:49:30 PM (15 years ago)
Author:
cochran
Message:

Oops, let some stupid logic slip through.

Location:
genesis-post-teasers/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • genesis-post-teasers/trunk/css/teaserstyles.php

    r415099 r415405  
    44$width = '48%';
    55
    6 if ( $_GET['genesisopt_width']  && $_GET['genesisopt_no_pair'] == 0 ) {
     6if ( $_GET['genesisopt_width']  && $_GET['genesisopt_no_pair'] == 0 && $_GET['genesisopt_enable_custom_styles'] == 1  ) {
    77$width = $_GET['genesisopt_width'];
    88$width .= "px";
    99}
    10 if ( $_GET['genesisopt_height'] == '' ) {
    11 $height = "auto";
     10if ( $_GET['genesisopt_height'] == '' || $_GET['genesisopt_enable_custom_styles'] != 1 ) {
     11    $height = "auto";
    1212} else {
    1313$height = $_GET['genesisopt_height'];
     
    2929<?php
    3030} else {
    31     if ( $_GET['genesisopt_enable_custom_styles'] != 1 )
    32         return; ?>
    3331?>
    3432
  • genesis-post-teasers/trunk/genesis-post-teasers.php

    r415099 r415405  
    44Plugin URI: http://genesistutorials.com/plug-ins/genesis-post-teasers/
    55Description: Add theme settings for enabling teasers for the Genesis Theme Framework by studiopress. Uses genesis_grid_loop();
    6 Version: 1.0.3
     6Version: 1.0.3.1
    77Author: Christopher Cochran
    88Author URI: http://christophercochran.me
  • genesis-post-teasers/trunk/readme.txt

    r415102 r415405  
    3636
    3737== Changelog ==
     38= 1.0.3.1 =
     39* Fixed: Default styles will not show if edit styles is not checked.
     40
    3841= 1.0.3 =
    3942* Put Settings on its own page as a sub menu item of Genesis. ( "Post Teaser Settings" )
Note: See TracChangeset for help on using the changeset viewer.