sithicus
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: .htaccess help!This is what I tried to set it as…
/%year%/%monthnum%/%day%/%postname%/problem. I can’t even access the permilinks sectioni to make a change to this now.. can anybody email what the .htaccess file should look like or what maybe what common problems are when it doesn’t work?
Forum: Fixing WordPress
In reply to: This is the code:sorry for wasting your guys time, i shouldn’t work so late.. i’m obviously brained damaged! thanks for suffering thru that heh.
Forum: Fixing WordPress
In reply to: This is the code:ya that is wha tI was looking for and couldn’t track it down..
https://paste.paste.uni.cc/6870
The code is there..
-Chris
Forum: Fixing WordPress
In reply to: This is the code:any idea of what i might be looking for?
Forum: Installing WordPress
In reply to: .htaccess problem ack.ok.. well wordpress will create teh .htacess file and then after it does nothing works, so that is the error i start getting..
should i cahnge the access after i create it and that will fix it?
Forum: Fixing WordPress
In reply to: This is the code:.. ok… sorry about that:
<div id="content">
<?php if ($posts) : foreach ($posts as $post) : start_wp(); ?>
<div class="post">
<?php require('post.php'); ?>
<?php comments_template(); // Get wp-comments.php template ?>
</div>
<?php endforeach; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
<?php endif; ?>
<p align="center"><?php posts_nav_link() ?></p>
</div>My question is I want to change this so it shows excerts and not the whole content.. but i dont’ see where to edit! can anybody help?
Forum: Fixing WordPress
In reply to: Variables… kind of hard to explain in a title :)Kafkaesqui, thanks i think that should get me started.. i think ??
Forum: Fixing WordPress
In reply to: Variables… kind of hard to explain in a title :)Podz.. i want to show different colors on for the posts and maybe a gravatar like I do for the comments see this example.
https://www.chrisvschris.com/2005/03/18/spelling-not-so-important/
Forum: Fixing WordPress
In reply to: How can I change the word “say” to be a randomyou don’t have to edit witty.php at all you just have to make sure you call the fucntion in the comments.php file in the right place..
Forum: Fixing WordPress
In reply to: How can I change the word “say” to be a randomthat works great:
https://www.chrisvschris.com/2005/03/09/my-christmas-present-to-greenpeace-members/
Thanks for the nice call podz
This is how I addapted it for two authors ??
Then of course make your style sheets different.
<li class=”<?php if ($comment->comment_author_email == “[email protected]”) echo ‘christopher’; else if ($comment->comment_author_email == “[email protected]”) echo ‘christine’; else echo $oddcomment; ?>” id=”comment-<?php comment_ID() ?>”>
btw very nicely done.
can we nest an if this for two authors?
Forum: Themes and Templates
In reply to: Alternating comment coloursI have a slightly different problem. I’m trying to apply different colored blackgrounds to two different authors. One slighly pink and one slightly blue and then everybody else will have something different. Should I just take the my_comment plugin and duplicate it and make like a my_comment_plugin_2 ? Any ideas of how to make this work with more then one author?
Forum: Plugins
In reply to: Author HighlightMore Information:
<?php foreach ($comments as $comment) { ?>
<?php
if ($comment->comment_author_email == ‘[email protected]’) {
echo ‘<img src=”/images/author1.gif” width=”64″ height=”9″>’;
} else if ($comment->comment_author_email == ‘[email protected]’) {
echo ‘<img src=”/images/author2.gif” width=”64″ height=”9″>’;
}
?>
<li id=”comment-<?php comment_ID() ?>”>
<?php if($isByAuthor ) { echo ‘<div class=”authorcomment”>’;} ?>
<?php comment_text() ?>
<cite><?php comment_type(__(‘Comment’), __(‘Trackback’), __(‘Pingback’)); ?> <?php _e(“by”); ?> <?php comment_author_link() ?> — <?php comment_date() ?> @ “><?php comment_time() ?></cite>
<?php if($isByAuthor ) { echo ‘</div>’;} ?>It seems to me this works fine when it comes to calling seperate images and one class=”” but what if I want seperate class’s for each author.. that is what i’m trying to get all