Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: [Resolved] Locating comments.php for editting

@sparkey

Participant

Yep, thats it. I didn’t follow the authors instructions, well until I wanted to edit the comment section it wasn’t necessary, I guess. Below is what the plugin author says:

“If needed: Copy and modified the /theme/activitycomments/ files to your default theme (important to keep the folder activitycomments into the root default theme directory)”

So I added the “activitycomments” folder to my child theme, and I am editting the file “activitycomments/blogactivity-comments.php”

‘

<?php
if ( post_password_required() ) :
echo ‘

‘ . __(‘Password Protected’, ‘buddypress’) . ‘

‘;
echo ‘

‘ . __(‘Enter the password to view comments.’, ‘buddypress’) . ‘

‘;
return;
endif;

if ( is_page() && !have_comments() && !comments_open() && !pings_open() )
return;
?>

<?php printf( __('You must be logged in to post a comment.’, ‘buddypress’), wp_login_url( get_permalink() ) ); ?>

‘

Thanks everybody for the help ;-)

Skip to toolbar