Support » Fixing WordPress » Differet comments in differet pages

  • Example. I have two pages namet Page1 and Page2, and i want to make Page1 commenting title “Leave a comment” wich is default, and Page2 i want to change that leave a comment to leave a story. Can it be done??

Viewing 1 replies (of 1 total)
  • esmi


    Forum Moderator

    Yes- by editing your theme’s comments.php template file, locating the cirrent “Leave a comment” line and replacing it with something like:

    <?php if ( is_page ('Page2') ) $c_text = 'Leave a story';
    else $c_text ='Leave a comment';?>
    <a href="#respond"><?php echo $c_text;?></a>
Viewing 1 replies (of 1 total)
  • The topic ‘Differet comments in differet pages’ is closed to new replies.