Support forums > Twitter

Personal category [SOLVED]

(1/1)

nikar:
Would like to add Personal category
however would like prevent Ads in Personal category
from being displayed Latest Items view on Main Page
Q. does anyone know how  to achieve this ?

Kind Regards
nik

WEBmods:
Hello,

You would need to change your latest items template in your theme's folder. Something like this would do the trick:


--- Code: ---<?php
if(osc_item_category() == "YOUR_CAT_ID") {
    continue;
}

--- End code ---


Regards.

nikar:
Thanks sooooooooooooo very much . You are brilliant . It worked !

WEBmods:
No problem. :) Please add "SOLVED" to the title of the thread.

Regards.

Navigation

[0] Message Index

Go to full version