Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Since you’re using ver. 2.5.+ I’m not quite sure where this option/setting is placed under the your/new Admin CP. However, you should look for a setting (in my 2.3.1 it’s under ./wp-admin/options-discussion.php) that says something like “Before a comment appears” followed by a check-box for “An administrator must always approve the comment” which needs to be unchecked. First make sure that’s settled in order to determine the next step.

    1. The “search bots” won’t have access to the DB entries unless they are populated within a publicly viewed web page; thus, the comments that await moderation won’t be exposed to the bots or anyone who’s accessing your pages for that matter.

    2. The themes are simply modified PHP code and different CSS styles which determine the look, feel and functionality of a given WP site based on its unique content generated from its DB/MySQL, so all the themes will pretty much have the same identical content, despite the fact that a disables/non-active theme is not publicly accessible.

    I hope that answers your questions.

    Since WP uses its main/index/home-page as index.php file, I would suggest to simply make an “under construction” page and name it index.html and upload it to the root; since index.html supersedes index.php when it comes to loading as INDEX (mostly, and it depends on your server’s config,) anyone who visits the site will see your “under construction” page while the WP’s structure remains intact and you’ll be able to test your WP blog. And once finalized you simply delete the index.html. The only drawback will be to manually type your domainname.com/index.php when accessing or viewing your blog’s home page since clicking on the home page link/button will take you to the /root which will automatically load the index.html.

    Thread Starter visedar

    (@visedar)

    WOW! Once I put the category ID number it worked like magic!

    Thank you so much, Otto42 and Ivovic; greatly appreciated.

    Thread Starter visedar

    (@visedar)

    Thank Ivovic, for your help. You guessed it write, I wanted to do it for a whole category of similar posts. I followed your instructions as well as the “in_category” link, and this is what I came up with:

    <li class=”<?php if ( $comment->comment_author_email == get_the_author_email() ) echo ‘mycomment’; else echo $oddcomment; ?>” id=”comment-<?php comment_ID() ?>”>
    <p style=”margin-bottom:5px;”>
    <?php if ( in_category(‘speacial’) ): ?>
    <img src=”/graphic.gif” border=”0″><p>
    <?php endif; ?>
    By <?php comment_author_link() ?> on ” title=””><?php comment_date(‘M j, Y’) ?> <?php edit_comment_link(‘Edit’,’ | ‘,”); ?></p>
    <?php if ($comment->comment_approved == ‘0’) : ?>
    Your comment is awaiting moderation.
    <?php endif; ?>
    <?php comment_text() ?>

    but it did not work – it entirely removed the IMG from all of the posts as expected but it didn’t include the IMG in the post with the defined category, also tried with the Admin user name jsut to see if it will work, but also did not work :S

    Any additional support will be greatly appreciated.

    And if your (or others) template does not include a defined style for Post (like mine,) you can add a fixed separator within the main index template, which will look something like this depending on your template:

    <?php get_header(); ?>
    <div id=”content”>
    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>
    <div class=”entry”>
    <div class=”post” id=”post-<?php the_ID(); ?>”>
    <h2>” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><?php the_title(); ?></h2>
    <small><?php the_time(‘F jS, Y’) ?> <!– by <?php the_author() ?> –> Posted in <?php the_category(‘, ‘) ?> | <?php edit_post_link(‘Edit’, ”, ‘ | ‘); ?> <?php comments_popup_link(‘No Comments »’, ‘1 Comment »’, ‘% Comments »’); ?></small>
    <?php the_content(‘Read the rest of this entry »’); ?>
    <!– place your separator between –>
    <div style=”border-bottom: 1px solid #333333″></div>
    <!– or –>
    <HR>
    <!– place your separator between –>
    </div>
    </div>

    Is it possible to see the posts’ web page in order to help suggesting the appropriate solution?

Viewing 7 replies - 1 through 7 (of 7 total)