Plugin Directory

Changeset 1516159


Ignore:
Timestamp:
10/16/2016 11:08:45 PM (9 years ago)
Author:
sageshilling
Message:

update conditionals

Location:
likecheese
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • likecheese/tags/2.0/like-cheese.php

    r1516119 r1516159  
    6060                                            function ecs_owp_content($content) {
    6161                                            //single post and main query or Default homepage or static homepage or blog page
    62                                             if ( (is_single() && is_main_query()) || (is_front_page() && is_home()) || is_front_page() || is_home() ) {
     62                                            //if ( (is_single() && is_main_query()) || (is_front_page() && is_home()) || is_front_page() || is_home() ) {
    6363                                                   
    6464                                                    //$pos = strpos($newstring, 'a', 1);  skip first a
     
    170170                                                }
    171171                                                return $finalstring.$checkstring;
    172                                                 }//if blog, page, post
     172                                                //}//if blog, page, post
    173173                                            }
    174174
  • likecheese/trunk/like-cheese.php

    r1516119 r1516159  
    6060                                            function ecs_owp_content($content) {
    6161                                            //single post and main query or Default homepage or static homepage or blog page
    62                                             if ( (is_single() && is_main_query()) || (is_front_page() && is_home()) || is_front_page() || is_home() ) {
     62                                            //if ( (is_single() && is_main_query()) || (is_front_page() && is_home()) || is_front_page() || is_home() ) {
    6363                                                   
    6464                                                    //$pos = strpos($newstring, 'a', 1);  skip first a
     
    170170                                                }
    171171                                                return $finalstring.$checkstring;
    172                                                 }//if blog, page, post
     172                                                //}//if blog, page, post
    173173                                            }
    174174
Note: See TracChangeset for help on using the changeset viewer.