Camen Design Forum

Get permanent link, post autor and post title


Hello everyone,

I am trying to implement sharing buttons in NNF. My question is. How to get permanent link and post title in NNF?

I tried this code:

<!-- Twitter -->
<a href="<?php echo $FORUM_URL.url (PATH_URL, $file) ?>&text=<?php echo $TITLE ?>&via=<?php echo $NAME ?>" target="_blank" rel="noopener" class="share-btn twitter">
<div class="spritetwitter"></div>

*Permanent link*: $FORUM_URL.url (PATH_URL, $file)
*Post title*: $TITLE
*Autor*: $NAME

any suggestions?


(Leave this as-is, it’s a trap!)

Only the original author or a moderator can append to this post.

Pro tip: Use markup to add links, quotes and more.

Your friendly neighbourhood moderators: Kroc, Impressed, Martijn