• `Hi everyone,

    I customized a theme that was originally from one called Citrus (https://www.nikynik.com/templates/) and it seems like the comments are disabled on all older posts EXCEPT the first post. If you try to comment on an older entry, you get a pop up saying that you don’t have permission to post-comment.php. I’m not a programmer and only a designer so I have no idea how to remove this so anyone can comment on any post. I don’t think I have a plugin that is doing this.

    Can someone please please help me? Thanks in advance!!

    Here is the link to my blog: https://twentyfourcarat.net/

Viewing 12 replies - 1 through 12 (of 12 total)
  • I clicked on every comment-link at page 1 and 2 w/o any errors or popups.

    Thread Starter ko0ty

    (@ko0ty)

    That’s weird, I keep on getting this pop up:
    https://twentyfourcarat.net/nocmnts.jpg

    Only the first entry [on each page] works as that’s the latest entry.

    Ok, i see. There are some comments closed and some open. Maybe you set the to private or closed the comments in your admin panel.

    Thread Starter ko0ty

    (@ko0ty)

    Yeah, some of the comments are closed, but even if you try to comment on an entry that has it’s comments opened, you get that error pop up.

    I didn’t have this problem until I switched over to this theme. I’m not totally experienced with CSS and coding so I modified a downloaded theme that was closest to what I had in mind for my layout instead of starting one from scratch or else that would’ve taken me years!! =P

    I clicked on the comment link of “Kinda refreshing, eh?” in IE, FF and Opera without getting any popups or errors.

    Try to clear your cache by hitting CTRL + F5

    Thread Starter ko0ty

    (@ko0ty)

    Oops sorry I should’ve been clearer! The pop only appears when you press “submit comment.” Or is that what you already did? Thanks

    Ok, now i have the same error. Maybe you post your code of single.php here?

    Thread Starter ko0ty

    (@ko0ty)

    Single.php:

    <?php if (isset($_GET[‘ajax’]) && $_GET[‘s’]) { ?>
    <?php
    // You might want to show fewer results than the standard per-page number
    $max_results = 6;
    ?>
    <h3><?php _e(‘Search Results’,’citrus’) ?></h3>
    <?php if (have_posts()) : $i = 0; ?>

    <p>“><?php _e(‘Get More Details in the Full View…’,’citrus’) ?></p>

    <?php else : ?>
    <p><?php _e(‘Sorry, nothing matched your search.’,’citrus’) ?></p>
    <p> </p>
    <?php endif; ?>

    <?php } else { ?>
    <?php get_header(); ?>

    <div id=”single” class=”widecolumn”>


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

    <div class=”post” id=”post-<?php the_ID(); ?>”>
    <h2 class=”title”>” rel=”bookmark” title=”<?php _e(‘Permanent Link to’,’citrus’) ?> <?php the_title(); ?>”><?php the_title(); ?></h2>

    <div class=”entrytext”>
    <?php the_content(“<span class=\”continue\”>” . __(‘Continue reading’,’citrus’) . ” ‘” . the_title(”, ”, false) . “‘</span>”); ?>
    <?php link_pages(‘<p>Pages: ‘, ‘</p>’, ‘number’); ?>
    </div>
    </div>

    <?php if (function_exists(‘paged_comments_template’)) paged_comments_template(); else comments_template(); ?>

    <?php endwhile; else: ?>

    <p><?php _e(‘Sorry, no posts matched your criteria’,’citrus’) ?>.</p>

    <?php endif; ?>

    </div>

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>
    <?php } ?>

    You’ve forgotten to put it into the code-tags! Can’t find any problems in yout index.php, maybe there problem is in another file :\

    Thread Starter ko0ty

    (@ko0ty)

    If you go to this website and download the “CITRUS” theme, you should see all the files. There are a lot of them! I didn’t modify anything but the CSS and the header and index page.
    https://www.nikynik.com/templates/

    Thanks in advance for all your help!

    Hm, i don’t get it. Why do you use this theme, of you change the whole design of it? I activated it and it looks like this:

    https://img-up.net/img/moepc0mGQdS.jpg

    Just write Nikynik an e-mail with your bugs, he will fix it for you i tink.

    Thread Starter ko0ty

    (@ko0ty)

    Yep, I took his whole theme and modified the CSS, I’m not a programmer like I said. =D It would take me much longer to start one from scratch.

    I hope he does.. I commented on his page but he didn’t reply. =(

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Theme disabled comments except on first post’ is closed to new replies.