zhintek

Forum Replies Created

Viewing 1 post (of 1 total)
in reply to: Hide category by user #43144

zhintek
Member

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)