[resolved] Kaf or Ryan? Post Id and Cat Id plugs (4 posts)

  1. lokjah
    Posted 10 years ago #

    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:


    and kaf's


    thanks for the help!

    using wp 1.5.2

  2. lokjah
    Posted 10 years ago #

    still tryin to fig this out..

  3. Kafkaesqui

    Posted 10 years ago #

    There's not much you could do to fix this short of rewriting one or the other plugin. So that's what I did. Since I had another bug to kill in it anyways...

    Download R1.1 of Post Templates by Category here:


    Also, looks like the Pastebin site is clearing out entries pretty quick these days. Hmm.

  4. lokjah
    Posted 10 years ago #

    Kaf- Thank You!

Topic Closed

This topic has been closed to new replies.

About this Topic