Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Not sure of the best way to do this. But there are a number of less ambitious ways than you have tried.

    I would delete the duplicate comment template, and instead you make use of the following piece of code. I haven’t tested it, but it should work. Change the category IDs in the code to match the categories you want to customize the instructions for, then put it in your theme.

    //if the category ID is 1 or 2 do something
    <?php if ( in_category(1,2) ) { ?>
    //if the category ID is 1
    <?php if ( in_category(1) ) { ?>
    //Show the following text
    <p>This is your instructions for posting comments.</p>
    //if the category ID is not 1, it must be 2
    <?php } else { ?>
    //so show this text
    <p>This is your instructions for posting comments.</p>
    <?php } ?>
    //if the category ID is not 1 or 2
    <?php } else { ?>
    //show the default text
    <p>This is your defualt instructions for posting comments.</p>
    <?php } ?>

    Forum: Your WordPress
    In reply to: New site
    Thread Starter dmccarey

    (@dmccarey)

    Yes. It’s a customized version of the content gallery plugin.

    Just a thought. If you’re not using a swfobject.js script in your header.php, you might want to add one. Find out more here.

    Forum: Your WordPress
    In reply to: New site
    Thread Starter dmccarey

    (@dmccarey)

    Thanks. We’ll consider removing/changing the background image.

    Forum: Your WordPress
    In reply to: New site
    Thread Starter dmccarey

    (@dmccarey)

    Hi Mikey, thanks for the feedback. We appreciate it.

Viewing 5 replies - 1 through 5 (of 5 total)