an
groups-icon

Child Theme – modify PHP file

Wait a minute... This content is very very old. We no longer sell or support this theme version. New Topics
  • Version 9
    MAREK ELSNER
    0 points
    Beginner

    Hi,

    I am trying to customize “Business Directory Theme” and I would like to increase number of letters for description on home page in “Popular Category” module. I noticed that I should modify “object-categories.php” in line 118:

    
    if($showdesc){
    $STRING .= '<p>'.substr(strip_tags($category->description),0,70).'</p>';
    }
    

    I would like to make it in proper way, so I create “child theme”, but how to make such PHP modification in that situation ?

    Are such modification “safe” from upgrade point of view ?

    January 7, 2016 at 9:03 am
  • Hemanta Chakladar
    4 points
    Beginner
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    January 7, 2016 at 9:07 am

438

Views

1

Replies