• I’m sure it’s out there but I haven’t found the plugin I’m looking for yet.

    Specs: by default posts are put in the Categories indicated during Edit, but not on the front page. Either by vote or by a selection during Edit, the post is promoted to the front page.

    Any suggestions? (It’s a little early in my learning curve to start writing plugins…)

Viewing 5 replies - 1 through 5 (of 5 total)
  • So you’re looking for something similar to what digg.com does?

    Yes. Just hack your loop with a cat conditional. I just wish I knew the details:)

    Thread Starter OpenDNA

    (@opendna)

    Davestinner: yep. Something like digg.com would work fine.

    Scoop (e.g. dailykos.com and kuro5hin.org) has a “promote from diaries” function but I don’t need it to be within a multiblog: Just “promote from category”.

    Root: I’m still out of the loop.

    I am reluctant to advise because I am just getting into it and my first implementation is a bit unstable.

    I think you do this. Just after your loop gets started add

    <?php if ( in_category('3') ) { ?>

    Just before the endwhile else at the end add:
    <?php } ?>

    Adjust cat number to taste. Anything you then want on the front page you allocate to cat 3 for example as well as any other cat you want it in.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Wanted: Promote From Category’ is closed to new replies.