ThemeShaper Forums » Power Blog

[closed]

How do I edit the comments code

(6 posts)
  • Started 11 years ago by peterpann2004
  • Latest reply from Uncle GroOve
  1. peterpann2004
    Member

    I want to edit the comments code and am not sure how to do this in the functions file. Any help would be appreciated.

    Posted 11 years ago #
  2. Hi,

    what would you like to change?

    Chris

    Posted 11 years ago #
  3. peterpann2004
    Member

    I need to add this <?php if (function_exists('gravbox')) gravbox(); ?> to the code

    Posted 11 years ago #
  4. .. need to check this later today.

    Chris

    Posted 11 years ago #
  5. This would be something like this in your child theme's functions.php:

    function my_gravbox() {
    
    	if (function_exists('gravbox')) gravbox();
    
    }
    add_action('comment_form', 'my_gravbox');
    Posted 11 years ago #
  6. Uncle GroOve
    Member

    Hi everyone - Pls excuse if I hijack (partially) the thread.
    What should I do if I wanted the input box to appear always at the top of the comment queue?
    I'd like to use the comments feature to do a sort of guest book - but forcing a user to have to scroll to the end of the posted comments doesn't seem very elegant...

    Kind regards

    Paul

    Posted 11 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.