Home Forums Tutorials and Hints from Users approved comments not showing on blog

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #66020
    Pangaea
    Participant

    Hi, I use 2010 Weaver (I know, an oldie) at http://www.ourpangaea.net.  Recently all my approved comments have disappeared from the bottom of each blog.  I went on the WordPress forum and had this reply from someone:

    Change the following line in your functions.php file.

    From:

    function twentyten_comment( $comment, $args, $depth ) {
    	$GLOBALS['comment'] = $comment;
    	switch ( $comment->comment_type ) :
    		case '' :

    To:

    function twentyten_comment( $comment, $args, $depth ) {
    	$GLOBALS['comment'] = $comment;
    	switch ( $comment->comment_type ) :
    		case 'comment' :

    So ignore everything except the last line where case '' : is changed to case 'comment' :

    So two questions – first, will this work?  Because I’m not a programmer and I can’t start reliably changing code.  Second, if so, where can I find the functions.php so I can try to make these changes?

    Sorry for the basic questions but this is where I’m at.  Can you help?

    Thanks!

     

     

    #66021
    Weaver
    Keymaster

    I have no idea if that would fix anything. I literally don’t even have an archive copy of 2010 Weaver anymore, if you can believe that.

    Using a 10 year old theme that is obsolete, and is actually not very safe. I’m surprised it works at all given that it isn’t likely totally compatible with the PHP versions currently supported by WordPress.

    And there shouldn’t be a function named twentyten_comment, but I guess it could be.

    You could update to Weaver Xtreme and use the Cosmic Late subtheme, and not be really far off from your current site.

    You’d likely spend a lot less time getting that to work than it would take to try to patch up a very very very old theme, and your site would get a bit of a refresh.

    I don’t know if your menu, header image, and widget definitions would propagate or not. If you used the default menu setup with the options available for each page, it would be the same. And your widgets would not be that hard to duplicate by hand.

    It is not that hard to figure out the Customizer, and you can pretty much do a what you see is what you get approach to tweak your site.

    One of the great things about WordPress is that your content will still be there – no matter what theme you use, actually.

     

    #66054
    Weaver
    Keymaster

    @Pangaea:

    Your response did not display, but was emailed to me so I saw it. I sent you a regular email with some information.

     

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.