Support » Themes and Templates » Having to Log Out To Add Comment in the MX4 Theme

  • If I respond to a comment made to a post-I am using the MX4 Theme-I have to log out completely, fill in my information then submit the comment. If I don’t, I get this error message: Please fill in the name, email and comment fields. I am the admin of this WP install yet I have to completely log out? Any help would be appreciated.

Viewing 4 replies - 1 through 4 (of 4 total)
  • did you mess around with the code any since you installed it? I installed it for my site and i had no problems with it.

    Not at all. The only changes I made were to the sidebar to add my links and to the header file to replace my file names for the graphics. Other than this, I’ve not touched any other files.

    under site admin > users > your profile, did you fill out the e-mail address and the rest of the fields….

    to be honest i am not sure what your problem could be. Im just tryin to come up with ideas, someone else may know whats wrong with it.

    do you have this problem with any other themes?

    I had to remove these lines in order for this to work without the admin of the site having to log out before commenting:

    <?php if ( $user_ID ) : ?>

    Logged in as /wp-admin/profile.php”><?php echo $user_identity; ?>. /wp-login.php?action=logout” title=”<?php _e(‘Log out of this account’) ?>”>Logout »

    <?php else : ?>

    And at the bottom of the template:

    <?php endif; // If registration required and not logged in ?>

    Since this theme is based on the Kubric theme I don’t understand since I briefly used Kubric and never had any trouble. For some reason if the admin was logged in it would not show the name/email fields-it just showed you were logged in and could log out. Strangely enough I’m not that great with php but I managed to figure this out! So if anyone else has this issue-removing these lines worked for me. And thanks for your help!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Having to Log Out To Add Comment in the MX4 Theme’ is closed to new replies.