Viewing 4 replies - 1 through 4 (of 4 total)
  • @TimStannard
    1. Create a new template in your theme folder.
    2. Name it single-ai1ec_event.php
    3. Copy the contents of single.php to single-ai1ec_event.php
    4. Edit single-ai1ec_event.php anyway you like.
    5. Navigate to any event to see your changes

    Thread Starter TimStannard

    (@timstannard)

    Thanks Yani, but I can’t see how that helps.
    What am I editing?
    I’m using the twenty-eleven theme and single.php only contains
    <?php
    /**
    * The Template for displaying all single posts.
    *
    * @package WordPress
    * @subpackage Twenty_Eleven
    * @since Twenty Eleven 1.0
    */

    get_header(); ?>

    <div id=”primary”>
    <div id=”content” role=”main”>

    <?php while ( have_posts() ) : the_post(); ?>

    <nav id=”nav-single”>
    <h3 class=”assistive-text”><?php _e( ‘Post navigation’, ‘twentyeleven’ ); ?></h3>
    <span class=”nav-previous”><?php previous_post_link( ‘%link’, __( ‘<span class=”meta-nav”>←</span> Previous’, ‘twentyeleven’ ) ); ?></span>
    <span class=”nav-next”><?php next_post_link( ‘%link’, __( ‘Next <span class=”meta-nav”>→</span>’, ‘twentyeleven’ ) ); ?></span>
    </nav><!– #nav-single –>

    <?php get_template_part( ‘content’, ‘single’ ); ?>

    <?php comments_template( ”, true ); ?>

    <?php endwhile; // end of the loop. ?>

    </div><!– #content –>
    </div><!– #primary –>

    <?php get_footer(); ?>`

    @TimStannard
    I guess it is difficult to find out what to do if you haven’t done that before. Maybe getting a developer to do that for you is a better choice and it will save you time 🙂

    Thread Starter TimStannard

    (@timstannard)

    I wasn’t interested in saving time, I was interested in learning how to do it. That’s why I chose to ask on the forums.
    Anyway, I’ve got by, by removing the call to comments_template altogether – I wasn’t sure whether that wa safe to do. So thanks for your help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: All-in-One Event Calendar] Remove "Comments are Closed"’ is closed to new replies.