Support » Themes and Templates » Replacing "Leave a Comment" with Page Title?!?? HELP!

  • Resolved Scott G.


    Just like the title says ^^^ I’m trying to replace where it says “Leave a Comment” with:

    Light a Candle for “(title of the page)”

    I can’t seem to get the right code in place and it’s pissing me off! Lol!

    Here’s what I’m working with:

    <h3 id="comments-respond"><?php _e('Light a Candle for <?php echo get_the_title(); ?>','gopress') ?></h3>

    This code ^^^ does not display the title of the page though… Just displays “Light a Candle for “

    What am I missing here!??!

    This isn’t doing anything for me either:

    <?php _e('Light a Candle for <?php the_title(); ?>','gopress') ?>

    Any help would be GREATLY appreciated!


Viewing 1 replies (of 1 total)
  • Nevermind I’m an idiot..

    <h3 id="comments-respond"><?php _e('Light a Candle for ','gopress') ?><?php the_title(); ?></h3>

Viewing 1 replies (of 1 total)
  • The topic ‘Replacing "Leave a Comment" with Page Title?!?? HELP!’ is closed to new replies.