• Resolved lokjah

    (@lokjah)


    Im havin a bit of a tussle here. I’m using ryans “custom post templates” plug for my single post id templates. and I’m using Kaf’s “post templates by category” plug for category id posts.

    Problem is when using Kafs with $template_name =’category’;

    or $template_name =’single-cat’;

    I lose my “single-7.php” which is set up for my post id #7.

    post id 7 is in category 2, for which I have a category-2.php template for all other posts in that category.

    how do I get my single post id templates back?

    I tried deactivating Kafs, and then trying to use the custom checks in ryans, but “if ( in_category(‘3’)” throws errors, if I change the “in” to “is_category” I dont get errors but it doesnt work.

    this is the code i’m using for the checks with ryans:

    http://pastebin.com/340339

    and kaf’s

    http://pastebin.com/340340

    thanks for the help!

    using wp 1.5.2

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Kaf or Ryan? Post Id and Cat Id plugs’ is closed to new replies.