Forum Replies Created
-
I am very confused with the whole childs theme thing. I created the files – styles.css / functions.php / header.php
I added my adjustments and it didn’t work. After I activated it, it really messed things up.
Right here where it says
@import url(“../graphene/style.css”);
I need to change each of those to…
@import url(“../graphene/functions.php”);
@import url(“../graphene/header.php”);
Right??
Also when I am removing something and adding something else in (like removing the RSS Image Icon and replacing it with a custom one). Do I need to remove the code from the original header.php file and then make my adjustments in the child’s theme or will the child’s theme override it automatically??
Oh gosh! I guess that was it. I activated the plugin and re-added the code and it worked! Any idea how I move the comment numbers to the right instead of the left??? 🙂
What?? Sorry you’ve been so helpful but I’m confused. It’s that what I posted? Remove echo so it looks like this??
<?php gtcn_comment_numbering($comment->comment_ID, $args); ?>
So all together it would be…
if (!function_exists(‘graphene_comment’)) :
function graphene_comment($comment, $args, $depth) {
$GLOBALS = $comment; ?>
<li id=”comment-<?php comment_ID(); ?>” <?php comment_class(‘clearfix’); ?>>
<?php gtcn_comment_numbering($comment->comment_ID, $args); ?>
Just tried that. It didn’t work. It says – Fatal error: Call to undefined function gtcn_comment_numbering() in /home/marvel8/public_html/wp-content/themes/graphene/functions.php on line 427
I put <?php echo gtcn_comment_numbering($comment->comment_ID, $args); ?> after <li id=”comment-<?php comment_ID(); ?>” <?php comment_class(‘clearfix’); ?>> and it didn’t work.
Was I supposed to change the code some first??
I tried using Greg’s Threaded Comment Numbering Plugin
http://counsellingresource.com/features/2009/01/27/threaded-comment-numbering-plugin-for-wordpress/
It says…
*Advanced Usage: Calling WordPress Plugin Functions Directly*
If your theme already uses a custom callback function, it probably lives in functions.php, and you will see the name of your callback function specified in the call to wp_list_comments() in your comments.php file. You can modify the callback function to incorporate comment numbering wherever you would like it to appear by just adding the following: <?php echo gtcn_comment_numbering($comment->comment_ID, $args); ?>.
And I tried doing that but I wasn’t really sure where to put it and when I did it I crashed my whole site. 🙁 I put it on line 421 in the functions.php
Wow that was so easy! I love plugins!! And you!! 🙂 Thanks so much!
Ok I figured out how to change the text where it says 6 comments right above the start of the comments. And when you click on add one, it jumps to the form!!
Now I just need numbers…
One more thing…
Now I was wondering how to show more than three excerpt posts at a time?? I have my Settings>Reading set to display the 3 most recent posts.
I would like to keep my front page showing 3 posts but change my pages to show about 6 excerpts. Any advice??
Oh good to know! Thanks! 🙂
I added the <?php the_excerpt(); ?> back in the in functions.php and then added the
.slider_post img.tfe{
display:none;
}
in the css like you said and it worked perfectly!! I had adjusted the slider height though since it wasn’t showing the excerpts and I was wondering what the original height was so I could change it back?? It was about 250px right??
