Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter achaykiller

    (@achaykiller)

    i finally figured out why.

    it seems that my logout button is causing this. this was the code that caused it:

    <form name="loginform" id="loginform" action="<?php echo wp_logout_url(); ?>" method="post">
                <input class="btnlogged" type="submit" name="wp-submit" id="wp-submit" value="<?php wp_loginout(); ?>" />

    the problem went away when i replaced it with a much simpler <?php wp_loginout(); ?>. not as nifty-looking as the first one, but i’m still working on it. any ideas? ??

    Thread Starter achaykiller

    (@achaykiller)

    i finally figured out why.

    it seems that my logout button is causing this. this was the code that caused it:

    <form name="loginform" id="loginform" action="<?php echo wp_logout_url(); ?>" method="post">
    <input class="btnlogged" type="submit" name="wp-submit" id="wp-submit" value="<?php wp_loginout(); ?>" />

    the problem went away when i replaced it with a much simpler <?php wp_loginout(); ?>. not as nifty-looking as the first one, but i’m still working on it. any ideas? ??

    Thread Starter achaykiller

    (@achaykiller)

    i can still post comments via the dashboard, though.

    Thread Starter achaykiller

    (@achaykiller)

    thank you for that suggestion, esmi! i gave it a try, but i ended up with the same result. still logged out every time i hit the submit button, whether i used admin account or subscriber.

    i compared it with my other working themes, and nothing seems to be off. any other workarounds?

    Thread Starter achaykiller

    (@achaykiller)

    ayt, checked it already. nothing wrong with the plugins, but definitely with my theme! i wonder what did i missed. here’s my single.php code:

    <?php include("top.php"); ?>
    <div id="content">
    <?php include("sideryt.php"); ?>
    <div class="blogposts">
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <div class="title_single"><?php the_title(); ?>
    <span class="single_edit"><?php edit_post_link('(Edit this Post?)'); ?></span></div>
    <div class="posty_single"><?php the_content(); ?></div>
    <?php endwhile; ?>
    <div class="single_comments"><?php comments_template(); ?></div>
    <?php else: ?>
    <div class="title"><?php _e('No Content.') ?></div>
    <?php endif; ?>
    </div>
    <?php include("footer.php"); ?>
Viewing 5 replies - 1 through 5 (of 5 total)