Plugin Directory

Changeset 762947


Ignore:
Timestamp:
08/27/2013 11:22:33 AM (13 years ago)
Author:
33themes
Message:

FIX: bug searching other plugin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ttt-devices/trunk/ttt-devices.php

    r762937 r762947  
    144144            }
    145145   
    146         //add tttevent class to body if the post have an event
    147         $tttevents = new TTTEvents_Front();
    148         if ( $tttevents->get_events(array('p' => get_the_ID() )) )
    149             $classes[] = 'tttevent';
    150 
    151 
    152         if ( is_tttdevice('mobile') )
    153             $classes[] = 'mobile';
    154         elseif ( is_tttdevice('tablet') )
    155             $classes[] = 'tablet';
    156         elseif ( is_tttdevice('desktop') )
    157             $classes[] = 'desktop';
     146    if ( is_tttdevice('mobile') )
     147        $classes[] = 'mobile';
     148    elseif ( is_tttdevice('tablet') )
     149        $classes[] = 'tablet';
     150    elseif ( is_tttdevice('desktop') )
     151        $classes[] = 'desktop';
    158152 
    159153    return $classes;
Note: See TracChangeset for help on using the changeset viewer.