• Hello, I am using a new theme and the Twitter Connect log-in for comments is not working for me. It worked previously in my old theme and I know the plug-in is still working since I can still log-in through Twitter to get in the dashboard. It just isn’t showing up at all in the comments section. Maybe I am putting the code in the wrong spot?

    This is what I have (I’ll just post the whole section):

    <div id="respond">
    
    <h3><?php comment_form_title(gp_leave_reply, gp_respond); ?></h3>
    
    <div class="cancel-comment-reply"><?php cancel_comment_reply_link(gp_cancel_reply); ?></div>
    
    <?php if(get_option('comment_registration') && !$user_ID) { ?>
    
    <p><?php echo gp_login_to_comment ?></p>
    
    <?php } else { ?>
    
    <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post">
    
    <?php if ($user_ID) { ?>
    
    <p><?php echo gp_logged_in_as ?> <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a> <a href="<?php echo wp_logout_url(get_permalink()); ?>">(<?php echo gp_logout ?>)</a></p>
    
    <?php } else { ?>
    
    <p><div id=”comment-user-details”><?php do_action(‘alt_comment_login’); ?> <input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" <?php if ($req) echo "aria-required='true'"; ?> /> <label for="author"><?php echo gp_name ?> <span class="required"><?php if ($req) echo "*"; ?></span></label></p>
    
    <p><input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="22" tabindex="2" <?php if ($req) echo "aria-required='true'"; ?> /> <label for="email"><?php echo gp_email ?> <span class="required"><?php if ($req) echo "*"; ?></span></label></p>
    
    <p><input type="text" name="url" id="url" value="<?php echo $comment_author_url; ?>" size="22" tabindex="3" /></div> <label for="url"><?php echo gp_website ?></label></p>
    
    <?php } ?>
    
    <p><textarea name="comment" id="comment" cols="5" rows="7" tabindex="4"></textarea></p>
    
    <input name="submit" type="submit" id="submit" tabindex="5" value="<?php echo gp_post ?>" />
    
    <?php comment_id_fields(); ?>
    
    <?php do_action('comment_form', $post->ID); ?>
    
    </form>
    
    <?php } ?>
    
    </div>

    Your help will be greatly appreciated, thank you

  • The topic ‘Simple Twitter Connect for Comments not working’ is closed to new replies.