Support » Plugin: CM Answers » what does the # on the answer ?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    The comment id seems to be missing on the link because on the notification mail for question or answer we have something like that :

    http://www.test.tst/answers/mail-1/#comment-267

    And the link leads us directly to the answer in the page.

    Hi,

    I’m still not sure what you mean … the single.phtml file shows:
    <div class=”cma-answer-date”><?php printf(__(‘Answered On %s’, ‘cm-answers’), $answer[‘date’]); ?> comment_ID; ?>”>#</div>

    Where is comment_ID pulled from? and where it should go to ? Or is it only for the mail.

    Thanks again.

    Hi,

    I have :

    <div class="cma-answer-date"><?php printf(__('Answered On %s', 'cm-answers'), $answer['date']); ?> <a href="#comment-<?php echo $comment->comment_ID; ?>">#</a></div>

    but doesn’t work so I replace it by :

    <div class="cma-answer-date"><?php printf(__('Answered On %s', 'cm-answers'), $answer['date']); ?> <a href="#comment-<?php echo $answer['id']; ?>">#</a></div>

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘what does the # on the answer ?’ is closed to new replies.