zhintek

Forum Replies Created

Viewing 1 post (of 1 total)
Mar 24, 2016 at 8:27 am
#43144
Member
zhintek
OP

Thank you Shahriar,

now it works. We just modified your code because categories are hidden but div column are displayed.

download-manager/wpdm-functions.php at line 779 replacing:

while($packs->have_posts()) { $packs->the_post();
$pack = (array)$post;
$repeater = “<div class='{$cwd_class} {$cwdsm_class} {$cwdxs_class}’>”.FetchTemplate($template, $pack).”</div>”;
$html .= $repeater;
}

for

while($packs->have_posts()) { $packs->the_post();
$pack = (array)$post;
$catHtml=FetchTemplate($template, $pack);
if (trim($catHtml) <> ”) {
$repeater = “<div class='{$cwd_class} {$cwdsm_class} {$cwdxs_class}’>”.$catHtml.”</div>”;
$html .= $repeater;
}
}

Thank you!

Viewing 1 post (of 1 total)