Categories for custom Ads
-
Hello all, great plugin. See what I’ve done:
Inside file: cpt.class:45 I’ve added:
‘taxonomies’ => array(‘category’),Ok, now the plugin haves categories.
Inside file: dfads.class:70 I’ve added:
‘cat’ => ‘-1’,When I try to use:
echo dfads( ‘groups=41&limit=1&orderby=random&cat=1,2,3,4’ );
Nothing happens =( as expected, it’s just show ignoring “cat”.The SQL from function query() on dfads.class:86 is beyond my comprehension. I think inside it is the key in a scenario where “cat” must be setted. Of course we can make a conditional for it (if is set or not) but that’s not the biggest problem.
Can you help guys?
Thanks a lot!
Can you help guys?
The topic ‘Categories for custom Ads’ is closed to new replies.