PizzaDave
MemberForum Replies Created
-
Eureka! It works. I want to thank all that have contributed to this thread and helped out. It does finally work. The error was entirely mine. I hate to admit it but I named my child functions.php function.php which is why it did not work. Once I changed it, it works fine.
I should have tested the child theme with something I knew worked but it seemed so simple to just create the file, I did not check it and assumed I had copied it properly. Kind of like trouble shooting a computer that you forgot to plug in.
Thanks again for the help everyone, especially Josh who stuck with me longer than anyone else.
Having the comment form on each post would not be a problem. I could make the form minimal. My main goal with this project is to use uploading the picture for interaction so even just an upload box with a name and short comment box is workable. In fact I want to have the form on each post. I don’t have enough dog pictures to continue posting myself indefinitely. Having others upload their own pictures gives me the content.
I know this would probably work better with a bb but thats too complicated for what I am trying to do.
I actually hoped this would be easier to do. Older versions of WordPress had this built in (I think) but removed it because of slower download times. Maybe I should re-think the project.
No, still nothing.
Is there a way to check the status of $withcomments? Sorry, not familiar with php enough to know the code. My thinking is if the variable isn’t available or being updated, ie, still showing 0 or false, it wouldn’t cause the function to fire.
the only thing in there was what you posted above. I changed it to when it didn’t work.
<?php
function graphene_force_comment(){
if ( is_home() ){
$withcomments = 1; // force comments form and comments to show on front page
comments_template();
}
}
add_action( 'graphene_after_post_content', 'graphene_force_comment' );
?>If it matters, I have “full post” checked, not the excerpts. my page is very basic at this point. http://www.chihuahuapictures.net
Unfortunately it doesnt work. I also inserted ‘graphene_after_post_content ‘ but no joy there either.
I did find the following line in the loop.php which seems to point towards home page posting is
Code:<?php if ((is_home() && !$graphene_settings[‘posts_show_excerpt’]) || is_singular() || (!is_singular() && !is_home() && $graphene_settings[‘archive_full_content’])) : ?>unfortunately I don’t know what to do with it or how to apply it in the child theme.
Unfortunately it does not work. It did put a repeat of a comment under a comment (or above I suppose) that was already showing in the single post area. I need the comments to show up on the home page. I am not using a static page. I’m trying to emulate a facebook wall. (I was just banned from facebook advertising)
Any suggestions?
I did find this exercise helpful in placing a google ad on the page the “correct” way using child themes. Using firebug was also an excellent suggestion.
Ok, with you so far.
By the way thanks in advance for the help. I watched your videos on your website. Very helpful in understanding the power of this theme.
No, I’m fairly new at this. I have been using the theme I downloaded from wordpress.org so it fairly clean except for the plugins I have added.
I tried putting it in the functions.php but it didnt seem to work.
I had also found the code earlier in a forum blog.
Code:<?php
$withcomments = 1;
comments_template();
?>http://wordpress.org/support/topic/how-to-show-comments-on-home-page
which I tested in various places in the loop.php and any place else I could think of but couldn’t get it to work.
I even tested it with “1”, 1, and true but no joy.
I posted here because this was already in the general talk forum
Viewing 9 posts - 1 through 9 (of 9 total)
